Search

GET /api/truck/search

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

  • truck string

    Searches ALL trucks (in all carriers) with number starting with this value

Responses

GET /api/truck/search
curl \
 -X GET http://127.0.0.1:8080/api/truck/search
Response examples (200)
[{"fuel_type"=>"CNG", "truck"=>"string", "truck_carrier_id"=>42, "truck_carrier_name"=>"string", "truck_id"=>42, "type"=>"BOX"}]