Discussions

Ask a Question
Back to all

WoCompleteCommand HTTP 404

Hello, I'm trying to automate the ability to complete a work order via API. See following code:

"{"

  • " "commandRequest": { "
  • " "type": "WoCompleteCommand","
  • " "WorkOrderId": "376508" "
  • " }, "
  • " "RequestId": "1234" "
  • " } "

This returns the following error:

404 - File or directory not found.

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I have ensured the WorkOrderId is correct and the user is correct. The string returned is the correct format as far as I can tell, see the returned string below:

{ "commandRequest": { "type": "WoCompleteCommand", "WorkOrderId": "376508" }, "RequestId": "1234" }

Permissions for the user account are all set to allow WoCompleteCommand. Not sure what the issue is, any help would be appreciated.