company

Viewset that supports all normal viewset functionality.

get/api/company/branch/

Request

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

Query parameters

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.

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

    • 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

    • info

      added the new optional query request parameter ordering