Skip to Content

PUT c4codata from HCP - Method not allowed

Dear Experts,

We are currently developing a Fiori like App via HCP (WebIDE) to CRUD C4C Opportunities via c4codata service.

From this application, we are able

  • Get Opportunities and Products
  • Create Opportunities and Products within Opportunities
  • Delete Opportunities Products

But we are not able to update Opportunities and Opportunities Products.

Each time we try to make a update, we are receiving a message in HCP App like following

{

"message": "HTTP request failed",

"headers": [],

"statusCode": 405,

"statusText": "Method Not Allowed",

"responseText": ""

}‚Äč

This application is mainly build to update extension fields defined in Opportunity Header & Opportunity Products.

We have try to make a PATCH request via the Odata console in C4C and it works for AccountCollection for instance.

For OpportunityCollection, sometimes it works when we try to update "standard" fields. With Extension fields, we always receive a message to enter a ObjectID.


Thanks a lot for your ideas and feedbacks.

Regards.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 06, 2016 at 02:57 PM

    Hi Jordan,

    We are continuing this discussion with you on the incident which you have reported. Please follow up on the same

    Regards,

    Anurag Nath

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.