Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleTable of contents
Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

Aura panel
summaryInfo
paramsJTdCJTIyYm9keSUyMiUzQSU3QiUyMnRleHQlMjIlM0ElN0IlMjJmb250U2l6ZSUyMiUzQTE0JTJDJTIyY29sb3IlMjIlM0ElN0IlMjJsaWdodCUyMiUzQSUyMiUyMzRkNGU1MyUyMiU3RCUyQyUyMnRleHRBbGlnbiUyMiUzQSUyMmxlZnQlMjIlMkMlMjJmb250V2VpZ2h0JTIyJTNBJTIybm9ybWFsJTIyJTdEJTdEJTJDJTIyaGVhZGVyJTIyJTNBJTdCJTIyaWNvbiUyMiUzQSU3QiUyMnNpemUlMjIlM0ExOCUyQyUyMm5hbWUlMjIlM0ElMjJjaXJjbGUtaW5mbyUyMiUyQyUyMmNvbG9yJTIyJTNBJTdCJTIybGlnaHQlMjIlM0ElMjIlMjNmNmMzMjElMjIlN0QlN0QlN0QlMkMlMjJoZWFkbGluZSUyMiUzQSU3QiUyMnRleHQlMjIlM0ElN0IlMjJ0ZXh0JTIyJTNBJTIySW5mbyUyMiUyQyUyMmZvbnRTaXplJTIyJTNBMTglMkMlMjJjb2xvciUyMiUzQSU3QiUyMmxpZ2h0JTIyJTNBJTIyJTIzNGQ0ZTUzJTIyJTdEJTJDJTIydGV4dEFsaWduJTIyJTNBJTIybGVmdCUyMiUyQyUyMmZvbnRXZWlnaHQlMjIlM0ElMjJib2xkJTIyJTdEJTdEJTJDJTIyYmFzZSUyMiUzQSU3QiUyMmJveFNoYWRvdyUyMiUzQSU3QiUyMnNoYWRvd3MlMjIlM0ElNUIlN0IlMjJjb2xvciUyMiUzQSUyMnJnYmEoMCUyQyUyMDAlMkMlMjAwJTJDJTIwMC4wOCklMjIlMkMlMjJ4JTIyJTNBMCUyQyUyMnklMjIlM0ExJTJDJTIyYmx1ciUyMiUzQTElMkMlMjJzcHJlYWQlMjIlM0EwJTdEJTJDJTdCJTIyY29sb3IlMjIlM0ElMjJyZ2JhKDAlMkMlMjAwJTJDJTIwMCUyQyUyMDAuMTYpJTIyJTJDJTIyeCUyMiUzQTAlMkMlMjJ5JTIyJTNBMSUyQyUyMmJsdXIlMjIlM0EzJTJDJTIyc3ByZWFkJTIyJTNBMSU3RCU1RCU3RCUyQyUyMmJvcmRlclJhZGl1cyUyMiUzQSU3QiUyMnJhZGl1cyUyMiUzQTQlN0QlMkMlMjJiYWNrZ3JvdW5kQ29sb3IlMjIlM0ElN0IlMjJjb2xvciUyMiUzQSUyMiUyM2ZmZmZmZiUyMiU3RCUyQyUyMmJvcmRlciUyMiUzQSU3QiUyMmNvbG9yJTIyJTNBJTdCJTIybGlnaHQlMjIlM0ElMjIlMjNmNmMzMjElMjIlN0QlMkMlMjJzdHlsZSUyMiUzQSUyMnNvbGlkJTIyJTJDJTIyd2lkdGglMjIlM0EyJTJDJTIyYm90dG9tJTIyJTNBdHJ1ZSUyQyUyMnRvcCUyMiUzQXRydWUlMkMlMjJsZWZ0JTIyJTNBdHJ1ZSUyQyUyMnJpZ2h0JTIyJTNBdHJ1ZSU3RCU3RCU3RA==

Using these endpoints is only required if you use a telematics integration where Visibility Hub is not able to fetch the vehicles directly from the provider. If you're not sure if that is relevant for you, please reach out to our support department.

