/bid/delete
This action deletes a bid associated with a work order.
Request
| Field | Description | Required |
|---|---|---|
comp_note_id | Unique identifier for the bid | Yes |
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
| Field | Description | Type |
|---|---|---|
result | Bid delete result | string |
Example successful response:
{
"result": "Bid deleted"
}
Errors
| Error Type | Description | Status Code |
|---|---|---|
access_denied | Access token is invalid or expired | 401 |
scope_invalid | Client app does not have the required OAuth scope | 403 |
comp_note_required | comp_note_id not in the request | 400 |
comp_note_invalid | comp_note_id is invalid | 400 |
not_found | Bid not found | 400 |