Update Work Location

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Updates a Work Location's name or work_site_id.

Returns

Returns a boolean indicating success status and company location objects.

attribute type description
success boolean Response status
data object updated Work Location data
errors array Contains list of error objects which consists of:
message: Error message
code: Error code as described in Error codes

companyID

string

required

The ID of an existing Company Object

workLocationID

string

required

The ID of an existing Work Location Object

name

string

A name for the new Work Location

work_site_id

string

Optional Custom Work Site ID for your own reporting purposes

``200 200

``400 400

xxxxxxxxxx

curl --request PATCH \
 \
     --url https://api.zeal.com/workLocations \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

application/json

200 - Result400 - Result