Get a list of seeded and custom mappings
get
/api/{version}/mapping/list
Versions Supported:
v4
Request
Query Parameters
-
mapmode(required): string
-
maptype(required): string
Map type can be Export or Enrich.
-
objecttype(required): string
Specify type of object; for example, company or contact.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml; charset=UTF-8
- application/json; charset=UTF-8
200 Response
Success
Nested Schema : Mapping
Type:
Show Source
object
-
createdBy: integer
(int64)
-
createdOn: object
createdOn
-
editable: string
-
hasCompanyAttributes: string
-
isdefault: boolean
-
mapAttribute: array
mapAttribute
-
mapDesc: string
-
mapId: integer
(int64)
-
mapMode: string
-
mapName: string
-
mapType: string
-
modifiedBy: integer
(int64)
-
modifiedOn: object
modifiedOn
-
objectType: string
Nested Schema : createdOn
Type:
object
Nested Schema : modifiedOn
Type:
object
Nested Schema : MappingAttributes
Type:
Show Source
object
-
active: string
-
daasAttributeDesc: string
-
daasAttributeDisp: string
-
daasAttributeId: integer
(int64)
-
daasAttributeMsgKey: string
-
daasAttributeName: string
-
daasAttributeType: string
-
daasObjectName: string
-
enrichRuleName: string
-
groups: integer
(int64)
-
outputHeaderName: string
-
sortOrder: integer
(int64)
-
sourceArributeType: string
-
sourceAttributeDisp: string
-
sourceAttributeId: integer
(int64)
-
sourceAttributeMsgKey: string
-
sourceAttributeName: string
-
sourceAttributeType: string
-
sourceObjectName: string
-
targetArributeType: string
-
targetAttributeDisp: string
-
targetAttributeDisplayName: string
-
targetAttributeId: integer
(int64)
-
targetAttributeMsgKey: string
-
targetAttributeName: string
-
targetAttributeType: string
-
targetObjectName: string
404 Response
Requested resource could not be found.
500 Response
An unexpected error occurred during request.
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