Get a list of available adhoc inventories

get/adhoc-inventories
SecuritybearerAuth
Request
query Parameters
page
required
integer <int32> (PageParam) >= 1

Page of results to show

Example: page=1
pageSize
required
integer <int32> (ResultsPerPageParam) [ 1 .. 1000 ]

Results to return per page

Example: pageSize=100
sort
string (SortParam)

Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change

Example: sort=id,name | name:desc
fields
string (FieldsParam)

Comma-delimited list of the field(s) to return if only a subset is required

Example: fields=id,name
name
string (StringFilterParam)

Filter by name

Example: name=xyz | in:x,y | like:xyz
siteId
string (IdFilterParam)

Filter by site

Example: siteId=0
rentalProductCategoryId
string (IdFilterParam)

Filter by rental product category

Example: rentalProductCategoryId=0
billRunId
string (IdFilterParam)

Filter by billRunId

Example: billRunId=0
adhocBillRunId
string (IdFilterParam)

Filter by adhocBillRunId

Example: adhocBillRunId=0
Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

412

Precondition Failed

500

Internal Server Error

501

Not Implemented Yet

Response samples
application/json
[
  • {
    • "id": 1,
    • "siteId": 1,
    • "name": "string",
    • "supplierAccountId": 0,
    • "buyPrice": 0,
    • "sellPrice": 0,
    • "billImmediately": false,
    • "isCredit": false,
    • "creditReason": "string",
    • "paid": false,
    • "paymentTerms": 0,
    • "paymentType": "CHEQUE",
    • "quantity": 0,
    • "rentalProductCategoryId": 1,
    • "taxBandId": 1,
    • "nominalCode": "string",
    • "billRunId": 1,
    • "adhocBillRunId": 1
    }
]