/employers/{employerId}/worksites

Use this endpoint to create a new Worksite for an Employer.

Accepts a standard Worksite object with no read-only values specified. If supplied, the name of the Worksite must be unique to the Employer.

Response

If successful, the endpoint responds with HTTP Status Code 201 Created and a Worksite object with the integer ID of the created Worksite in the response body. It also sets the Location header to the location of the Worksite.

If the specified Employer does not exist, this endpoint will return an error with HTTP Status Code 404 Not Found.

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!