Update Pay

Updates pay rate by work order id.

URLS

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

Path Parameters

Parameter Type Example Notes
work_order_id integer 1753 Work Order ID.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body Parameters

Body parameters will vary depending on your pay rate type. Refer to Pay Rates for parameter details.

Note: Make sure to pass the base and additional objects to clear out any existing pay options.

Examples

Fixed Pay
Hourly
Per Device
Blended Pay

Response

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

Errors

Standard HTTP and OAuth error codes.

Examples

400 Bad Request: Invalid Work Order ID.


{
    "status_code": 400,
    "message": "(401) Unauthorized"
}