Request Case Data for User

Scenario: Service + Commerce

For this example to work as it’s described, C360 Data Manager must have these configurations.

  • Data Sources: You must have connected the org you are developing in and the data source you want to query to Customer 360 Data Manager.
  • Mapping Version: You must have created a mapping version.
  • Mappings: You must have accepted the default mappings for two orgs or mapped the equivalent fields used in the example.

For this example to work as it’s described, the org you’re developing in must have these configurations.

  • Named Credential The DFS Named credential must be configured.
Resource
base url/dfs/v3.0/mds%2Fstmfp%2FMDS05pBm3yQNwbz/v19/Case?$select=CaseNumber,ClosedDateTime,CreatedDate,Description,ExternalRecordId,Id,LastModifiedDate,Subject,SystemModstamp&$expand=CasePriorityId($select=CreatedDate,Id,LastModifiedDate,Name,SystemModstamp),CaseStatusId($select=CreatedDate,Id,LastModifiedDate,Name,SystemModstamp),CaseTypeId($select=CreatedDate,Id,LastModifiedDate,Name,SystemModstamp)&$filter=ExternalRecordId eq 'GPID-002'&$orderby=CaseNumber
HTTP method
GET
Request parameters
dfs_api_version
DFS version 3.0
metadata_repository_key
Unique identifier for a data source mapping version.
metadata_version
Mapping version name. Replace this with your own mapping version in the example.
Code example
This returns the cases associated with an Individual across all mapped data sources.
Returns
Returns the following data.