MFG Salesforce Case System API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
createCaseRequest | |
create-case-success-header-response | |
create-case-success-response | |
getCaseListResponse | |
sfdc-get-case |
createCaseRequest
Source:
./src/main/resources/dwl/createCaseRequest.dwl
Mapping Tables
Create Case mapping.
Request Field | CIM Source field | Description of source field |
---|---|---|
Subject | subject | subject of the case |
Priority | priority | priority of the case |
Description | description | Description of the case |
Status | status | Status of the case |
ContactId | sfdc.contactId | Contact Id |
create-case-success-header-response
Source:
./src/main/resources/dwl/create-case-success-header-response.dwl
create-case-success-response
Source:
./src/main/resources/dwl/create-case-success-response.dwl
getCaseListResponse
Source:
./src/main/resources/dwl/getCaseListResponse.dwl
Variables
var s
Maps Salesforce case record to output format
Mapping Tables
Maps Salesforce case record to output format
Output | Salesforce | Description | ||
---|---|---|---|---|
caseId | Id | Unique Id of the case created in Salesforce | ||
isDeleted | IsDeleted | Set to true if the object has been moved to the Recycle Bin | false otherwise | |
caseNumber | CaseNumber | Unique number assigned to the case; numbers start at 1000 and are read-only | ||
assetId | AssetId | Asset Id of the case | ||
parentId | ParentId | The ID of the parent case in the hierarchy | ||
caseType | Type | Type of case | for example | question or problem |
status | Status | Status of a case | for example | open or closed |
subject | Subject | Brief description of the customer’s question or feedback | ||
priority | Priority | Urgency of a case | ||
description | Description | A text description of the case | ||
isClosed | IsClosed | Indicator to determine whether case is open or closed | ||
closeDate | ClosedDate | Close date of the case | ||
isEscalated | IsEscalated | Indicates whether the case has been escalated (true) or not | ||
ownerId | OwnerId | ID of the contact who owns the case | ||
createDate | CreatedDate | Case creation timestamp | ||
createdById | CreatedById | Identifier of the case creator | ||
contactId | ContactId | Contact Id | ||
reporterName | ReporterName__c | Name of the reporter | ||
lastModifiedDate | LastModifiedDate | Last modified date time of the date | ||
lastModifiedById | LastModifiedById | Id of who last changed a case | ||
systemModStamp | SystemModstamp | Incident Creation Field | ||
auditInfo.createdBy | CreatedById | CreatedBy Id | ||
auditInfo.updatedBy | LastModifiedById | UpdatedBy Id | ||
auditInfo.updatedDate | LastModifiedDate | Updated Date | ||
auditInfo.createdDate | CreatedDate | Created Date |
sfdc-get-case
Source:
./src/main/resources/dwl/sfdc-get-case.dwl
Mapping Tables
Maps Salesforce case record to output format
Output | Salesforce | Description | ||
---|---|---|---|---|
caseId | Id | Unique Id of the case created in Salesforce | ||
isDeleted | IsDeleted | Set to true if the object has been moved to the Recycle Bin | false otherwise | |
caseNumber | CaseNumber | Unique number assigned to the case; numbers start at 1000 and are read-only | ||
assetId | AssetId | Asset Id of the case | ||
parentId | ParentId | The ID of the parent case in the hierarchy | ||
caseType | Type | Type of case | for example | question or problem |
status | Status | Status of a case | for example | open or closed |
subject | Subject | Brief description of the customer’s question or feedback | ||
priority | Priority | Urgency of a case | ||
description | Description | A text description of the case | ||
isClosed | IsClosed | Indicator to determine whether case is open or closed | ||
closeDate | ClosedDate | Close date of the case | ||
isEscalated | IsEscalated | Indicates whether the case has been escalated (true) or not | ||
ownerId | OwnerId | ID of the contact who owns the case | ||
contactId | ContactId | Contact Id | ||
reporterName | ReporterName__c | Name of the reporter | ||
createDate | CreatedDate | Case creation timestamp | ||
createdById | CreatedById | Identifier of the case creator | ||
lastModifiedDate | LastModifiedDate | Last modified date time of the date | ||
lastModifiedById | LastModifiedById | Id of who last changed a case | ||
systemModStamp | SystemModstamp | Incident Creation Field | ||
auditInfo.createdBy | CreatedById | CreatedBy Id | ||
auditInfo.updatedBy | LastModifiedById | UpdatedBy Id | ||
auditInfo.updatedDate | LastModifiedDate | Updated Date | ||
auditInfo.createdDate | CreatedDate | Created Date |