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
- Send a POST request to the OData entity ServiceRequestCollection.
- It returns the error message: Property 'CustomerID' not found.
- Go to Administrator > General Settings > OData API Monitor.
- 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
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
SAP Knowledge Base Article - Public