Search K
v1.0.0
Standard PACS Interface (SPI)
The SPI is a combination of a subset of ezyVet's API and the PACS provider's API that provides customers a consistent workflow experience.
Contact
License
ezyVet API licenseServers
https://api.ezyvet.comezyVet Production Environment
https://api.trial.ezyvet.comezyVet Trial Environment
Get an access token from the partner
POST
/accesstoken
This endpoint must be implemented by the Partner.
This endpoint will allow ezyVet to authenticate and use the Partner's web services
Request Body
application/json
{
}
Responses
Returns an access token.
application/json
{
}
POST
/accesstoken
Samples
Fetch a JWT bearer token
POST
/v1/oauth/access_token
Generates a valid access token, given client credentials. Access tokens have an 12-hour TTL.
Request Body
application/json
{
}
Responses
A JSON object containing the access token details.
application/json
{
}
POST
/v1/oauth/access_token
Samples
Get modalities
GET
/modalities
This endpoint must be implemented by the Partner.
This endpoint will allow ezyVet to get a list of supported modalities.
Responses
Returns a list of supported modalities
application/json
{
}
GET
/modalities
Samples
Creates a single Attachment
POST
/v1/attachment
Creates a single Attachment that links to a Consult with an ID of 1.
Authorizations
bearerAuth
clientCredentials Flow
Token URL
"https://api.ezyvet.com/v1/oauth/access_token"Scopes:
"write-attachment"Create and update attachment resources
Request Body
multipart/form-data
object
record_type
string
Required
The record type the Attachment is for. E.g. Animal, Contact, Consult.
record_id
number
Required
The ID number of the record the Attachment is linked to.
notes
string
Notes that are related to the Attachment
file_data
string
The data of the file.
Format
"binary"file_id
string
Create an Attachment using an existing file in ezyVet.
Responses
Successful response
application/json
{
}
POST
/v1/attachment
Samples
Fetch a Separation list
GET
/v2/separation
Fetches a list containing Separations.
Separations are a complex part of the ezyVet API and is important to understand.
Please read this document to ensure you have an adequate understanding.
Authorizations
bearerAuth
clientCredentials Flow
Token URL
"https://api.ezyvet.com/v1/oauth/access_token"Scopes:
"read-separation"Read separation resources
Parameters
Query Parameters
id
The ID number used by the system to uniquely identify a Separation.
Type
number
uid
The ID number used by the system to uniquely identify a Separation across all ezyVet sites.
Type
string
active
If true, the Separation is active and usable in ezyVet.
Type
boolean
created_at
The epoch time when the Separation was created.
Type
number
modified_at
The epoch time when the Separation was last modified.
Type
number
Responses
A list of separations
application/json
{
}
GET
/v2/separation
Samples
Get species and breeds
GET
/breedsandspecies
This endpoint must be implemented by the Partner.
This endpoint will allow ezyVet to get a list of animal species and breeds.
Responses
Returns a list of species & breeds
application/json
{
}
GET
/breedsandspecies
Samples
Send a PACS request
POST
/diagnosticrequest
This endpoint must be implemented by the partner.
ezyVet will push diagnostic (PACS) requests as they are made/updated/disabled to the partner's diagnostic request endpoint.
The partner must acknowledge the POST request with a HTTP 200 OK once they have received the diagnostic request successfully AND have been able to parse the information correctly.
Request Body
application/json
{
}
Responses
OK
application/json
{
}
POST
/diagnosticrequest
Samples
Create a Diagnostic Result
POST
/v1/diagnosticresult
Creates a single DiagnosticResult.
Authorizations
bearerAuth
clientCredentials Flow
Token URL
"https://api.ezyvet.com/v1/oauth/access_token"Scopes:
"read-diagnosticresult"Read diagnostic result resources"write-diagnosticresult"Create and update diagnostic result resources
Request Body
application/json
{
}
Responses
Success
application/json
{
}
POST
/v1/diagnosticresult