Partially updates an existing Wellness Resource. Only provided fields will be updated.
Security
bearer
Indicates whether the wellness resource is currently active and available for use.
Example:true
High-level classification of the wellness resource.
Enum:"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
Example:"wellnessPlan"
Lifecycle status of the wellness resource.
Enum:"draft""active""inactive""retired"
Example:"draft"
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/wellness-resource/{resourceId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/wellness-resource/{resourceId}
curl -i -X PATCH \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/wellness-resource/{resourceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"description": "Example description",
"extensions": {},
"isActive": true,
"name": "Example Name",
"resourceType": "wellnessPlan",
"status": "draft",
"validFromDate": "2025-01-01",
"validToDate": "2025-01-01"
}'Wellness Resource updated successfully
Timestamp when the wellness resource was created.
Example:"2025-01-01T00:00:00.000Z"
Detailed description of the wellness resource.
Example:"Example description"
Indicates whether the wellness resource is currently active and available for use.
Example:true
Stable, opaque identifier for the wellness resource.
Example:"123e4567-e89b-12d3-a456-426614174000"
High-level classification of the wellness resource.
Enum:"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
Example:"wellnessPlan"
Lifecycle status of the wellness resource.
Enum:"draft""active""inactive""retired"
Example:"draft"
Timestamp when the wellness resource was last updated.
Example:"2025-01-01T00:00:00.000Z"
Date from which the wellness resource is valid.
Example:"2025-01-01T00:00:00Z"
Response
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "Example description", "extensions": {}, "isActive": true, "name": "Example Name", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "wellnessPlan", "status": "draft", "updatedAt": "2025-01-01T00:00:00.000Z", "validFromDate": "2025-01-01T00:00:00Z", "validToDate": "2025-01-01T00:00:00Z" }