Create Work Location
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Creates a Work Location for a specific company.
Note: You will receive an error if you try to create two work locations with the same combination of taxableLocationID and work_site_id.
| attribute | type | description |
|---|---|---|
| success | boolean | Response status |
| data | object | Contains newly created Work Location Object |
| errors | array | Contains list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
Parameters
companyID
string
required
The ID of an existing Company ObjecttaxableLocationID
string
required
The ID of an existing Taxable Locations Objectname
string
A name for the new Work Locationwork_site_id
string
Optional custom Work Site ID for your own reporting purposes
HTTP Status Codes
``200 200
``400 400
curl --request POST \
--url https://api.zeal.com/workLocations \
--header 'accept: application/json' \
--header 'content-type: application/json'
Responses
200 - Result400 - Result