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/list

This action returns a list job notes associated with a work order.

Request

FieldDescriptionTypeRequired
report_idUnique identifier for the work ordernumberYes

Example:

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

Response

FieldDescriptionType
report_idUnique identifier for the work ordernumber
wo_notesList of work order notesarray
prop_notesList of property notesarray

Each item in the wo_notes and prop_notes array is a JSON object with the following fields:

FieldDescriptionType
report_idUnique identifier for the work ordernumber
note_idUnique identifier for the job notenumber
revisionsList of job note revisions. Each item in this list is a note_id.array
base_revisionFirst revision (note_id) of the job note.number

The revisions and base_revision fields will be set in the above JSON object only when the job note has multiple revisions.

Example successful response:

{
  "report_id": 40945,
  "wo_notes": [{
    "note_id": 232,
    "revisions": [224, 225, 229, 232],
    "base_revision": 224
  }, {
    "note_id": 233,
    "revisions": [226, 228, 233],
    "base_revision": 226
  }, {
    "note_id": 236
  }],
  "prop_notes": [{
    "note_id": 234,
    "revisions": [227, 234],
    "base_revision": 227
  }, {
    "note_id": 235,
    "revisions": [230, 231, 235],
    "base_revision": 230
  }]
}

Errors

Error TypeDescriptionStatus Code
invalid_report_idUnique work order identifier is invalid400