SAP Knowledge Base Article - Public

3149057 - You Are Not Able to Get Additional ID For a Contact Through API Query

Symptom

You are trying to retrieve the Additional IDs for an specific contact based on his Origin ID, however the additional IDs are not fetched in the query.

Environment

SAP Marketing Cloud 

Reproducing the Issue

For example you are trying to retrieve the additional IDs of the ID Origin SAP_CRM_BUPA.

*tenant*/sap/opu/odata/SAP/API_MKT_CONTACT_SRV;v=0004/ContactOriginData(ContactOrigin='SAP_CRM_BUPA',ContactID='12345')/AdditionalIDs

Result: any data is fetched.

 

Cause

There are two possible reasons:

1. The Origin ID SAP_CRM_BUPA does not have any related Additional ID.

2. The ID SAP_CRM_BUPA was imported as Additional ID and not Origin ID.

Resolution

The Get operation of the API_MKT_CONTACT_SRV returns results based on Origin IDs.

You need to import the ID SAP_ERP_BUPA as Origin ID, not Additional ID.

Keywords

API_MKT_CONTACT_SRV, GET, ORIGIN ID , KBA , CEC-MKT-DM-IC , Interaction Contact , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions