Right. I forgot about the inner payload object from the sessions at reIMAGINE. Actually, it is supposed to be application\json, so adding the Payload property worked, however with a PATCH, I'm getting validation errors that make it look like it's trying to do a POST:
{
"Status": {
"CorrelationId": "37517da0721b4a12a4e8752af62ebbbb",
"HttpCode": 400,
"ErrorCode": "ApplicationError",
"Source": "DexterityProcess",
"Message": "One or more errors occurred while processing the request. Please see the server logs or the error details in the response for more details."
},
"Errors": [
{
"Severity": "Error",
"ErrorType": "Field",
"Reference": "function ItemSetFieldsCheckRequired of form ServiceItem",
"Message": "ItemObj.ItemNumber Invalid field found",
"ProductId": 0
},
{
"Severity": "Error",
"ErrorType": "Field",
"Reference": "function ItemSetFieldsCheckRequired of form ServiceItem",
"Message": "ItemObj.ItemDescription Invalid field found",
"ProductId": 0
},
{
"Severity": "Error",
"ErrorType": "Field",
"Reference": "function ItemSetFieldsCheckRequired of form ServiceItem",
"Message": "ItemObj.UOfMSchedule Invalid field found",
"ProductId": 0
},
{
"Severity": "Error",
"ErrorType": "Field",
"Reference": "ServiceUpdateItem",
"Message": "One or more mandatory fields are missing or invalid.",
"ProductId": 0
}
]
}
PATCH is the correct verb, isn't it?