Skip to Content

OData delete method usage!

Have you ever worked with OData - DELETE method in C4C? I need technical details to delete entries based on conditions. but I've tried to use $filter argument, but it is not working. C4C OData simulator allow to enter headers, but which exactly? Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 27, 2017 at 10:18 AM

    Hi Olegs,

    You can use the function Delete in C4C. Basically any collection which can be deleted from UI in C4C, the same you will be able to delete using OData.

    Now using $filter in the URL while using DELETE function is wrong. You have to first get the Object ID of the specific entry which you want to delete and then you can pass the URL in the below format using DELETE function.


    URL= myxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codata/AccountTeamCollection('ObjectID')

    Regards,
    Anurag Nath

    Add comment
    10|10000 characters needed characters exceeded