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

This action deletes a bid associated with a work order.

Request

FieldDescriptionRequired
comp_note_idUnique identifier for the bidYes

A bid is uniquely identified by comp_note_id; it can be retrieved through the /bid/list action.

Example:

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

Response

FieldDescriptionType
resultBid delete resultstring

Example successful response:

{
  "result": "Bid deleted"
}

Errors

Error TypeDescriptionStatus Code
access_deniedAccess token is invalid or expired401
scope_invalidClient app does not have the required OAuth scope403
comp_note_requiredcomp_note_id not in the request400
comp_note_invalidcomp_note_id is invalid400
not_foundBid not found400