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

This action returns a list of work orders matching the address specified in the request.

Request

FieldDescriptionRequired
org_wo_numPPW numberNo
wo_numberWork order numberNo
loan_numberLoan numberNo
addressStreet number and nameNo
cityCityNo
stateStateNo
zipZipNo
offsetSearch offsetNo

All parameters are optional, but the request must have at least one parameter other than offset.

Example:

{
    "address": "51 Franklin Street",
    "state": "MA",
    "city": "Boston",
    "zip": "02110"
}
curl -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer ACCESS_TOKEN' \
     -d '{"address": "51 Franklin Street", "state": "MA", "city": "Boston", "zip": "02110"}' \
     https://ppw.web/svc/workorder/search

Response

FieldDescriptionType
work_ordersList of matching work orders.array
nextIndicates there are more matching work orders.object

Each item in the work_orders array contains the unique identifier — report_id; this identifier is required for accessing other actions in this service.

The action returns at most 100 matching work orders per request. If there are more than 100 matching work orders, the response will contain the next field. Use the next.offset field to retrieve the next 100 matching work orders.

Example successful response:

{
  "work_orders": [
    {
      "report_id": 10601,
      "org_property_id": 5666,
      "address": "51 Franklin Street",
      "city": "Boston",
      "state": "MA",
      "zip": "02110",
      "loan_number": "FHA8918818",
      "work_type": 28811,
      "date_received": "20201201"
    },
    {
      "report_id": 10595,
      "org_property_id": 5666,
      "address": "51 Franklin Street",
      "city": "Boston",
      "state": "MA",
      "zip": "02110",
      "loan_number": "FHA8918818",
      "work_type": 28811,
      "date_received": "20201115"
    },
    .
    .
    .
  ],
  "next": {
    "address": "51 Franklin Street",
    "city": "Boston",
    "state": "MA",
    "zip": "02110",
    "offset": 100
  }
}

Errors

Error TypeDescriptionStatus
invalid_searchSearch parameters not specified400