API Documentation
IDs and Types
The basics of identifying objects and requests
Request IDs
The API assigns identifiers to all requests, available in the x-request-id
response header. Our support team may ask you for request IDs when handling a ticket.
Object IDs
Objects are identified by strings, often called “codes”.
Note:
- Diagnosis and services are identified by a list of codes
- For services the API currently requires a single code, specified as a JSON array with a single value
Types
We use standard types:
string
values are generally limited to 255 charactersint
an signed integer number limited to 32 bitsdate
is an ISO string,YYYY-MM-DD
money
: decimal as a string (not an integer or a float number to avoid round error), up to 4 digits in the fraction partpercent
: decimal as s string (not an integer or a float number to avoid round error), up to 4 digits in the fraction part- Optional fields are denoted as
<type> | null
, can be omitted - Arrays are denoted with
[]