cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Postman post call error for API phonecall Collection in SAP C4C Odata

former_member690694
Participant
0 Likes
766

Dear Team,

I am trying to insert one phone call record through Phone call collection API in C4C Odata API.

But i am getting error- "The specified HTTP method is not allowed for the resource identified by the Data Service Request URI".

Please find attached attached screen shot of postman tool header , URL and Body detail. postman-post-call-body.pngCould you please guide me what mistake i am doing here.

postman-post-call-error.png

Thanks and Regards,

MD.

Accepted Solutions (0)

Answers (2)

Answers (2)

jschneider
Advisor
Advisor

I'm not an expert on this specific API, but from the documentation it looks like you are not supposed to add an object id to your POST request - See the attached screenshot.

So I'd suggest to try again without the object id in the request URL.

palu
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Dubey,

ObjectID can be used only as reference for updating records.

For POST, we don't have to ask pass Object ID in the URL, Since the ObjectID will be created internally by the system when you create an record.

Remove the Object ID and then try again.

Regards,

Palani.