v1

latestOpenAPI 3.1.02026-07-2414339465.7 KB

Create Work Location

Creates a Work Location for a company within Zeal.

post/workLocations

Request body

companyIDstring required

The ID of an existing Company Object

taxableLocationIDstring required

The ID of an existing Taxable Locations Object

namestring

A name for the new Work Location

work_site_idstring

Optional custom Work Site ID for your own reporting purposes

Response

200

successboolean

Example response

{
  "success": true,
  "data": {
    "companyID": "1234567890",
    "workLocationID": "573hfjd39854fh32",
    "taxableLocationID": "609ffdf81a5f9c4c10b0c443",
    "name": "SF Office",
    "work_site_id": "SF"
  }
}