Update File

Updates a file.

URLs

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

Path Parameters

Parameter Type Example Notes
work_order_id integer 1753 Work Order ID.
folder_id integer 5978 Folder ID.
attachment_id integer 214 Attachment ID.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body Parameters

Refer to the Attachments for a complete list of parameters.

Examples

Client Documents

ADD/EDIT NOTE
View: Make Public

Deliverables

APPROVE
REVERT TO PENDING
DENY
ADD/EDIT NOTE

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