Get today's overview
GET
/overview
const url = 'https://example.com/overview';const options = { method: 'GET', headers: {cookie: 'bottle.session_token=<bottle.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/overview \ --cookie bottle.session_token=<bottle.session_token>Today’s rounds and everything waiting on a decision, in one call. An owner or admin gets the yard: every round, orders with nobody carrying them, drops that failed, refunds owed, vehicles due at the garage. A driver gets their own round and nothing else, because the state of somebody else’s van is not their business.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”date
The day. Defaults to today.
string format: date
The day. Defaults to today.
Responses
Section titled “Responses”The day
Media typeapplication/json
object
date
required
string format: date
view
required
string
rounds
required
Array<object>
object
id
required
string
vehicleName
required
string | null
driverName
required
string | null
status
required
string
issuedAt
required
string | null format: date-time
stops
required
integer
done
required
integer
failed
required
integer
departsAt
required
string | null
backAt
required
string | null
over
required
Array<string>
attention
required
Array<object>
object
kind
required
string
count
required
integer
href
required
string
drops
required
object
total
required
integer
done
required
integer
failed
required
integer
ordersTaken
required
integer
cashOwedPence
required
integer
money
required
object
cashTodayPence
required
integer
cashMonthPence
required
integer
invoicesToday
required
integer
invoicedTodayPence
required
integer
invoicesMonth
required
integer
invoicedMonthPence
required
integer
Example
{ "view": "yard", "rounds": [ { "status": "planned", "departsAt": "07:30", "backAt": "07:30" } ], "attention": [ { "kind": "ordersWaiting" } ]}Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not a member, or without the permission this needs
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}