Skip to navigation

Send your first wash

View as Markdown

Send your first wash

This is the main call most integrators care about: tell the tunnel which wash to run.

Endpoint: Send Wash → POST /sendWash

Use a test package

Coordinate with the site before sending live traffic. Start with a known test wash number they approve.

The request body (plain English)

FieldRequired?What it means
BaseWashYesMain wash package number
UpsellListNoExtra options (list of numbers). Use [] if none
OverrideListNoOverride options (list of numbers). Use [] if none
requeueNoMCWW: true if this wash is a requeue
vehicle_identifierNoMCWW: short text tag (max 20 characters)

If the site uses a wash map, the numbers in your JSON may be POS codes, not the final controller codes. The API translates them.
If there is no map, send controller codes directly.

Copy-paste examples

curl -X POST http://CONTROLLER_IP:4444/sendWash \
-H "Content-Type: application/json" \
-d "{
\"BaseWash\": 1,
\"UpsellList\": [],
\"OverrideList\": []
}"

With options (after you know valid codes for that site):

{
"BaseWash": 1,
"UpsellList": [1, 2],
"OverrideList": [2],
"requeue": false,
"vehicle_identifier": "TEST-CAR"
}

What success looks like

HTTP 200 with this shape (both modes):

{
"WashPackage": 1,
"UpsellList": [],
"OverrideList": []
}
FieldMeaning
WashPackagePackage that was written / accepted
UpsellListUpsells as processed
OverrideListOverrides as processed

On MCWW, WashPackage is not always a round-trip echo of the BaseWash you typed after mapping.
If you got 200, treat the wash as accepted.

What failure looks like

Errors usually look like:

{
"message": "something human-readable",
"error": "optional_code"
}
StatusTypical meaning
400Bad numbers, validation failed, or controller rejected the write
404That endpoint doesn’t exist in this mode (wrong mode?)
500Server/internal problem — or Washlink stacker disabled
501Wash counts not available for that MCWW series (counts endpoint only)

After a successful wash

Optional next checks (MCWW):

  1. Vehicle Status — see wash_in_queue / photo-eye flags
  2. Get Wash Counts — tallies (API 2.4+)

Washlink: vehicle endpoints are 404. Use counts + tunnel controls instead.

Prefer these conveyor calls

Do not use /ConveyorOn, /ConveyorOff, or /ConveyorAuto — they always return deprecated errors.


Stuck? See Common questions or the full Wash API Overview.