customer

Viewset that supports all normal viewset functionality.

get/api/customer/maintenance-contract/

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

integer
OR
string

One id, or several comma-separated ids. A single id may ride as a number (?customer=12); more than one, and an id list restored from a shared address, is the comma-joined string, where a comma inside an item is escaped ,.

namestring
orderingstring[]

Fields to sort by, in order of precedence. Prefix a field with - for descending.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page. Capped at 1000: a larger value is clamped, not rejected.

qstring

A search term.

remarksstring

Response

countinteger
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

    • info

      query request parameter customer list-of-types was widened by adding types string

    • info

      for the query request parameter customer, the type was generalized from integer to no type

    • warning

      for the query request parameter page_size, the max was set to 1000.00

    • warning

      for the query request parameter page_size, the min was set to 1.00