Skip to main content
POST
List Consumption Records

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
organization
string
required
limit
integer<int32>
required
offset
integer<int32>
required
clinic
string
id
string
invoice_line_id
string
invoice_line_pims_id
string
subscription_id
string
created_at_since
string<date-time>
updated_at_since
string<date-time>

Response

200 - application/json

A list of consumption records

id
string
clinic
string
invoice_pims_id
string
invoice_date
string<date-time>
invoice_line
string
invoice_line_aje_delta
number<double>
invoice_line_pims_id
string
pet
string
pet_benefit
string
product_code
string
product_name
string
qty_available_on_plan
integer
qty_consumed
integer
qty_consumed_accum
integer
qty_in_plan
integer
qty_out_of_plan
integer
qty_remaining
integer
revenue_in_plan_total
number<double>
revenue_out_of_plan_total
number<double>
revenue_to_recognize_total
number<double>
revenue_to_recognize_per_unit
number<double>
subscription
string
created_at
string<date-time>
updated_at
string<date-time>