Accelerate the Value of Data

Mapping Configuration - Get Tenant Mapping

This API returns the mapping of the specified tenant profile.

Request

Operation Endpoint:

GET {SFDCConnectorURL}/configuration/{tenantId}/{profileName}/mapping
Table 1. Parameters
Parameter Required Description
Headers Authorization Yes Access Token in format "Bearer <accessToken>" (see details in Authentication API)
Content-Type Yes Must be "Content-Type: application/json"
Query tenantId Yes Tenant ID
Query profileName Yes Name of the Profile

Response

Success: 200 status:
[
  {
    "description": "Organization",
    "isActive": true,
    "sfdcSource": "configuration/sources/Salesforce",
    "sobject": {
      "type": "Account"
    },
    "reltioObjectType": "configuration/entityTypes/Organization",
    "to_salesforce": {
      "attributeMapping": [
        {
          "sfdcAttrName": "Name",
          "value": "configuration/entityTypes/Organization/attributes/Name"
        },
        {
          "sfdcAttrName": "Website",
          "value": "configuration/entityTypes/Organization/attributes/WebsiteURL"
        },
        {
          "sfdcAttrName": "Phone",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Phone).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        },
        {
          "sfdcAttrName": "Fax",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Fax).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        }
      ],
      "relatedObjects": [
        {
          "sobject": {
            "type": "vv_adr__Address_vod__c",
            "recordTypeId": "0122p000000ByMEAA0"
          },
          "rootUri": "configuration/entityTypes/Organization/attributes/Location",
          "relationshipName": "vv_adr__Address_vod__r",
          "attributeMapping": [
            {
              "sfdcAttrName": "Name",
              "value": "configuration/entityTypes/Organization/attributes/Location/attributes/AddressLine1"
            },
            {
              "sfdcAttrName": "vv_adr__City_vod__c",
              "value": "configuration/entityTypes/Organization/attributes/Location/attributes/City"
            },
            {
              "sfdcAttrName": "vv_adr__Country_vod__c",
              "value": "configuration/entityTypes/Organization/attributes/Location/attributes/Country"
            },
            {
              "sfdcAttrName": "vv_adr__State_vod__c",
              "value": "configuration/entityTypes/Organization/attributes/Location/attributes/StateProvince"
            },
            {
              "sfdcAttrName": "vv_adr__Zip_vod__c",
              "value": "=source(configuration/entityTypes/Organization/attributes/Location/attributes/Zip/attributes/PostalCode)"
            }
          ]
        }
      ]
    },
    "to_reltio": {
      "attributeMapping": [
        {
          "uri": "configuration/entityTypes/Organization/attributes/Location",
          "sobject": {
            "type": "vv_adr__Address_vod__c",
            "recordTypeId": "0122p000000ByMEAA0"
          },
          "value": [
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Location/attributes/AddressLine1",
                  "value": "Name"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Location/attributes/City",
                  "value": "vv_adr__City_vod__c"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Location/attributes/Country",
                  "value": "vv_adr__Country_vod__c"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Location/attributes/StateProvince",
                  "value": "vv_adr__State_vod__c"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Location/attributes/Zip",
                  "value": [
                    {
                      "attributeMapping": [
                        {
                          "uri": "configuration/entityTypes/Organization/attributes/Location/attributes/Zip/attributes/PostalCode",
                          "value": "vv_adr__Zip_vod__c"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "uri": "configuration/entityTypes/Organization/attributes/WebsiteURL",
          "value": "Website"
        },
        {
          "uri": "configuration/entityTypes/Organization/attributes/Name",
          "value": "Name"
        },
        {
          "uri": "configuration/entityTypes/Organization/attributes/Phone",
          "value": [
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Phone/attributes/Type",
                  "value": "='Phone'"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Phone/attributes/Number",
                  "value": "Phone"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            },
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Phone/attributes/Type",
                  "value": "='Fax'"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Phone/attributes/Number",
                  "value": "Fax"
                },
                {
                  "uri": "configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            }
          ]
        }
      ]
    }
  },
  {
    "description": "Contact",
    "isActive": true,
    "sfdcSource": "configuration/sources/Salesforce",
    "sobject": {
      "type": "Contact"
    },
    "reltioObjectType": "configuration/entityTypes/Contact",
    "to_salesforce": {
      "attributeMapping": [
        {
          "sfdcAttrName": "Salutation",
          "value": "configuration/entityTypes/Contact/attributes/Prefix"
        },
        {
          "sfdcAttrName": "FirstName",
          "value": "configuration/entityTypes/Contact/attributes/FirstName"
        },
        {
          "sfdcAttrName": "LastName",
          "value": "configuration/entityTypes/Contact/attributes/LastName"
        },
        {
          "sfdcAttrName": "Description",
          "value": "configuration/entityTypes/Contact/attributes/Description"
        },
        {
          "sfdcAttrName": "Title",
          "value": "configuration/entityTypes/Contact/attributes/Title"
        },
        {
          "sfdcAttrName": "Birthdate",
          "value": "configuration/entityTypes/Contact/attributes/DoB"
        },
        {
          "sfdcAttrName": "Email",
          "value": "=source(configuration/entityTypes/Contact/attributes/Email/attributes/Email).equals(configuration/entityTypes/Contact/attributes/Email/attributes/Type,Work)"
        },
        {
          "sfdcAttrName": "Phone",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Phone).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        },
        {
          "sfdcAttrName": "MobilePhone",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Mobile).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        },
        {
          "sfdcAttrName": "Fax",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Fax).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        },
        {
          "sfdcAttrName": "HomePhone",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Home).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        },
        {
          "sfdcAttrName": "OtherPhone",
          "value": "=source(configuration/entityTypes/Organization/attributes/Phone/attributes/Number).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/Type, Other).equals(configuration/entityTypes/Organization/attributes/Phone/attributes/PrimaryPhoneFlag, true)"
        }
      ],
      "relatedObjects": [
      ]
    },
    "to_reltio": {
      "attributeMapping": [
        {
          "uri": "configuration/entityTypes/Contact/attributes/Prefix",
          "value": "Salutation"
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/FirstName",
          "value": "FirstName"
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/LastName",
          "value": "LastName"
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/Description",
          "value": "Description"
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/Title",
          "value": "Title"
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/DoB",
          "value": "Birthdate"
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/Email",
          "value": [
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Email/attributes/Type",
                  "value": "='Work'"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Email/attributes/Email",
                  "value": "Email"
                }
              ]
            }
          ]
        },
        {
          "uri": "configuration/entityTypes/Contact/attributes/Phone",
          "value": [
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Type",
                  "value": "='Phone'"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Number",
                  "value": "Phone"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            },
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Type",
                  "value": "='Fax'"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Number",
                  "value": "Fax"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            },
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Type",
                  "value": "='Mobile'"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Number",
                  "value": "MobilePhone"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            },
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Type",
                  "value": "='Home'"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Number",
                  "value": "HomePhone"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            },
            {
              "attributeMapping": [
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Type",
                  "value": "='Other'"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/Number",
                  "value": "OtherPhone"
                },
                {
                  "uri": "configuration/entityTypes/Contact/attributes/Phone/attributes/PrimaryPhoneFlag",
                  "value": "='true'"
                }
              ]
            }
          ]
        }
      ]
    }
  }
]
 
 
Error:   400 Bad Request, { errors: [], warnings: []}