I am not a developer by trade just your average systems administrator trying to teach myself new skills. We are trying to create requisitions through an app I created in power apps and I am close. I got the POST working but having troubles with dispatching the req once it is created. From what I understand I need to update the ““CurrDispatcherID”: “”,” to do so. When a req is created within Epicor this is the value that is spit out: ““CurrDispatcherID”: “Purchasing Department”,”. But when I try and PATCH that same value I get this back:
{
"HttpStatus": 400,
"ReasonPhrase": "REST API Exception",
"ErrorMessage": "User ID references invalid value.",
"ErrorType": "Ice.Common.BusinessObjectException",
"ErrorDetails": [
{
"Message": "User ID references invalid value.",
"Type": "Error",
"Table": "ReqHead",
"Program": "Epicor.RESTApi.Common.dll",
"Method": "ThrowUpdateExtException",
"LineNumber": 27,
"ColumnNumber": 17
}
],
"CorrelationId": "a74fdeb9-0437-4465-a24e-83511a5daf8b"
}
As soon as I remove the “CurrDispatcherID”: “Purchasing Department” the patch comes back as successful and I can see values that I change getting updated. Any tips would be much appreciated.