order

Viewset that supports all normal viewset functionality.

get/api/order/cost/

Request

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

Query parameters

cost_type'actual_work' | 'call_out_costs' | 'distance' | 'extra_work' | 'travel_hours' | 'used_materials' | 'work_hours'
  • used_materials - used_materials
  • work_hours - work_hours
  • travel_hours - travel_hours
  • distance - distance
  • extra_work - extra_work
  • actual_work - actual_work
  • call_out_costs - call_out_costs
orderinteger
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

      the response optional property // became read-only for the status

    • info

      the response optional property // became read-only for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status