API Live Demos
Selected Example:
list-vehicles
Request Information:
Method:
GET
URL:
/vehicles
Query Parameters:
pageSize:
5
Headers:
Authorization:
Bearer ***
Accept:
application/json
Content-Type:
application/json
API Response:
{
"data": [
{
"vehicle_id": 1,
"shop_id": "6062",
"customer_id": 1,
"make": "Porsche",
"model": "Panamera 4 SEDAN 4-DR",
"year": "2017",
"miles": "125000",
"vin": "WVWZZZ1JZXW123456",
"engine": "3.6L V6 DOHC 24V",
"drive_type": "AWD",
"transmission": "8-Speed Automatic",
"cylinder": "",
"license_number": "ABC1234",
"license_state": "US",
"fleet": "",
"color": "",
"current_mileage": "125000",
"timestamp": "2017-08-24T15:49:20.000000Z",
"updated_at": "2017-08-24T15:49:20.000000Z"
},
{
"vehicle_id": 2,
"shop_id": "6062",
"customer_id": 0,
"make": "CHEV",
"model": "MALIBU",
"year": "1990",
"miles": "",
"vin": "",
"engine": "",
"drive_type": "",
"transmission": "",
"cylinder": "",
"license_number": "",
"license_state": "",
"fleet": "",
"color": "",
"current_mileage": "",
"timestamp": "2017-09-25T16:03:05.000000Z",
"updated_at": "2017-09-25T16:03:05.000000Z"
},
{
"vehicle_id": 3,
"shop_id": "6062",
"customer_id": 2,
"make": "NISSAN",
"model": "PATHFINDER",
"year": "2014",
"miles": "",
"vin": "",
"engine": "4.0",
"drive_type": "AUTO",
"transmission": "",
"cylinder": "6",
"license_number": "",
"license_state": "",
"fleet": "",
"color": "GREY",
"current_mileage": "",
"timestamp": "2017-09-25T16:05:35.000000Z",
"updated_at": "2017-09-25T16:05:35.000000Z"
},
{
"vehicle_id": 9251987,
"shop_id": "6062",
"customer_id": 1,
"make": "NISSAN",
"model": "PATHFINDER SILVER EDITION 2WD SPORT UTILITY 4-DR",
"year": "2012",
"miles": "",
"vin": "JN1AZ4EH5DM789012",
"engine": "4.0L V6 DOHC 24V",
"drive_type": "",
"transmission": "",
"cylinder": "",
"license_number": "",
"license_state": "SHJ",
"fleet": "",
"color": "",
"current_mileage": "",
"timestamp": "2017-10-02T23:18:16.000000Z",
"updated_at": "2017-10-02T23:18:16.000000Z"
},
{
"vehicle_id": 9251988,
"shop_id": "6062",
"customer_id": 2,
"make": "TOYOTA",
"model": "CAMRY",
"year": "1998",
"miles": "",
"vin": "4T1BF1FK5EU345678",
"engine": "",
"drive_type": "AUTO",
"transmission": "",
"cylinder": "",
"license_number": "",
"license_state": "",
"fleet": "",
"color": "RED",
"current_mileage": "145005",
"timestamp": "2017-10-02T23:34:47.000000Z",
"updated_at": "2017-10-02T23:34:47.000000Z"
}
],
"links": {
"first": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=1",
"last": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=84",
"prev": null,
"next": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 84,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=1",
"label": "1",
"active": true
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=2",
"label": "2",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=3",
"label": "3",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=4",
"label": "4",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=5",
"label": "5",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=6",
"label": "6",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=7",
"label": "7",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=8",
"label": "8",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=9",
"label": "9",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=83",
"label": "83",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=84",
"label": "84",
"active": false
},
{
"url": "http://dev.shopboss.io/api/v1/vehicles?pageSize=5&page=2",
"label": "Next »",
"active": false
}
],
"path": "http://dev.shopboss.io/api/v1/vehicles",
"per_page": 5,
"to": 5,
"total": 417
}
}