OfficeGest
Workshop/Camera plates

List camera plate readings

Returns a list of camera plate readings with vehicle information.

GET
/workshop/camera-plates
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer

Items per page. Default 50, maximum 250; a larger value is truncated to 250.

Default50
Range1 <= value <= 250
page?integer

Page number. Default 1; a value below 1 counts as 1.

Default1
Range1 <= value
filter?object

Filter criteria

Empty Object

Response Body

curl -X GET "https://og-tenant1.test:8003/api/v2/workshop/camera-plates?limit=50&page=1"
{
  "data": [
    {
      "camera_plate_id": 0,
      "plate": "string",
      "customer_id": 0,
      "description": "string",
      "brand": "string",
      "model": "string",
      "version": "string",
      "fuel": "string",
      "current_km": 0,
      "date_last_visit": "string",
      "is_new": 0
    }
  ],
  "meta": {
    "per_page": 50,
    "current_page": 1,
    "has_more": true
  }
}
{
  "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"
  }
}
{
  "data": {
    "code": "VALIDATION_FAILED",
    "message": "The given data was invalid.",
    "errors": {
      "email": [
        "The email field is required."
      ]
    }
  },
  "meta": {
    "trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
  }
}