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
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

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