---
category: [Platform and Product Extensions/Workday Extend, Platform and Product Extensions, Administration & Integrations, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Integration]
keyword: [Extend, Presentation Components, UI components]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Mock Data Configuration
layout: subsection
---

<a id="section_N10021_N1001E_N10001x"></a>
Mock data configurations contain mappings of endpoints to mock responses. They're located in the <b>Testing</b> section of App Builder.

## <a id="section_N10021_N1001E_N10001"></a>Mock Data Configuration Example

```
{
  "mappings": [
    {
      "location": {
        "pmdId": "page1",
        "endPointName": "inboundEP"
      },
      "mockId": "mockA"
    },
    {
      "location": {
        "podId": "pod1",
        "endPointName": "outboundEP"
      },
      "mockId": "mockB"
    }
  ],
   "attributes" : {
      "myAttribute1" : "some string",
      "myAttribute2" : 123
  }  
}
```

## <a id="section_bg4_cgj_rvb"></a>Attributes

-   <b>mappings</b>

    Data type: List of maps

    The list of mappings to associate endpoints with mock responses.

    -   <b>location</b>

        Data type: `EndPointLocation` object

        (Required) The location of the endpoint for which to return the mock response. The location must be unique across all mock data configuration files.

        -   <b>endPointName</b>

            Data type: string

            (Required) The name of the endpoint to return a mock data response for.

        -   <b>pmdId</b>

            Data type: string

            The ID of the PMD that references the endpoint. If the endpoint is referenced in a pod, `pmdId` is the ID of the PMD that invokes the pod.

        -   <b>podId</b>

            Data type: string

            The ID of the pod that references the endpoint.


    -   <b>mockId</b>

        Data type: string

        (Required) The ID of the mock response. You must define a mock data response with this ID in a mock data response file.


-   <b>attributes</b>

    Data type: map

    A map of attribute name/value pairs.

    For details about configuring app attributes in a mock data configuration, see "Configuring Untenanted App Attributes" in [Mock Data](/wcp_docs/fyx1669849518693.html).



### Related Information

[Mock Data](/wcp_docs/fyx1669849518693.html)

[Reference: Mock Data Responses](/wcp_docs/rtn1669749530217.html)

