SummaryDamaged
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
-
date_start string(date-time)
date_start
-
offset integer(int64)
-
pageNumber integer(int32)
-
pageSize integer(int32)
-
paged boolean
-
sort.sorted boolean
-
sort.unsorted boolean
-
unpaged boolean
-
date_end string(date-time)
date_end
-
yard_id integer(int64)
yard_id
-
status string
status
Values are
OPEN
orRESOLVED
. -
carrier_id integer(int64)
carrier_id
-
show_other_carriers boolean
show_other_carriers
GET /api/dashboard/summary/damaged
curl \
-X GET http://127.0.0.1:8080/api/dashboard/summary/damaged
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}