Skip to main content
GET
/
api
/
orders
Query orders
curl --request GET \
  --url https://reit.connectors.aicoflow.com/api/orders
{
  "success": true,
  "orders": [
    {
      "id": 123,
      "short_name": "<string>",
      "plate": "<string>",
      "person": "<string>",
      "phone": "<string>",
      "email": "<string>",
      "damage": "<string>",
      "project_status": "<string>",
      "station_id": 123,
      "station_state": "<string>",
      "shop_date": "<string>",
      "repair_date": "<string>",
      "finish_date": "<string>",
      "planned_delivery_date": "<string>",
      "parts_status": "<string>",
      "missing_parts": 0,
      "est_hours_karo": 123,
      "est_hours_lack": 123,
      "est_hours_mech": 123,
      "vin": "<string>",
      "kba": "<string>",
      "manufacturer_name": "<string>",
      "model_name": "<string>",
      "sub_model_name": "<string>",
      "engine_type": "<string>",
      "engine_size": "<string>",
      "engine_power": "<string>",
      "curb_weight": "<string>",
      "gross_weight": "<string>",
      "first_registration": "<string>",
      "last_registration": "<string>",
      "hu_au": "<string>",
      "mileage": "<string>",
      "engine_code": "<string>",
      "country_of_origin": "<string>",
      "vehicle_owner": "<string>",
      "owner_phone": "<string>",
      "owner_address": "<string>",
      "appointment_date": "<string>",
      "external_calculation": "<string>",
      "express_link": "<string>",
      "address": "<string>",
      "zip_code": "<string>",
      "city": "<string>",
      "country": "<string>",
      "remarks": "<string>",
      "total_net_cost": 123,
      "total_gross_cost": 123,
      "insurance_json": "<unknown>",
      "costs_json": "<unknown>"
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123,
  "message": ""
}

Query Parameters

text
string | null

Free-text search query

plate
string | null

License plate filter

person
string | null

Person name filter

phone
string | null

Phone number filter

email
string | null

Email filter

status
string | null

Project status filter

damage
string | null

Damage category filter

station
integer | null

Station ID filter

missing_parts
boolean
default:false

Filter orders with missing parts

after
string | null

Shop date >= YYYY-MM-DD

before
string | null

Shop date <= YYYY-MM-DD

finish_after
string | null

Finish date >= YYYY-MM-DD

finish_before
string | null

Finish date <= YYYY-MM-DD

limit
integer
default:50

Maximum results per page

Required range: 1 <= x <= 1000
offset
integer
default:0

Number of results to skip

Required range: x >= 0

Response

Paginated list of orders matching the filters

Query orders response.

success
boolean
required
orders
OrderModel · object[]
required
total
integer
required
limit
integer
required
offset
integer
required
message
string
default:""