For managing vehicles related to an integration, you need to know the following identifiers:

  • integration_id: The telematics integration you'd like to manage the vehicles for.

  • integration_vehicle_id: The id of the vehicle, which serves as a unique identifier for that vehicle.

  • license_plate: The license plate of the vehicle that you'd like to connect or disconnect, which is used for allocation and shown in the user interface.

In addition to that, the following fields are returned:

  • provider_id: The Visibility Hub side unique identification of the provider

  • setup_document_url: The instructions for the carrier on how to setup the connection, presented in the onboarding flow.

Read on to get to know how to get these relevant identifiers.

GET Telematics Integrations

This endpoint enables you to list all telematics integrations that you have added to your account. In most cases, there will only be one.

The reason for you to use this endpoint is that you need to know the integration_id when listing/creating/deleting vehicles (see next chapters).

To list all telematics integrations, make an authenticated GET request as shown in the example below:

https://api.transporeon.com/rtv/v1/telematics-integrations

The response will look as follows:

Code Block
{
    "integrations": [
        {
            "integration_id": "123",
			"setup_document_url": "https://sixfold.com/platform/telematics/daf-connect-v1-instructions",
            "provider_id": "dafconnect"
        },
        {
            "integration_id": "678",
		 	"setup_document_url": "https://sixfold.com/platform/telematics/eco-truck-instructions",
            "provider_id": "ecotruck"
        }
    ],
    "page_info": {}
}

GET Telematics Integration Vehicles

This endpoint enables you to list all vehicles currently connected to a telematics integration.

To list all all vehicles, you need to provide the integration_id as URL parameter.

In the example below, we used the integraton_id = 123. Make an authenticated GET request as shown in the example below:

https://api.transporeon.com/rtv/v1/telematics-integrations/123/vehicles

Code Block
{
    "vehicles": [
        {
            "license_plate": "AB 12 CD",
            "integration_vehicle_id": "74948"
        },
        {
            "license_plate": "EF 34 GH",
            "integration_vehicle_id": "74962"
        },
        {
            "license_plate": "EF 55 FJ",
            "integration_vehicle_id": "74963"
        }
	]
}
Aura panel
summaryNote
paramsJTdCJTIyYm9keSUyMiUzQSU3QiUyMnRleHQlMjIlM0ElN0IlMjJmb250U2l6ZSUyMiUzQTE0JTJDJTIyY29sb3IlMjIlM0ElN0IlMjJsaWdodCUyMiUzQSUyMiUyMzRkNGU1MyUyMiU3RCUyQyUyMnRleHRBbGlnbiUyMiUzQSUyMmxlZnQlMjIlMkMlMjJmb250V2VpZ2h0JTIyJTNBJTIybm9ybWFsJTIyJTdEJTdEJTJDJTIyaGVhZGVyJTIyJTNBJTdCJTIyaWNvbiUyMiUzQSU3QiUyMnNpemUlMjIlM0ExOCUyQyUyMm5hbWUlMjIlM0ElMjJjaXJjbGUtZXhjbGFtYXRpb24lMjIlMkMlMjJjb2xvciUyMiUzQSU3QiUyMmxpZ2h0JTIyJTNBJTIyJTIzZjZjMzIxJTIyJTdEJTdEJTdEJTJDJTIyaGVhZGxpbmUlMjIlM0ElN0IlMjJ0ZXh0JTIyJTNBJTdCJTIydGV4dCUyMiUzQSUyMk5vdGUlMjIlMkMl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ST Vehicles to a Telematics Integration

This endpoint enables you to connect vehicles for a telematics integration.

To connect a vehicle, make an authenticated POST request as shown in the example below:

https://api.transporeon.com/rtv/v1/telematics-integrations/59/vehicles

Payload

