Symptom
You have added an extension field to any service in the V2 system via Extensibility Administration and need to consume the API using the newly added extension fields
Environment
SAP Sales and Service Cloud Version 2
Resolution
After you add the extension fields, you need to do GET call on the repository url of the corresponding service.
For example you have added extension field to employee service and field is automatically added to the EC Integration APIs.
Now you need to query the employee replication repository service to get the updated metadata file which contains the extension fields. Do a GET call with communication user on below url and you will get response. Save the file in JSON format and upload it in the resources folder of CPI iflow. As there is standard extension mechanism there is no need to edit the standard iflow.
https://myxxxxxxx.xx1.test.crm.cloud.sap/sap/c4c/api/v1/repository-service/entities/sap.crm.md.integrationmetadataservice.entity.employeeECReplicationMessageIn
Keywords
"Handling extension fields" ; "Metadata file of APIs" , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem