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

/jobnote/delete

The action deletes a job note from a work order.

Request

FieldDescriptionTypeRequired
report_idUnique identifier for the work ordernumberYes
note_idUnique identifier for the job notenumberYes

Use the /jobnote/list action to get the note_id for a job note.

Example:

{
  "report_id": 40945,
  "note_id": 240
}
curl -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer ACCESS_TOKEN' \
     -d '{"report_id":40945,"note_id":240}' \
     https://ppw.web/svc/jobnote/delete

Response

FieldDescriptionType
messageJob note delete messagestring

Example successful response:

{
  "message": "Job note deleted"
}

Errors

Error TypeDescriptionStatus Code
report_id_requiredValid report_id is required400
invalid_note_idUnique job note identifier is invalid400
note_not_foundJob note not found404
note_base_revision_not_foundJob not base revision not found404
note_delete_errorError deleting job note400