Get Input Mapping
This API allows the managed package to build UI and construct search queries.
The input mappings allow the managed package to build UI and construct search queries. The
response of this API contains the Salesforce fields of the main objects and the fields of the
related object with relationship, type, and RecordTypeId
.
Request
GET {SbcApiUrl}/{tenant}/{profile}/inputMappings
Type | Name | Required | Description |
---|---|---|---|
Headers |
Authorization |
Yes | |
Path |
SbcApiUrl |
Yes | SBC service URL |
tenant |
Yes | Tenant ID | |
profile |
Yes | Profile name | |
Query |
sObject |
Yes | sObject type |
recordTypeId |
no |
Request Example
https://idev-01-sfdc-sbc-api.reltio.com/account360/profileName/inputMappings?sObject=Account&recordTypeId=123600000CiouYYu
Response Example
{
"sfdcObject": {
"name": "Account",
"recordType": {
"id": "0122p000000ByMJKS"
},
"fields": [
"Name",
"Website",
"Phone",
"Fax"
],
"relatedObjects": [
{
"sfdcObject": {
"name": "vv_adr__Address_vod__c",
"recordType": {
"id": "0122p000000ByMEAA0"
},
"relationshipName": "vv_adr__Address_vod__r",
"fields": [
"Name",
"vv_adr__City_vod__c",
"vv_adr__Country_vod__c",
"vv_adr__State_vod__c",
"vv_adr__Zip_vod__c"
]
}
}
]
}
}