curl -X GET "https://www.okasie.be/api/external/v1/listings?pageSize=50&status=active" \
-H "Authorization: Bearer YOUR_API_SECRET"
{
"data": [
{
"id": "46c7f6c9-70f7-4f98-8c32-12f1a67c6f2e",
"dealerProfileId": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f",
"externalReference": "ref-123",
"title": "Opel Corsa 1.2 Turbo",
"status": "active",
"price": 19995,
"currency": "EUR",
"brand": "Opel",
"model": "Corsa",
"year": 2021,
"mileage": 25000,
"fuelType": "petrol",
"transmission": "automatic",
"bodyType": "hatchback",
"location": {
"postalCode": "9000",
"city": "Gent",
"province": "Oost-Vlaanderen",
"latitude": 51.0543,
"longitude": 3.7174
},
"images": [
{"url": "https://cdn.okasie.be/images/46c7f6c9/main.jpg", "position": 0}
],
"dealer": {
"id": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f",
"companyName": "Auto Gent",
"locationCode": "DEX-GENT"
},
"createdAt": "2024-10-01T12:34:56Z",
"updatedAt": "2024-10-05T09:12:01Z"
}
],
"pagination": {
"page": 1,
"pageSize": 50,
"totalItems": 123,
"totalPages": 3
},
"meta": {
"partner": {
"id": "partner-id",
"name": "Partner Name"
}
}
}
Retrieve paginated vehicle listings
curl -X GET "https://www.okasie.be/api/external/v1/listings?pageSize=50&status=active" \
-H "Authorization: Bearer YOUR_API_SECRET"
{
"data": [
{
"id": "46c7f6c9-70f7-4f98-8c32-12f1a67c6f2e",
"dealerProfileId": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f",
"externalReference": "ref-123",
"title": "Opel Corsa 1.2 Turbo",
"status": "active",
"price": 19995,
"currency": "EUR",
"brand": "Opel",
"model": "Corsa",
"year": 2021,
"mileage": 25000,
"fuelType": "petrol",
"transmission": "automatic",
"bodyType": "hatchback",
"location": {
"postalCode": "9000",
"city": "Gent",
"province": "Oost-Vlaanderen",
"latitude": 51.0543,
"longitude": 3.7174
},
"images": [
{"url": "https://cdn.okasie.be/images/46c7f6c9/main.jpg", "position": 0}
],
"dealer": {
"id": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f",
"companyName": "Auto Gent",
"locationCode": "DEX-GENT"
},
"createdAt": "2024-10-01T12:34:56Z",
"updatedAt": "2024-10-05T09:12:01Z"
}
],
"pagination": {
"page": 1,
"pageSize": 50,
"totalItems": 123,
"totalPages": 3
},
"meta": {
"partner": {
"id": "partner-id",
"name": "Partner Name"
}
}
}
active, pending, sold, draft, or all2024-10-01T00:00:00Z)Show Listing object properties
active, pending, sold, or draftpostalCode, city, province, latitude, longitudeurl and positioncurl -X GET "https://www.okasie.be/api/external/v1/listings?pageSize=50&status=active" \
-H "Authorization: Bearer YOUR_API_SECRET"
{
"data": [
{
"id": "46c7f6c9-70f7-4f98-8c32-12f1a67c6f2e",
"dealerProfileId": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f",
"externalReference": "ref-123",
"title": "Opel Corsa 1.2 Turbo",
"status": "active",
"price": 19995,
"currency": "EUR",
"brand": "Opel",
"model": "Corsa",
"year": 2021,
"mileage": 25000,
"fuelType": "petrol",
"transmission": "automatic",
"bodyType": "hatchback",
"location": {
"postalCode": "9000",
"city": "Gent",
"province": "Oost-Vlaanderen",
"latitude": 51.0543,
"longitude": 3.7174
},
"images": [
{"url": "https://cdn.okasie.be/images/46c7f6c9/main.jpg", "position": 0}
],
"dealer": {
"id": "7f7f7f7f-7f7f-407f-a7f7-7f7f7f7f7f7f",
"companyName": "Auto Gent",
"locationCode": "DEX-GENT"
},
"createdAt": "2024-10-01T12:34:56Z",
"updatedAt": "2024-10-05T09:12:01Z"
}
],
"pagination": {
"page": 1,
"pageSize": 50,
"totalItems": 123,
"totalPages": 3
},
"meta": {
"partner": {
"id": "partner-id",
"name": "Partner Name"
}
}
}