Create a Speciality for an existing facility

Add a Speciality for the specified facility.

Request
path Parameters
facilityId
required
string <uuid>

Identifier of the facility to create the Speciality for.

Request Body schema: application/json
taxonomyId
required
string <uuid>

The taxonomy unique identifier related to this speciality.

Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

500

Server Error

post/facilities/{facilityId}/specialties
Request samples
application/json
{
  • "taxonomyId": "fd98e5af-2ab6-4f69-a608-a622ce81d12e"
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "facilityId": "d7244f5b-52c1-4d27-b4f5-43b1113fc304",
  • "taxonomyId": "fd98e5af-2ab6-4f69-a608-a622ce81d12e"
}