Use this endpoint to create a new Employer.

If successful, the endpoint responds with HTTP Status Code 201 Created and an Employer object with the integer ID of the created Employer in the response body and any associated Worksites. If no Worksite was specified, a default Worksite will be created. It also sets the Location header to the location of the Employer.

post/employers

Request

  • Base URL
    https://api.securevan.com/v4
  • URL
    https://api.securevan.com/v4/employers
  • Auth
    HTTP basic

Request body

employerobject

Accepts a standard Employer object with no read-only values specified.

Response

201

employerIdinteger
namestring
shortNamestring
websitestring
isMyOrganizationboolean

Example response

{
  "employerId": 671,
  "name": "Eastside Regional Medical Center",
  "shortName": "Eastside Regional",
  "parentOrganization": {
    "organizationId": 65,
    "name": "United Healthcare Systems",
    "shortName": "United Healthcare"
  },
  "website": "https://eastsideregionalmc.com",
  "isMyOrganization": true
}

Changes