Create Custom Tag

Adds a custom tag.

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/company/tags
Production https://api.fieldnation.com/api/rest/v2/company/tags

Path Parameters

Not applicable.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body Parameters

Refer to Work Order Tags for a additional parameter options.

Examples

Hide from provider: No
Provider can edit: No
Tag use for the following status: Created, Published

{
   "label":"Basic Tag",
   "hex_color":"#F67B1E",
   "valid_statuses":[
      "created",
      "published"
   ],
   "types":[
      "custom_company",
      "for_providers_only",
      "show_in_dashboard"
   ]
}

Response

Returns the Tag Object. Refer to Work Order Tags for parameter details and examples.

Errors

Standard HTTP and OAuth error codes.

Examples

400 Bad Request, Missing Parameter