Skip to content

What is still wrong with a day's plan

GET
/rounds/plan-warnings
curl --request GET \
--url 'https://example.com/rounds/plan-warnings?date=2026-04-15' \
--cookie __Host-bottle.session_token=<__Host-bottle.session_token>

What Plan day could not check or found short on that date, as it stands now: a product with no weight or space, a vehicle with no payload, a yard or a loaded vehicle short of cylinders, or a yard with no stock figure. The orders stay on their rounds. One that has been fixed no longer appears.

date
required
string format: date

Plan warnings

Media typeapplication/json
object
items
required
Array<object>
object
code
required
string
Allowed values: noWeight noSpace noPayload heldForSales salesRoomShort noStockFigure shortInYard shortOnVehicle outsideArea areaRuleMissed districtCentre
subject
required
string
message
required
string
productId
required
string | null
productName
required
string | null
vehicleId
required
string | null
vehicleName
required
string | null
yardId
required
string | null
yardName
required
string | null
needed
required
integer | null
available
required
integer | null
kinds
required
integer | null
> 0

Example

{
"items": [
{
"code": "noWeight"
}
]
}

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"
}

Validation failed

Media typeapplication/json
object
error
required
string
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string

Example

{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}