Add Bonus

Adds a bonus to a work order.

Note: You can only add a bonus when a work order is in Draft status.

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/bonuses/bonus_id
Production https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/bonuses/bonus_id

Path Parameters

Parameter Type Example Notes
work_order_id integer 1753 Work Order ID.
bonus_id integer 1 Bonus ID.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body

Not applicable.

Response

Returns the Work Order Response. Refer to Work Orders for parameter details and examples.

Errors

Standard HTTP and OAuth error codes.

Examples

400 Bad Request, Invalid Status
400 Bad Request, Invalid Bonus ID
403 Forbidden, Invalid Work Order ID