SpotGo
  1. Opportunity
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. Opportunity

/api/v1/opportunities/{opportunityId}/default

GET
https://api-test.spotgo.eu/api/v1/opportunities/{opportunityId}/default
Opportunity
These endpoints add default data on top of raw data. Extending loading, unloading location times, automatically calculating transit time, setting default trailer types, and other things. This endpoint could be used when a company wants to process freight quotes and, after the response, upload them to SpotGo as freight or import them into a freight platform.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-test.spotgo.eu/api/v1/opportunities//default'
Response Response Example
200 - Example 1
{
    "status": "Succeeded",
    "message": "string",
    "data": [
        {
            "freightDescription": {
                "additionalInformationIds": [
                    0
                ],
                "typeOfGoods": "string",
                "freightLengthInMeters": 0,
                "freightWeightInTons": 0,
                "loadingEquipmentExchange": true
            },
            "vehicleRequirements": {
                "vehicleTypeIds": [
                    0
                ],
                "vehicleBodyIds": [
                    0
                ],
                "vehicleCharacteristicsIds": [
                    0
                ],
                "certificateIds": [
                    0
                ],
                "trackable": true
            },
            "loadingPlaces": [
                {
                    "earliestLoadingDate": "string",
                    "latestLoadingDate": "string",
                    "address": {
                        "countryId": 0,
                        "city": "string",
                        "zipCode": "string",
                        "coordinate": {
                            "longitude": 0,
                            "latitude": 0
                        }
                    },
                    "earliestLoadingTime": "string",
                    "latestLoadingTime": "string",
                    "loadingType": "string"
                }
            ],
            "publicRemark": "string",
            "internalRemark": "string"
        }
    ]
}

Request

Path Params
opportunityId
string 
required

Responses

🟢200OK
application/json
OK
Body
status
enum<string> 
optional
Allowed values:
SucceededFailed
message
string  | null 
optional
data
array[object (CustomOpportunityApiModel) {5}]  | null 
optional
freightDescription
object (CustomOpportunityApiDescriptionModel) 
optional
vehicleRequirements
object (CustomOpportunityApiRequirementsModel) 
optional
loadingPlaces
array[object (CustomOpportunityApiLocationModel) {6}]  | null 
optional
publicRemark
string  | null 
optional
internalRemark
string  | null 
optional
🟠400Bad Request
🟠404Record Not Found
Modified at 2025-05-06 04:52:09
Previous
/api/v1/opportunities/{opportunityId}/custom
Next
Freight publish
Built with