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

/bid/list

This action lists bids associated with a work order.

Request

FieldDescriptionRequired
report_idUnique identifier for a work orderYes

Example:

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

Response

FieldDescriptionType
report_idUnique identifier for the work ordernumber
bidsBids associated with work orderarray

Each item in bids is a JSON object; they’ll have the following fields:

FieldDescriptionType
comp_note_idUnique identifier for the bidnumber
invoice_item_idUnique identifier for the invoice itemnumber
descriptionName of invoice itemstring
qtyBid quantitynumber
uomUnique identifier for the Unit of Measure (UOM)number
contractor_priceContractor price for the bidnumber
client_priceClient price for the bidnumber
commentBid commentstring
completion_commentCompletion commentstring

Example successful response:

{
  "report_id": 4064,
  "bids": [{
    "comp_note_id": 42,
    "invoice_item_id": 42933,
    "description": "Locks",
    "qty": 1,
    "uom": 0,
    "contractor_price": 3,
    "client_price": 4,
    "comment": "lock comment",
    "completion_comment": "completion lock comment"
  }, {
    "comp_note_id": 43,
    "invoice_item_id": 42923,
    "description": "Winterization (Dry)",
    "qty": 2,
    "uom": 1,
    "contractor_price": 2,
    "client_price": 0,
    "comment": "winterization",
    "completion_comment": "completion winterization"
  }]
}

Errors

Error TypeDescriptionStatus Code
access_deniedAccess token is invalid or expired401
scope_invalidClient app does not have the required OAuth scope403
wo_invalidWork order is invalid400