Discussions

Ask a Question
Back to All

Update WorkOrder StatusId via base API

Hi,

I'm looking at updating WorkOrders via the base API, specifically these actions for now:

  1. Adding a document to the WorkOrder
  2. Updating the StatusId (normally to mark as closed)
  3. "Complete" a WorkOrder, adding a note of the work performed and backdating the action

This initial query is re my attempts to update the StatusId

Using the base API, I am trying to update a WO with Id = 68604 to "Cancelled"

I've pasted below may basic query in Postman.

The response I am getting is:
{
"ErrorMessage": "'body' field is null or empty",
"ErrorCode": "EMPTY_INPUT_PARAMETER",
"TimeStamp": "2024-03-15T16:54:26.6449587Z"
}

Does anyone know what input paramter I am missing here?

Thanks,

Graham