List all transctions
This action will return a list of all transactions for the given unit.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/transactions/list
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied
error will be returned.
Parameters
Parameter | Type | Default |
---|---|---|
unit_id The ID of the unit |
Integer | null |
page The page number you wish to view |
Integer | 1 |
filters A hash of filters to apply to results |
Hash | {} |
sort_by The field to sort by |
String | created_at |
order The direction to order units by |
String | desc |
Filtering
This action supports filtering. You can filter the results which you receive by
providing filters in the filters
parameter. The following attributes
are supported for filtering.
Attribute | Supported Operators |
---|---|
created_at | eq, not_eq, gt, gte, lt, lte |
item_type | eq, not_eq, starts_with, ends_with, in, not_in |
Errors
Error | Attributes |
---|---|
UnitNotFound The given unit was not found |
|
FilterError An error has occurred while processing filters for this action |
|
Response Data
This action will return an array of bill item structures.
You'll receive just the basic attributes for this structure. No expansions are provided.