/api/v1/vehicles
POST
https://api-test.spotgo.eu/api/v1/vehicles
Vehicles
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.spotgo.eu/api/v1/vehicles' \
--header 'Content-Type: application/json' \
--data-raw '{
"owner": "string",
"sources": [
0
],
"requirements": {
"vehicleType": 0,
"trailerType": 0,
"capacity": 0,
"ldm": 0,
"pallets": 0,
"interestedInLtl": true,
"capabilities": [
0
]
},
"loading": {
"address": {
"countryCode": "string",
"city": "string",
"postalCode": "string"
},
"period": {
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z"
}
},
"unloading": {
"address": [
{
"countryCode": "string",
"city": "string",
"postalCode": "string"
}
]
},
"range": 0,
"comments": "string"
}'
Response Response Example
{
"errorCode": "string",
"errorMessage": "string",
"errorDetails": {
"property1": {
"errorMessage": "string"
},
"property2": {
"errorMessage": "string"
}
}
}
Request
Body Params application/json
Responses
Modified at 2025-05-04 13:27:46