I have to update SIM by Easy_Form_response (Bisnode) to change deviation to YES. I tried following payload with and without Subject but this does not help this way.
Header information:
Content-type: XML and JSON Accept: XML and JSON
Payload XML
<easy-form-response>
<subject>
<custom-fields>
<bisnode-deviation>Yes</bisnode-deviation>
</custom-fields>
</subject>
</easy-form-response>
PAYLOAD JSON
{
"id": :ID,
"subject": {
"id": ID,
"custom-fields": {
"bisnode-deviation": "yes"
}
}
}
End Point coupa
PUT: api/supplier_information/:SIM_ID/easy_form_responses/:EASY_FORM_RESPONSE_ID
and getting this response from Coupa
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>
<![CDATA[An unknown error occured while creating/updating this record.]]>
</error>
</errors>
Any help will be highly appreciated.