OfficeGest
Workshop/Reports/Vehicles in park

Vehicles in park

Returns the open service orders of the workshop park: status ESP or EXE and not cancelled, newest first. Scoped to the billing series the authenticated user has access to, exactly like the legacy widget: a user with no series access configured sees every series, which is the legacy behaviour and not an authorization decision taken here. Takes no parameters and is not paginated.

GET
/workshop/reports/vehicles-in-park
AuthorizationBearer <token>

In: header

Response Body

curl -X GET "https://og-tenant1.test:8003/api/v2/workshop/reports/vehicles-in-park"
{
  "data": [
    {
      "service_order": {
        "number": 0,
        "document_number": "string"
      },
      "vehicle_ref": "string",
      "brand": "string",
      "model": "string",
      "customer": {},
      "technician": {},
      "entry_date": "string"
    }
  ]
}
{
  "data": {
    "code": "VALIDATION_FAILED",
    "message": "The given data was invalid.",
    "errors": {
      "email": [
        "The email field is required."
      ]
    }
  },
  "meta": {
    "trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
  }
}
{
  "data": {
    "code": "VALIDATION_FAILED",
    "message": "The given data was invalid.",
    "errors": {
      "email": [
        "The email field is required."
      ]
    }
  },
  "meta": {
    "trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
  }
}
{
  "data": {
    "code": "VALIDATION_FAILED",
    "message": "The given data was invalid.",
    "errors": {
      "email": [
        "The email field is required."
      ]
    }
  },
  "meta": {
    "trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
  }
}