Index | Conventions

api/v1/list/quotes

Path: api/v1/list/quotes

This endpoint supports the following methods:
GET

Filtering

This endpoint accepts the same filter[...] query parameters as api/v1/quotes — see that page's Filtering section for the supported fields, types and operators.

Exceptions: the following filters are registered on that sibling page but are not supported here:

filter[quote.id]: An exact point lookup for a single quote by id. Returns the quote regardless of its status (bypassing the default status scoping described below). It is exclusive: combining it with any other filter, or supplying it with an operator (eg [-gte]), both return 400.

An unfiltered pull returns quotes of every status, including Cancelled, Accepted and Rejected — no default status exclusion is applied.

Response Envelope

These fields are shared by every api/v1/list/* endpoint; see also Reading large lists at scale. The per-record fields returned inside data are listed separately below.

FieldDescription
successWhether the request succeeded. Always true in this envelope - a failed request returns an error response instead of this shape.
dataThe matching records for this page. Each item is a flat JSON object containing whichever of the endpoint's fields apply to that record; fields that are empty or not relevant to that record are omitted, so do not assume every field is present on every row.
nextCursorAn opaque token for fetching the next page, or null once you have the last page. Pass it back unchanged as the cursor query parameter to continue the same run in the same order, with no gaps or duplicates; do not construct or inspect its contents.
highWaterMarkA server-captured cutoff timestamp, or null. On endpoints that support incremental sync, re-supply it as the lower bound of your next pull's lastModified filter to fetch only what changed since this run. On endpoints that do not support incremental sync, treat it as unused rather than assuming null means "not supported".
maxrowsThe number of rows requested for this page, after clamping to the endpoint's cap (1000) and defaulting (100) when omitted or non-positive - the value actually applied, not necessarily the value you sent.

Response Fields

Each item in the data array is a flat JSON object (not a JSON:API resource) containing whichever of the fields below apply to that record; fields that are empty or not relevant to that record are omitted, so do not assume every field is present on every row.

Field
quoteId
status
type
priority
custRef
faultDesc
invDesc
itemDesc
dateIn
dateRequired
dateValid
lastModified
total
tax
costTotal
stockTotal
profit
probability
hcTotal
jobId
itemCode
itemMake
itemModel
customerCode
customerName
customerAttn
fromCode
shipCode
shipName
nameCode
accountManagerName
currencyCode
branchCode
subBranchCode
gLDeptCode
companyName
sourceName
sourceValue
rejectionReason

Example GET

Path: api/v1/list/quotes?maxrows=100

This example shows the maximum set of fields the endpoint can return, all populated with placeholder values — it is generated documentation, not real data or a real cursor, and the placeholder values do not indicate a field's actual data type. A real response only contains the data that applies to that record, so fields that are empty or not relevant are omitted — do not assume every field shown here will be present in every response.

This is a list. To keep the example readable, only one item is shown here; a real page can contain up to maxrows items. See Reading large lists at scale for the cursor paging and highWaterMark conventions shared by every list/* endpoint.

Side-loading related resources with the include query parameter is not supported on list endpoints: an include parameter is ignored here and no included section is returned.

Response:

{
  "success": true,
  "data": [
    {
      "quoteId": 1001,
      "status": "Example Status",
      "type": "Example Type",
      "priority": "Example Priority",
      "custRef": "Example Cust Ref",
      "faultDesc": "Example Fault Desc",
      "invDesc": "Example Inv Desc",
      "itemDesc": "Example Item Desc",
      "dateIn": "2026-08-13T09:00:00Z",
      "dateRequired": "2026-08-13T09:00:00Z",
      "dateValid": "2026-08-13T09:00:00Z",
      "lastModified": "2026-08-13T09:00:00Z",
      "total": 123.45,
      "tax": 123.45,
      "costTotal": 123.45,
      "stockTotal": 123.45,
      "profit": 123.45,
      "probability": "Example Probability",
      "hcTotal": 123.45,
      "jobId": 1001,
      "itemCode": "Example Item Code",
      "itemMake": "Example Item Make",
      "itemModel": "Example Item Model",
      "customerCode": "Example Customer Code",
      "customerName": "Example Customer Name",
      "customerAttn": "Example Customer Attn",
      "fromCode": "Example From Code",
      "shipCode": "Example Ship Code",
      "shipName": "Example Ship Name",
      "nameCode": "Example Name Code",
      "accountManagerName": "Example Account Manager Name",
      "currencyCode": "Example Currency Code",
      "branchCode": "Example Branch Code",
      "subBranchCode": "Example Sub Branch Code",
      "gLDeptCode": "Example G L Dept Code",
      "companyName": "Example Company Name",
      "sourceName": "Example Source Name",
      "sourceValue": "Example Source Value",
      "rejectionReason": "Example Rejection Reason"
    }
  ],
  "nextCursor": "eyJrZXkiOjEwMDF9",
  "highWaterMark": "2026-08-13T09:00:00Z",
  "maxrows": 100
}