Add Branch
Adds a branch (work location). Shared rules: see Writing data.
- The body is closed: an unknown field is refused with
400"Unknown field."Counts toward your write budget. nameis required, at most 200 characters, and must be unique in the company:400onname, “A branch with this name already exists.” Repeating the same request is harmless.addressis at most 500 characters.latitude(-90 to 90) andlongitude(-180 to 180) are sent together, otherwise400“Send latitude and longitude together.”radiusis the location-based attendance radius in metres, 50 to 1000. Default 200.- A plan with a branch limit refuses more branches with
403. - There is no delete.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
name
Branch name. Unique in the company.
address
Address.
latitude
Latitude. Send with longitude.
longitude
Longitude. Send with latitude.
radius
Location-based attendance radius in metres. Default 200.
Response
The branch was added.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
