Get a list of seeded and custom mappings

get

/api/{version}/mapping/list

Versions Supported:

v4

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
list of mappings
Show Source
Nested Schema : mapping
Type: array
Show Source
Nested Schema : mappings
Type: array
Show Source
Nested Schema : Mapping
Type: object
Show Source
Nested Schema : createdOn
Type: object
Nested Schema : mapAttribute
Type: array
Show Source
Nested Schema : modifiedOn
Type: object
Nested Schema : MappingAttributes
Type: object
Show Source

404 Response

Requested resource could not be found.

500 Response

An unexpected error occurred during request.
Back to Top

Examples

Example Requests:

/api/v4/mapping/list?objecttype=COMPANY&maptype=enrich
/api/v4/mapping/list?sorttype=CONTACT&maptype=enrich
/api/v4/mapping/list?objecttype=COMPANY&maptype=export
/api/v4/mapping/list?sorttype=CONTACT&maptype=export
/api/v4/mapping/list?sorttype=CONTACT&maptype=export&mapmode=MARKETING_CLOUD

Example Output:

{
"mappings": [{
"createdBy": "0",
"createdOn": "2014-03-21 09:36:39.632337",
"editable": "N",
"mapDesc": "SalesCloudCompanyExport",
"mapId": "10000",
"mapMode": "CRM",
"mapName": "SalesCloudCompanyExport",
"mapType": "EXPORT",
"modifiedBy": "0",
"modifiedOn": "",
"objectType": "COMPANY"
}, {
"createdBy": "0",
"createdOn": "2014-03-21 09:36:39.642353",
"editable": "N",
"mapDesc": "CompanyExport",
"mapId": "10004",
"mapMode": "GENERIC",
"mapName": "CompanyExport",
"mapType": "EXPORT",
"modifiedBy": "0",
"modifiedOn": "",
"objectType": "COMPANY"
}]
}

Error Response Details:

{"errorMessage": "DCS-1 : The version of the service is not supported. Action: Provide the supported version for accessing the service." }
Back to Top