List items

Retrieves a list of line items and their details from an entrypoint. Line items are also known as items, products, and services. Use filters to limit results.

Path parameters

entrystringRequired

The paypoint’s entrypoint identifier. Learn more

Headers

requestTokenstringRequired

Query parameters

fromRecordintegerOptionalDefaults to 0

The number of records to skip before starting to collect the result set.

limitRecordintegerOptionalDefaults to 20

Max number of records to return for the query. Use 0 or negative value to return all records.

parametersmap from strings to optional stringsOptional

Collection of field names, conditions, and values used to filter the query

You must remove parameters= from the request before you send it, otherwise Payabli will ignore the filters.

Because of a technical limitation, you can’t make a request that includes filters from the API console on this page. The response won’t be filtered. Instead, copy the request, remove parameters= and run the request in a different client.

For example:

—url https://api-sandbox.payabli.com/api/Query/transactions/org/236?parameters=totalAmount(gt)=1000&limitRecord=20

should become:

—url https://api-sandbox.payabli.com/api/Query/transactions/org/236?totalAmount(gt)=1000&limitRecord=20

See Filters and Conditions Reference for help.

List of field names accepted:

  • categories (ct, nct)
  • code (ne, eq, ct, nct)
  • commodityCode (ne, eq, ct, nct)
  • createdDate (gt, ge, lt, le, eq, ne)
  • description (ne, eq, ct, nct)
  • externalPaypointID (ct, nct, ne, eq)
  • mode (eq, ne)
  • name (ne, eq, ct, nct)
  • orgName (ne, eq, ct, nct)
  • paypointDba (ne, eq, ct, nct)
  • paypointId (ne, eq)
  • paypointLegal (ne, eq, ct, nct)
  • quantity (gt, ge, lt, le, eq, ne)
  • uom (ne, eq, ct, nct)
  • updatedDate (gt, ge, lt, le, eq, ne)
  • value (gt, ge, lt, le, eq, ne)

List of comparison accepted - enclosed between parentheses:

  • eq or empty => equal
  • gt => greater than
  • ge => greater or equal
  • lt => less than
  • le => less or equal
  • ne => not equal
  • ct => contains
  • nct => not contains
  • in => inside array separated by ”|”
  • nin => not inside array separated by ”|”

List of parameters accepted:

  • limitRecord : max number of records for query (default=“20”, “0” or negative value for all)
  • fromRecord : initial record in query

Example: name(ct)=john return all records with name containing john

sortBystringOptional

The field name to use for sorting results. Use desc(field_name) to sort descending by field_name, and use asc(field_name) to sort ascending by field_name.

Response

Success

Recordslist of objectsOptional
SummaryobjectOptional

Errors