Code Block
{
	"integration_vehicle_id": "abc",
	"license_plate": "EF 66 ZY"
}
Aura panel
summaryNote
paramsJTdCJTIyYm9keSUyMiUzQSU3QiUyMnRleHQlMjIlM0ElN0IlMjJmb250U2l6ZSUyMiUzQTE0JTJDJTIyY29sb3IlMjIlM0ElN0IlMjJsaWdodCUyMiUzQSUyMiUyMzRkNGU1MyUyMiU3RCUyQyUyMnRleHRBbGlnbiUyMiUzQSUyMmxlZnQlMjIlMkMlMjJmb250V2VpZ2h0JTIyJTNBJTIybm9ybWFsJTIyJTdEJTdEJTJDJTIyaGVhZGVyJTIyJTNBJTdCJTIyaWNvbiUyMiUzQSU3QiUyMnNpemUlMjIlM0ExOCUyQyUyMm5hbWUlMjIlM0ElMjJjaXJjbGUtZXhjbGFtYXRpb24lMjIlMkMlMjJjb2xvciUyMiUzQSU3QiUyMmxpZ2h0JTIyJTNBJTIyJTIzZjZjMzIxJTIyJTdEJTdEJTdEJTJDJTIyaGVhZGxpbmUlMjIlM0ElN0IlMjJ0ZXh0JTIyJTNBJTdCJTIydGV4dCUyMiUzQSUyMk5vdGUlMjIlMkMlMjJmb250U2l6ZSUyMiUzQTE4JTJDJTIyY29sb3IlMjIlM0ElN0IlMjJsaWdodCUyMiUzQSUyMiUyMzRkNGU1MyUyMiU3RCUyQyUyMnRleHRBbGlnbiUyMiUzQSUyMmxlZnQlMjIlMkMlMjJmb250V2VpZ2h0JTIyJTNBJTIyYm9sZCUyMiU3RCU3RCUyQyUyMmJhc2UlMjIlM0ElN0IlMjJib3hTaGFkb3clMjIlM0ElN0IlMjJzaGFkb3dzJTIyJTNBJTVCJTdCJTIyY29sb3IlMjIlM0ElMjJyZ2JhKDAlMkMlMjAwJTJDJTIwMCUyQyUyMDAuMDgpJTIyJTJDJTIyeCUyMiUzQTAlMkMlMjJ5JTIyJTNBMSUyQyUyMmJsdXIlMjIlM0ExJTJDJTIyc3ByZWFkJTIyJTNBMCU3RCUyQyU3QiUyMmNvbG9yJTIyJTNBJTIycmdiYSgwJTJDJTIwMCUyQyUyMDAlMkMlMjAwLjE2KSUyMiUyQyUyMnglMjIlM0EwJTJDJTIyeSUyMiUzQTElMkMlMjJibHVyJTIyJTNBMyUyQyUyMnNwcmVhZCUyMiUzQTElN0QlNUQlN0QlMkMlMjJib3JkZXJSYWRpdXMlMjIlM0ElN0IlMjJyYWRpdXMlMjIlM0E0JTdEJTJDJTIyYmFja2dyb3VuZENvbG9yJTIyJTNBJTdCJTIyY29sb3IlMjIlM0ElMjIlMjNmZmZmZmYlMjIlN0QlMkMlMjJib3JkZXIlMjIlM0ElN0IlMjJjb2xvciUyMiUzQSU3QiUyMmxpZ2h0JTIyJTNBJTIyJTIzZjZjMzIxJTIyJTdEJTJDJTIyc3R5bGUlMjIlM0ElMjJzb2xpZCUyMiUyQyUyMndpZHRoJTIyJTNBMiUyQyUyMmJvdHRvbSUyMiUzQXRydWUlMkMlMjJ0b3AlMjIlM0F0cnVlJTJDJTIybGVmdCUyMiUzQXRydWUlMkMlMjJyaWdodCUyMiUzQXRydWUlN0QlN0QlN0Q=

The integration_vehicle_id must match the one maintained by the telematics (FMS) provider. If it doesn't match, the vehicle will not be able to receive position updates.

DELETE Vehicles from a Telematics Integration

This endpoint enables you to disconnect vehicles from a telematics integration.

In the example below, we used the integraton_id = 123 and vehicle license_plate = EF 34 GH 

To disconnect a vehicle, make an authenticated DELETE request as shown in the example below:

https://api.transporeon.com/rtv/v1/telematics-integrations/123/vehicles/EF 34 GH