Search K
Appearance
Appearance
The SPSI is a combination of a subset of ezyVet's API and the product supplier's API that provides customers a consistent workflow experience.
Find more info on the SPSI framework here
inlcuding UI examples.
This endpoint must be implemented by the Partner.
This endpoint will allow ezyVet to authenticate and use the Partner's web services
Returns an access token.
Generates a valid access token, given client credentials. Access tokens have a
8-hour TTL. The only grant_type
supported is client_credentials
. Access
tokens must be submitted via Authorization: Bearer [token]
header. You are
limited to one token per credential set. Requesting for a token will expire
the older one.
Use this endpoint when utilizing any endpoints under the apiv2 subdomain.
We strongly recommend that you build your application to expect token
expiry at any time. You can do this by adding an error handler for all your
requests in case they get an "expired token" error message.
"https://apiv2.ezyvet.com/oauth/token"
A JSON object containing the access token details.
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.
"https://apiv2.ezyvet.com/oauth/token"
The ID number used by the system to uniquely identify a Separation
.
The ID number used by the system to uniquely identify a Separation
across all ezyVet sites.
If true, the Separation
is active and usable in ezyVet.
The epoch time when the Separation
was created.
The epoch time when the Separation
was last modified.
A list of separations
Creates a JobQueue job. A job will need to contain the parameters needed for a normal ReceiveInvoice
API request to be processed.
"https://apiv2.ezyvet.com/oauth/token"
The endpoint type to hit.
The id of the record the JobQueue job is for.
0
The type of action to perform for the JobQueue job.
"ApiRequest"
Successful response
Creates a ReceiveInvoice
and any included ReceiveInvoiceItems
.
It's mandatory to encapsulate a receive invoice via the v2/jobqueue
endpoint as it allows for invoices to require approval from a staff member.
"https://apiv2.ezyvet.com/oauth/token"
""
0
0
Successful response
This endpoint must be implemented by the partner.
This endpoint will allow ezyVet to gather a list of product categories from the partner and also perform product lookups.
"https://apiv2.ezyvet.com/oauth/token"
OK
This endpoint must be implemented by the partner.
This endpoint will allow ezyVet to send purchase orders to the partner.
"https://apiv2.ezyvet.com/oauth/token"
OK
This endpoint must be implemented by the partner.
This endpoint will allow ezyVet to get products from the partner and also perform product lookups.
"https://apiv2.ezyvet.com/oauth/token"
An array containing none, one or many product names. If values are provided, results should only include products with names that contain or match one or more of the values provided. An empty array means no filtering.
"[2m-bandage,1m-bandage]"
An array containing none, one or many product codes. If values are provided, results should only include products with codes that contain or match one or more of the values provided. An empty array means no filtering.
"[BND]"
An array containing none, one or many product categories. If values are provided, results should only include products with categories that contain or match one or more of the values provided. An empty array means no filtering.
"[consumable]"
An array containing ONLY one integer. The integer provided will be the maximum number of results to return. If an empty value, empty array is provided, or if the parameter is non-existent, then return with no limit.
"[3]"
An array containing ONLY one integer. The integer provided will be the page number to return. E.g. If the limit was 5 and the total number of results was 40, then a page value of 3 would give us results between 15-19 inclusive.
NOTE: Page number starts at 0. So the first page of results will be for page 0.
"[0]"
OK