API Version: v1.0
Overview
The Get Units’ Models API returns a list of make/models from Logisoft based on entered criteria.
Sample Request
HTTP
GET https://app.logisoft.io/api/booking/unitmodels
Responses
Status | Meaning | Description |
---|---|---|
200 | OK | Successful operation |
1 | OK | Ok with DomainErrorMessage if an exception is handled |
500 | Internal Server Error | Something has gone wrong on the website’s server. |
Parameters
Name | Required | Type | Description |
---|---|---|---|
search | false | string | Make, Model, or Description of the vehicle. |
type | false | string | The vehicle type: C = car, V = Van, B = Big Van, T = Truck, U = Unit, M = Motorcycle, E = Equipment, K = Container |
Sample Response
Status code: 200
JSON
[
{
"id": 1706,
"description": "CARAVAN",
"make": "GEN",
"model": "CARAVAN",
"type": "T",
"length": null,
"width": null,
"height": null,
"weight": 3000.00
},
{
"id": 1707,
"description": "CUTTER BARS ON TROLL",
"make": "GEN",
"model": "CUTTER BARS ON TROLL",
"type": "T",
"length": null,
"width": null,
"height": null,
"weight": 7500.00
},
{
"id": 1708,
"description": "BAILER",
"make": "GEN",
"model": "BAILER",
"type": "T",
"length": null,
"width": null,
"height": null,
"weight": 3500.00
},
{
"id": 1709,
"description": "DENNIS FIRE ENGINE",
"make": "GEN",
"model": "DENNIS FIRE ENGINE",
"type": "T",
"length": null,
"width": null,
"height": null,
"weight": 7600.00
}
]