SpotGo
  1. Opportunity
SpotGo
  • Getting started
    • Introduction
    • Authentication
    • Opportunities vs Orders
    • Mappings
  • Order
    • Orders Processing
    • Integrating Your Order Document Processing: A Guide to Best Practices
    • /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/share
      POST
    • /api/v1/freights
      GET
    • /api/v1/freights
      POST
    • /api/v1/freights/{freightId}
      GET
    • /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}
    • /api/v1/documents/insurance/{documentId}
  • AccountManagement
    • /api/v1/accounts
    • /api/v1/accounts/block
  • DriversDocuments
    • /api/v1/drivers-documents
    • /api/v1/drivers-documents/{documentId}
  1. Opportunity

/api/v1/opportunities/{opportunityId}

GET
https://api-test.spotgo.eu/api/v1/opportunities/{opportunityId}
Endpoint to get the data for the processed freight. Returns raw extracted, cleaned data from the input.

Request

Path Params

Responses

🟢200OK
application/json
OK
Body

🟠400Bad Request
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-test.spotgo.eu/api/v1/opportunities/'
Response Response Example
200 - Example 1
[{
	"externalNumber": "TRW22233",
	"locations": [
		{
			"sequence": 1,
			"type": "Loading",
			"address": {
				"countryCode": "LT",
				"postalCode": "01001",
				"city": "Vilnius",
				"coordinates": {
					"lattitude": 54.6842,
					"longitude": 25.2724
				}
			},
			"period": {
				"startDate": "2023-06-25T08:00:00",
				"endDate": "2023-06-28T17:00:00"
			}
		},
		{
			"sequence": 2,
			"type": "Unloading",
			"address": {
				"countryCode": "DE",
				"postalCode": "10115",
				"city": "Berlin"
			},
			"period": {
				"startDate": "2023-06-28T00:00:00",
				"endDate": "2023-06-28T00:00:00"
			}
		}
	],
	"requirements": {
		"trailerTypes": [1,2],
		"loadingSide": "All",
		"capacity": 8,
		"pallets": 5,
		"palletsExchange": false,
		"ldm": null,
		"ftl": false,
		"cargos": [
            {
                "weight": 8000,
                "pallets": 5,
                "palletExchange": false,
                "ldm": null,
                "length": null,
                "width": null
            }
        ],
        "additionalCapabilities": [
            "adr",
            "twoDrivers",
            "lift",
            "doubleDeck"
        ],
		"temperature": {
			"max": 5,
			"min": -5,
			"regime": "Continuous"
		}
	},
	"payment": {
		"from": 500,
		"currency": "EUR"
	},
	"comments": "Some comments for additional information",
	"kilometers": 1185, // kilometers from the user input
	"customerName": "Fast Transport Gmbh",
	"transitInfo": { // Calculated route
        "timeInMinutes": 1710,
        "distanceInKm": 1115
    },
}]
Modified at 2025-05-06 04:50:00
Previous
/api/v1/opportunities/image
Next
/api/v1/opportunities/{opportunityId}/custom
Built with