Partially updates an existing Facility. Only provided fields will be updated.
Security
bearer
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/facility/{facilityId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/facility/{facilityId}
curl -i -X PATCH \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/facility/{facilityId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Example Name",
"facilityType": {
"code": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
},
"address": {},
"phone": "example",
"email": "user@example.com",
"isActive": true,
"extensions": {}
}'Facility updated successfully
Canonical unique identifier for the facility.
Example:"123e4567-e89b-12d3-a456-426614174000"
Type of facility (clinic, hospital, mobile, emergency).
Timestamp when the facility record was created.
Example:"2025-01-01T00:00:00.000Z"
Timestamp when the facility record was last updated.
Example:"2025-01-01T00:00:00.000Z"
Response
{ "facilityId": "123e4567-e89b-12d3-a456-426614174000", "name": "Example Name", "facilityType": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "address": {}, "phone": "example", "email": "user@example.com", "isActive": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z", "extensions": {} }