Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Monetary amount of the payment applied to the target, as a decimal string.
Canonical identifier for this linked payment record.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/linked-payment
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/linked-payment
- 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/linked-payment' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": "100.00",
"currency": "string",
"extensions": {},
"linkedPaymentId": "123e4567-e89b-12d3-a456-426614174000",
"paymentId": "123e4567-e89b-12d3-a456-426614174000",
"targetId": "123e4567-e89b-12d3-a456-426614174000",
"targetType": "invoice"
}'Linked Payment created successfully
Monetary amount of the payment applied to the target, as a decimal string.
Timestamp when this linked payment record was created.
Canonical identifier for this linked payment record.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
{ "amount": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "linkedPaymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "targetId": "123e4567-e89b-12d3-a456-426614174000", "targetType": "invoice", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/linked-payment
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/linked-payment
- 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/linked-payment?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc¤cy=string&paymentId=123e4567-e89b-12d3-a456-426614174000&targetId=123e4567-e89b-12d3-a456-426614174000&targetType=invoice' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- 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/linked-payment/{linkedPaymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Linked Payment found
Monetary amount of the payment applied to the target, as a decimal string.
Timestamp when this linked payment record was created.
Canonical identifier for this linked payment record.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
{ "amount": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "linkedPaymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "targetId": "123e4567-e89b-12d3-a456-426614174000", "targetType": "invoice", "updatedAt": "2025-01-01T00:00:00.000Z" }
Monetary amount of the payment applied to the target, as a decimal string.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- 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/linked-payment/{linkedPaymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": "100.00",
"currency": "string",
"extensions": {},
"paymentId": "123e4567-e89b-12d3-a456-426614174000",
"targetId": "123e4567-e89b-12d3-a456-426614174000",
"targetType": "invoice"
}'Linked Payment updated successfully
Monetary amount of the payment applied to the target, as a decimal string.
Timestamp when this linked payment record was created.
Canonical identifier for this linked payment record.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
{ "amount": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "linkedPaymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "targetId": "123e4567-e89b-12d3-a456-426614174000", "targetType": "invoice", "updatedAt": "2025-01-01T00:00:00.000Z" }
Monetary amount of the payment applied to the target, as a decimal string.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- 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/linked-payment/{linkedPaymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": "100.00",
"currency": "string",
"extensions": {},
"paymentId": "123e4567-e89b-12d3-a456-426614174000",
"targetId": "123e4567-e89b-12d3-a456-426614174000",
"targetType": "invoice"
}'Linked Payment replaced successfully
Monetary amount of the payment applied to the target, as a decimal string.
Timestamp when this linked payment record was created.
Canonical identifier for this linked payment record.
Identifier of the payment that is being linked.
Identifier of the entity this payment is linked to (e.g., invoiceId).
{ "amount": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "linkedPaymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "targetId": "123e4567-e89b-12d3-a456-426614174000", "targetType": "invoice", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/linked-payment/{linkedPaymentId}
- 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/linked-payment/{linkedPaymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'