Fetches a resource
import requests
resource_id = "YOUR_resource_id_PARAMETER"
url = "https://api.qargo.com/v1/resources/resource/" + resource_id
headers = {"Authorization": "Bearer <YOUR_TOKEN_HERE>"}
response = requests.get(url, headers=headers)
data = response.json()
print(data)Successful Response
Locale of the resource. Format: ISO 639-1 language code, optionally followed by a dash and ISO 3166-1 alpha-2 country code.
Related integrations for the resource. The key is the unique code of the integration in Qargo
Read-only. True if this is a non-owned (subcontractor) resource. When this resource appears inside a trip, name / license_plate / container_number reflect the per-trip override value if one was set on the resource allocation; otherwise the resource master value is returned. null indicates the value is not yet projected — treat as internal for backwards compatibility.
Timestamp of the last update of the resource
Resource groups this resource currently belongs to (deduplicated and sorted by name). A resource can belong to more than one group. Active allocations are included regardless of their validity window (scheduled, future, or expired); archived allocations are excluded.
- DriverResourceOutput
- TractorResourceOutput
- TruckResourceOutput
- VanResourceOutput
- TrailerResourceOutput
- FullTrailerResourceOutput
- ChassisResourceOutput
- ContainerResourceOutput
{ "row_id": "63f10953-3e9d-4dde-8a8d-8423a5ddfff4", "name": "string", "external_id": "string", "locale": "en", "code": "string", "note": "string", "custom_fields": {}, "subcontractor": { "row_id": "63f10953-3e9d-4dde-8a8d-8423a5ddfff4" }, "integrations": { "addsecure1234": { … } }, "billing_entity": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_name": "Qargo BV", "vat_number": "NL123456789B01", "code": "QARGO", "company_registration_number": "12345678", "is_default": false }, "extras": [ { … } ], "is_active": true, "is_external_resource": true, "timestamp_updated": "2019-08-24T14:15:22Z", "resource_groups": [ { … } ], "driver": { "first_name": "string", "last_name": "string", "email_address": "string", "date_of_birth": "2025-04-10", "phone_number": "+32412345678", "start_stop_location": { … } } }