latestOpenAPI 3.1.02026-08-194237902.5 MB

563848e0ecc0

Facility

Add a new location to a facility

Creates a new location record and associates it with the specified facility. Use this to register a new physical location under an existing facility; to update an existing location's attributes, use PUT /facilities/{certifyFacilityId}/locations/{certifyLocationId} instead. The facility identified by certifyFacilityId must already exist. The request body is validated against a JSON schema; a 400 is returned if validation fails. Returns HTTP 201 with a batch alias ID map (e.g. corelocation, tenantfacilitylocation, and related address IDs) plus a message field — not the full created location record; call the location's read endpoint afterwards if you need the complete record.

post/facilities/{certifyFacilityId}/locations

Path parameters

certifyFacilityIdstring required

The certify facility ID

Headers

tenant-idstring

Request body

object required

Response

Location successfully created and associated with facility

object required