Set Visibility by Company

Updates a custom field’s visibility to visible or hidden “For All Work Orders in Your Company.” This endpoint updates only the global company visibility (at the top level). It will not overwrite any specific (current level) client or project visibility settings.

Company Visibility

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/custom-fields/custom_field_id/visibility/:visibility
Production https://api.fieldnation.com/api/rest/v2/custom-fields/custom_field_id/visibility/:visibility

Path Parameters

Parameter Type Example Notes
custom_field_id integer 140 Custom Field ID.
:visibility string visible Field visibility at the company level.
Options

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body

Not applicable.

Response

Returns the custom field id.

Examples

https://URL/custom-fields/140/visibility/visible?access_token=abc123defg459hijk786lmn45

[
    "140"
] 

Errors

Standard HTTP and OAuth error codes.