Skip to content

AHDS Store API (1.0)

Animal Health Data Store - V1 API Documentation

Overview
Languages
Servers
Mock server

https://docs.heydonto.com/_mock/apis/animal-health/openapi/

Local Development

http://localhost:8083/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Creates a new Estimate record. Estimate resource in the Animal Health Data Store

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
descriptionstringrequired

Human-readable description of the line item.

extensionsobject

Vendor- or practice-specific extensions for the line item.

lineItemIdstringrequired

Canonical unique identifier for this estimate line item.

Example: "123e4567-e89b-12d3-a456-426614174000"
lineSubtotalstringrequired

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstringrequired

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstringrequired

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstring

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumberrequired

Quantity of the item or service.

sequencenumberrequired

Display order of the line item within the estimate.

taxRatenumber

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestringrequired

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/estimate' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "lineItemId": "123e4567-e89b-12d3-a456-426614174000",
    "lineSubtotal": "100.00",
    "lineTax": "100.00",
    "lineTotal": "100.00",
    "productId": "123e4567-e89b-12d3-a456-426614174000",
    "quantity": 0,
    "sequence": 0,
    "taxRate": 0,
    "unitPrice": "100.00"
  }'

Responses

Estimate created successfully

Bodyapplication/json
descriptionstringrequired

Human-readable description of the line item.

extensionsobjectrequired

Vendor- or practice-specific extensions for the line item.

lineItemIdstringrequired

Canonical unique identifier for this estimate line item.

Example: "123e4567-e89b-12d3-a456-426614174000"
lineSubtotalstringrequired

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstringrequired

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstringrequired

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstringrequired

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumberrequired

Quantity of the item or service.

sequencenumberrequired

Display order of the line item within the estimate.

taxRatenumberrequired

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestringrequired

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
Response
application/json
{ "description": "string", "extensions": {}, "lineItemId": "123e4567-e89b-12d3-a456-426614174000", "lineSubtotal": "100.00", "lineTax": "100.00", "lineTotal": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "sequence": 0, "taxRate": 0, "unitPrice": "100.00" }

Request

Returns a paginated list of Estimates for the specified site. Supports filtering and sorting.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Query
pagenumber>= 0

Page number (0-indexed)

Default 0
pageSizenumber[ 1 .. 100 ]

Number of items per page

Default 10
sortBystring

Field to sort by

Enum"description""lineSubtotal""lineTax""lineTotal""quantity""sequence""taxRate""unitPrice"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
descriptionstring

Human-readable description of the line item.

productIdstring

Identifier of the underlying product, service, or procedure, if applicable.

Example: productId=123e4567-e89b-12d3-a456-426614174000
curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/estimate?page=0&pageSize=10&sortBy=description&sortOrder=asc&description=string&productId=123e4567-e89b-12d3-a456-426614174000' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Estimates

Request

Returns a single Estimate by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

lineItemIdstringrequired

Estimate unique identifier (UUID)

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/estimate/{lineItemId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Estimate found

Bodyapplication/json
descriptionstringrequired

Human-readable description of the line item.

extensionsobjectrequired

Vendor- or practice-specific extensions for the line item.

lineItemIdstringrequired

Canonical unique identifier for this estimate line item.

Example: "123e4567-e89b-12d3-a456-426614174000"
lineSubtotalstringrequired

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstringrequired

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstringrequired

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstringrequired

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumberrequired

Quantity of the item or service.

sequencenumberrequired

Display order of the line item within the estimate.

taxRatenumberrequired

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestringrequired

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
Response
application/json
{ "description": "string", "extensions": {}, "lineItemId": "123e4567-e89b-12d3-a456-426614174000", "lineSubtotal": "100.00", "lineTax": "100.00", "lineTotal": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "sequence": 0, "taxRate": 0, "unitPrice": "100.00" }

Request

Partially updates an existing Estimate. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

lineItemIdstringrequired

Estimate unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstring

Human-readable description of the line item.

extensionsobject

Vendor- or practice-specific extensions for the line item.

lineSubtotalstring

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstring

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstring

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstring

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumber

Quantity of the item or service.

sequencenumber

Display order of the line item within the estimate.

taxRatenumber

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestring

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/estimate/{lineItemId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "lineSubtotal": "100.00",
    "lineTax": "100.00",
    "lineTotal": "100.00",
    "productId": "123e4567-e89b-12d3-a456-426614174000",
    "quantity": 0,
    "sequence": 0,
    "taxRate": 0,
    "unitPrice": "100.00"
  }'

Responses

Estimate updated successfully

Bodyapplication/json
descriptionstringrequired

Human-readable description of the line item.

extensionsobjectrequired

Vendor- or practice-specific extensions for the line item.

lineItemIdstringrequired

Canonical unique identifier for this estimate line item.

Example: "123e4567-e89b-12d3-a456-426614174000"
lineSubtotalstringrequired

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstringrequired

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstringrequired

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstringrequired

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumberrequired

Quantity of the item or service.

sequencenumberrequired

Display order of the line item within the estimate.

taxRatenumberrequired

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestringrequired

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
Response
application/json
{ "description": "string", "extensions": {}, "lineItemId": "123e4567-e89b-12d3-a456-426614174000", "lineSubtotal": "100.00", "lineTax": "100.00", "lineTotal": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "sequence": 0, "taxRate": 0, "unitPrice": "100.00" }

Request

Fully replaces an existing Estimate. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

lineItemIdstringrequired

Estimate unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstringrequired

Human-readable description of the line item.

extensionsobjectrequired

Vendor- or practice-specific extensions for the line item.

lineSubtotalstringrequired

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstringrequired

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstringrequired

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstringrequired

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumberrequired

Quantity of the item or service.

sequencenumberrequired

Display order of the line item within the estimate.

taxRatenumberrequired

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestringrequired

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/estimate/{lineItemId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "lineSubtotal": "100.00",
    "lineTax": "100.00",
    "lineTotal": "100.00",
    "productId": "123e4567-e89b-12d3-a456-426614174000",
    "quantity": 0,
    "sequence": 0,
    "taxRate": 0,
    "unitPrice": "100.00"
  }'

Responses

Estimate replaced successfully

Bodyapplication/json
descriptionstringrequired

Human-readable description of the line item.

extensionsobjectrequired

Vendor- or practice-specific extensions for the line item.

lineItemIdstringrequired

Canonical unique identifier for this estimate line item.

Example: "123e4567-e89b-12d3-a456-426614174000"
lineSubtotalstringrequired

Subtotal for this line before tax, as a decimal string.

Example: "100.00"
lineTaxstringrequired

Tax amount for this line, as a decimal string.

Example: "100.00"
lineTotalstringrequired

Total for this line including tax, as a decimal string.

Example: "100.00"
productIdstringrequired

Identifier of the underlying product, service, or procedure, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
quantitynumberrequired

Quantity of the item or service.

sequencenumberrequired

Display order of the line item within the estimate.

taxRatenumberrequired

Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%).

unitPricestringrequired

Unit price as a decimal string, in the estimate currency.

Example: "100.00"
Response
application/json
{ "description": "string", "extensions": {}, "lineItemId": "123e4567-e89b-12d3-a456-426614174000", "lineSubtotal": "100.00", "lineTax": "100.00", "lineTotal": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "sequence": 0, "taxRate": 0, "unitPrice": "100.00" }

Request

Permanently deletes a Estimate record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

lineItemIdstringrequired

Estimate unique identifier (UUID)

curl -i -X DELETE \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/estimate/{lineItemId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Estimate deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations