Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Entity the credit is currently associated/applied to, if different from availability.
Canonical identifier for the billing credit.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-credit
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"appliedTo": {},
"availableTo": {},
"billingCreditId": "123e4567-e89b-12d3-a456-426614174000",
"creditType": "quantity",
"endDate": "2025-01-01",
"expiry": {},
"extensions": {},
"isActive": true,
"remainingAmount": 0,
"startDate": "2025-01-01",
"totalAmount": 0,
"usedAmount": 0,
"wastedAmount": 0,
"wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000",
"amountType": {
"code": "string",
"system": "string",
"display": "string"
},
"creditCategory": {
"code": "string",
"system": "string",
"display": "string"
},
"currency": {
"code": "string",
"system": "string",
"display": "string"
},
"measurementUnit": {
"code": "string",
"system": "string",
"display": "string"
}
}'Billing Credit created successfully
Entity the credit is currently associated/applied to, if different from availability.
Canonical identifier for the billing credit.
Timestamp when the billing credit was created.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Date on which the credit expires, if applicable.
Date from which the credit becomes valid.
Timestamp when the billing credit was last updated.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
{ "appliedTo": {}, "availableTo": {}, "billingCreditId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditType": "quantity", "endDate": "2025-01-01T00:00:00Z", "expiry": {}, "extensions": {}, "isActive": true, "remainingAmount": 0, "startDate": "2025-01-01T00:00:00Z", "totalAmount": 0, "updatedAt": "2025-01-01T00:00:00.000Z", "usedAmount": 0, "wastedAmount": 0, "wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000", "amountType": { "code": "string", "system": "string", "display": "string" }, "creditCategory": { "code": "string", "system": "string", "display": "string" }, "currency": { "code": "string", "system": "string", "display": "string" }, "measurementUnit": { "code": "string", "system": "string", "display": "string" } }
Field to sort by
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-credit
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&creditType=quantity&isActive=true&wellnessPlanBenefitId=123e4567-e89b-12d3-a456-426614174000&wellnessPlanId=123e4567-e89b-12d3-a456-426614174000&wellnessPlanMembershipCycleId=123e4567-e89b-12d3-a456-426614174000&wellnessPlanMembershipId=123e4567-e89b-12d3-a456-426614174000&wellnessPlanMembershipStatusPeriodId=123e4567-e89b-12d3-a456-426614174000' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Billing Credit found
Entity the credit is currently associated/applied to, if different from availability.
Canonical identifier for the billing credit.
Timestamp when the billing credit was created.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Date on which the credit expires, if applicable.
Date from which the credit becomes valid.
Timestamp when the billing credit was last updated.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
{ "appliedTo": {}, "availableTo": {}, "billingCreditId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditType": "quantity", "endDate": "2025-01-01T00:00:00Z", "expiry": {}, "extensions": {}, "isActive": true, "remainingAmount": 0, "startDate": "2025-01-01T00:00:00Z", "totalAmount": 0, "updatedAt": "2025-01-01T00:00:00.000Z", "usedAmount": 0, "wastedAmount": 0, "wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000", "amountType": { "code": "string", "system": "string", "display": "string" }, "creditCategory": { "code": "string", "system": "string", "display": "string" }, "currency": { "code": "string", "system": "string", "display": "string" }, "measurementUnit": { "code": "string", "system": "string", "display": "string" } }
Entity the credit is currently associated/applied to, if different from availability.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"appliedTo": {},
"availableTo": {},
"creditType": "quantity",
"endDate": "2025-01-01",
"expiry": {},
"extensions": {},
"isActive": true,
"remainingAmount": 0,
"startDate": "2025-01-01",
"totalAmount": 0,
"usedAmount": 0,
"wastedAmount": 0,
"wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000",
"amountType": {
"code": "string",
"system": "string",
"display": "string"
},
"creditCategory": {
"code": "string",
"system": "string",
"display": "string"
},
"currency": {
"code": "string",
"system": "string",
"display": "string"
},
"measurementUnit": {
"code": "string",
"system": "string",
"display": "string"
}
}'Billing Credit updated successfully
Entity the credit is currently associated/applied to, if different from availability.
Canonical identifier for the billing credit.
Timestamp when the billing credit was created.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Date on which the credit expires, if applicable.
Date from which the credit becomes valid.
Timestamp when the billing credit was last updated.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
{ "appliedTo": {}, "availableTo": {}, "billingCreditId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditType": "quantity", "endDate": "2025-01-01T00:00:00Z", "expiry": {}, "extensions": {}, "isActive": true, "remainingAmount": 0, "startDate": "2025-01-01T00:00:00Z", "totalAmount": 0, "updatedAt": "2025-01-01T00:00:00.000Z", "usedAmount": 0, "wastedAmount": 0, "wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000", "amountType": { "code": "string", "system": "string", "display": "string" }, "creditCategory": { "code": "string", "system": "string", "display": "string" }, "currency": { "code": "string", "system": "string", "display": "string" }, "measurementUnit": { "code": "string", "system": "string", "display": "string" } }
Entity the credit is currently associated/applied to, if different from availability.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"appliedTo": {},
"availableTo": {},
"creditType": "quantity",
"endDate": "2025-01-01",
"expiry": {},
"extensions": {},
"isActive": true,
"remainingAmount": 0,
"startDate": "2025-01-01",
"totalAmount": 0,
"usedAmount": 0,
"wastedAmount": 0,
"wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000",
"wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000",
"amountType": {
"code": "string",
"system": "string",
"display": "string"
},
"creditCategory": {
"code": "string",
"system": "string",
"display": "string"
},
"currency": {
"code": "string",
"system": "string",
"display": "string"
},
"measurementUnit": {
"code": "string",
"system": "string",
"display": "string"
}
}'Billing Credit replaced successfully
Entity the credit is currently associated/applied to, if different from availability.
Canonical identifier for the billing credit.
Timestamp when the billing credit was created.
Whether the credit is tracked as a quantity (e.g., visits) or a monetary value.
Date on which the credit expires, if applicable.
Date from which the credit becomes valid.
Timestamp when the billing credit was last updated.
Identifier of the wellness plan benefit that generated this credit, if applicable.
Identifier of the wellness plan that generated this credit, if applicable.
Identifier of the membership cycle associated with this credit, if applicable.
Identifier of the wellness plan membership associated with this credit, if applicable.
Identifier of the membership status period associated with this credit, if applicable.
{ "appliedTo": {}, "availableTo": {}, "billingCreditId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditType": "quantity", "endDate": "2025-01-01T00:00:00Z", "expiry": {}, "extensions": {}, "isActive": true, "remainingAmount": 0, "startDate": "2025-01-01T00:00:00Z", "totalAmount": 0, "updatedAt": "2025-01-01T00:00:00.000Z", "usedAmount": 0, "wastedAmount": 0, "wellnessPlanBenefitId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipCycleId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipId": "123e4567-e89b-12d3-a456-426614174000", "wellnessPlanMembershipStatusPeriodId": "123e4567-e89b-12d3-a456-426614174000", "amountType": { "code": "string", "system": "string", "display": "string" }, "creditCategory": { "code": "string", "system": "string", "display": "string" }, "currency": { "code": "string", "system": "string", "display": "string" }, "measurementUnit": { "code": "string", "system": "string", "display": "string" } }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-credit/{billingCreditId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'