on 04-30-2019 10:23 AM
Hi,
We are communicating with C4C through ODATA APIs. We are getting all entity with below URL -
https://api.sap.com/odata/1.0/catalog.svc/ContentEntities.ContentPackages('C4C')/Artifacts?$format=json
This returns the 10 entities but these are not matching with all entities mentioned in below Documentation page.
Could you please help us on this.
Also, Can We fetch the entity/Object specific services like ServiceRequest is one of the Object, which has 9 different services like Service Request Attachments,ServiceRequestBusinessTransactionDocumentReference, ServiceRequestTextCollection, etc.
Can someone please help me on this.
Thanks,
Hrushi
Hi Hrushi,
If you have a C4C tenant then the new (V2) standard OData API metadata URL is https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/$metadata
replace the X in the URL with your tenant identifier.(you will get all information about the C4C Business Objects exposed in the standard service)
If you want to fetch all the root and sub-collection details in a single OData call, then you have to use the $expand operation in OData. (Refer C4C OData developer guide for more information and examples )
Regards,
Vignesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.