SpotGo
  1. Vehicles
SpotGo
  • Getting started
    • Introduction
    • Authentication
    • Opportunities vs Orders
    • Mappings
  • Order
    • Orders Processing
    • /api/v1/orders/file
      POST
    • /api/v1/orders
      POST
    • /api/v2/orders/{orderId}
      GET
    • /api/v1/orders/{orderId}/file
      GET
  • Opportunity
    • Opportunities (Freight Qoutes)
    • /api/v1/opportunities
      POST
    • /api/v1/opportunities/file
      POST
    • /api/v1/opportunities/image
      POST
    • /api/v1/opportunities/{opportunityId}
      GET
    • /api/v1/opportunities/{opportunityId}/custom
      GET
    • /api/v1/opportunities/{opportunityId}/default
      GET
  • Freight
    • Freight publish
    • /api/v1/freights
      POST
    • /api/v1/freights/{freightId}
      PUT
    • /api/v1/freights/{freightId}
      DELETE
  • Vehicles
    • /api/v1/vehicles
      POST
    • /api/v1/vehicles
      GET
    • /api/v1/vehicles/{vehicleId}
      PUT
    • /api/v1/vehicles/{vehicleId}
      DELETE
    • /api/v1/vehicles/{vehicleId}
      GET
  • Feedback
    • /api/v1/feedback
  • Webhook
    • Webhooks flow
    • /api/v1/webhooks
    • /api/v1/webhooks
    • /api/v1/webhooks/{subscriptionId}
  • Documents
    • Documents processing
    • /api/v1/documents
    • /api/v1/documents/{documentId}/file
    • /api/v1/documents/invoice/{documentId}
    • /api/v1/documents/receipt/{documentId}
    • /api/v1/documents/cmr/{documentId}
  • AccountManagement
    • /api/v1/accounts
    • /api/v1/accounts/block
  1. Vehicles

/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
owner
string  | null 
optional
sources
array[integer <int32>] | null 
optional
requirements
object (VehicleRequirementsSubmitModel) 
optional
vehicleType
integer <int32>
optional
trailerType
integer <int32>
optional
capacity
number <float>
optional
ldm
number <float>
optional
pallets
integer <int32> | null 
optional
interestedInLtl
boolean 
optional
capabilities
array[integer <int32>] | null 
optional
loading
object (VehicleLoadingLocationSubmitModel) 
optional
address
object (VehicleAddressSubmitModel) 
optional
period
object (VehicleLocationPeriodSubmitModel) 
optional
unloading
object (VehicleUnloadingLocationSubmitModel) 
optional
address
array[object (VehicleAddressSubmitModel) {3}]  | null 
optional
range
integer <int32> | null 
optional
comments
string  | null 
optional
Examples

Responses

🟢200OK
OK
This response does not have a body.
🟠400Bad Request
Modified at 2025-05-04 13:27:46
Previous
/api/v1/freights/{freightId}
Next
/api/v1/vehicles
Built with