SummaryDamaged

GET /api/dashboard/summary/damaged

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Query parameters

Responses

GET /api/dashboard/summary/damaged
curl \
 -X GET https://api-dev.gatego.io:443/api/dashboard/summary/damaged \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "content": [
    {
      "damage": "string",
      "damage_asset_type": "string",
      "damage_id": 42,
      "damage_pictures_ids": [
        42
      ],
      "damage_reference": "string",
      "id": 42,
      "status": "OPEN",
      "trailer": "string",
      "trailer_carrier_id": 42,
      "truck_carrier_id": 42
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 42,
  "number_of_elements": 42,
  "pageable": {
    "offset": 42,
    "page_number": 42,
    "page_size": 42,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 42,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "total_elements": 42,
  "total_pages": 42
}