on 2023 Dec 12 1:54 PM
Hi,
I want to send a patch request in C4C Odata console to clear a value for a string using a custom odata service.
when I try with Json :
{
"ProcessorPartyID": ""
}
I get the error below error :
The Data Services Request could not be understood due to malformed syntax|Error while parsing an XML stream: 'BOM / charset detection failed'.It works fine when I set it to a value but not when I want to clear it. Please help with what I need to do to be able to clear it with Odata Console. Thanks,
-----------------------------
Request clarification before answering.
Hi,
I was having the same issue. It seems to be a problem with the C4C odata.
In postman, it works fine.
You just have to set the string empty using patch method.
Example:
{
"City ": ""
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samir,
Can you try setting the value to NULL.
{
"ProcessorPartyID": null
}
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samir,
The batch request does not support the standard JSON. It has a specific format.
For the usage of the batch request, please refer to the blog How to send a Odata Batch Request to SAP Cloud for Customer system using Postman Tool
Feel free to contact me if you have any further queries.
Regards,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
3 | |
2 | |
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.