SalesOrdersForOrderHub - adding project details | causing failure to update the SO
Summary:
REST API to update the project details is failing with 400 bad request.
Postman response showing "Unexpected 'S'"
Sample payload used:
{
"projectDetail" : [ {
"projectId": "300000019084239",
"projectId_Display": "3000548",
"taskId": "100000091209039",
"taskId_Display": "HA",
"expenditureItemDate": "2022-12-16",
"expenditureTypeId": "300000005213836",
"expenditureTypeId_Display": "Materialgoods",
"organizationId": "300000003971044",
"organizationId_Display": "500 indirect variable"
} ]
}
Content (required):
The error response is not giving much of information on why it is failing.
Version (include the version you are using, if applicable):
/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub/GPR%3A8018b0000017B8GAAU/child/lines/00020000000EACED00057708000110D9331519F00000000EACED00057708000110D9331519EF/child/project
Code Snippet (add any code snippets that support your topic, if applicable):