Navigation :
Update Expense
Updates a work order expense.
URLs
Environment |
Method |
URL |
Sandbox |
|
https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/expenses/expense_id |
Production |
|
https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/expenses/expense_id |
Path Parameters
Parameter |
Type |
Example |
Notes |
work_order_id |
integer
|
1753 |
Work Order ID.
|
expense_id |
integer
|
100 |
Expense ID.
|
Query Parameters
Parameter |
Type |
Example |
Notes |
access_token |
string
|
abc123defg459hijk786lmn45 |
Required. |
Body Parameters
Refer to Expenses for a complete list of parameters.
Examples
DENY
{"status":"disapproved","status_description":"Deny reason."}
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
{
"status_code": 400,
"message": "(400) Expense not found"
}