Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

/workorder/rfo

The action marks/unmarks the work order ready for office.

Request

FieldDescriptionRequired
report_idUnique identifier for the work orderYes
ready1 to mark the work order ready for office; 0 otherwiseYes

Example:

{
  "report_id": 18848,
  "ready": 1
}
curl -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer ACCESS_TOKEN' \
     -d '{"report_id":18848,"ready":1}' \
     https://ppw.web/svc/workorder/rfo

Response

FieldDescriptionType
resultRFO resultstring

Example successful response:

{
  "result": "Marked Ready for Office"
}

Errors

Error TypeDescriptionStatus Code
access_deniedAccess token is invalid or expired401
scope_invalidClient app does not have the required OAuth scope403
invalid_report_idUnique work order identifier is invalid400
ready_requiredready field is not in request400
ready_invalidready field is invalid400
photo_count_errorWork order photo count error400
photo_flag_errorWork order’s photos are not flagged400
office_lockedOffice Lock set for the work order400
pcr_errorPCR attached to the work order has errors400