SAP Knowledge Base Article - Public

3544632 - OData API responds the error message: Property 'CustomerID' not found

Symptom

When creating a ticket with the OData API ServiceRequestCollection, the error messages below are returned.

  • Property 'CustomerID' not found
  • Property 'BuyerPartyID' not found

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Send a POST request to the OData entity ServiceRequestCollection.
  2. It returns the error message: Property 'CustomerID' not found.
  3. Go to Administrator > General Settings > OData API Monitor.
  4. The same error log can be found.

Resolution

There are three OData APIs for ticket creation. The payloads for filling in the customer ID are slightly different.

  • For the OData API /sap/c4c/odata/v1/servicerequest/ServiceRequestCollection, please use CustomerID for associating an account.
  • For the OData API /sap/c4c/odata/v1/c4codataapi/ServiceRequestCollection, please use BuyerPartyID.
  • For the OData API /sap/c4c/odata/v1/ticket/ServiceRequestCollection, please use BuyerPartyID.

See Also

Help Doc: Service Request Collection

Keywords

Service Request, Customer ID, CustomerID, BuyerPartyID, Property 'BuyerPartyID' not found, Property 'CustomerID' not found , KBA , LOD-CRM-INT-API , OData API (C4C Only) , LOD-CRM-SRP , Service Request Processing , LOD-CRM-SRP-API , Ticket API & Odata , LOD-LE-SRP , Obsolete: Please use LOD-CRM-SRP , Problem

Product

SAP Cloud for Customer core applications all versions