curl --request GET \
--url https://sandbox.myexpressdriver.com/v1/transports/{id} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://sandbox.myexpressdriver.com/v1/transports/{id}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://sandbox.myexpressdriver.com/v1/transports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.myexpressdriver.com/v1/transports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.myexpressdriver.com/v1/transports/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.myexpressdriver.com/v1/transports/{id}")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.myexpressdriver.com/v1/transports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"transport_id": "<string>",
"status": "scheduled",
"cancelled": true,
"created_at": "<string>",
"is_duplicated": true,
"duplicated_from": {
"id": "<string>",
"transport_id": "M-58120"
},
"flags": {
"plateau": true,
"electric": true,
"w_garage": true,
"parc": true,
"need_appointment": true
},
"pickup": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"delivery": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"vehicle": {
"registration": "<string>",
"vin": "<string>",
"type": "<string>",
"brand": "<string>",
"model": "<string>"
},
"distance_km": 123,
"price": {
"currency": "EUR",
"amount_ht": 123,
"surcharge_ht": 123
},
"driver": {
"assigned": true,
"name": "<string>"
},
"actual": {
"picked_up_on": "<string>",
"delivered_on": "<string>"
},
"documents": {
"fiche_mission": "<string>",
"inspection_pickup": "<string>",
"inspection_delivery": "<string>"
},
"return_trip": {
"status": "scheduled",
"pickup": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"delivery": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"vehicle": {
"registration": "<string>",
"vin": "<string>",
"type": "<string>",
"brand": "<string>",
"model": "<string>"
},
"distance_km": 123,
"price": {
"currency": "EUR",
"amount_ht": 123,
"surcharge_ht": 123
}
}
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid API key."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "Missing required scope: transports:write"
}{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "Transport not found."
}{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "An internal error occurred. Quote the reference when contacting support.",
"reference": "3b9f6c1e-8a2d-4f5b-9c7e-1d2a3b4c5e6f"
}Détail d'une mission
curl --request GET \
--url https://sandbox.myexpressdriver.com/v1/transports/{id} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://sandbox.myexpressdriver.com/v1/transports/{id}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://sandbox.myexpressdriver.com/v1/transports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.myexpressdriver.com/v1/transports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.myexpressdriver.com/v1/transports/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.myexpressdriver.com/v1/transports/{id}")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.myexpressdriver.com/v1/transports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"transport_id": "<string>",
"status": "scheduled",
"cancelled": true,
"created_at": "<string>",
"is_duplicated": true,
"duplicated_from": {
"id": "<string>",
"transport_id": "M-58120"
},
"flags": {
"plateau": true,
"electric": true,
"w_garage": true,
"parc": true,
"need_appointment": true
},
"pickup": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"delivery": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"vehicle": {
"registration": "<string>",
"vin": "<string>",
"type": "<string>",
"brand": "<string>",
"model": "<string>"
},
"distance_km": 123,
"price": {
"currency": "EUR",
"amount_ht": 123,
"surcharge_ht": 123
},
"driver": {
"assigned": true,
"name": "<string>"
},
"actual": {
"picked_up_on": "<string>",
"delivered_on": "<string>"
},
"documents": {
"fiche_mission": "<string>",
"inspection_pickup": "<string>",
"inspection_delivery": "<string>"
},
"return_trip": {
"status": "scheduled",
"pickup": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"delivery": {
"address": "<string>",
"lat": 123,
"lng": 123,
"date": "<string>",
"start_time": "<string>",
"end_time": "<string>",
"contact": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"company": "<string>"
}
},
"vehicle": {
"registration": "<string>",
"vin": "<string>",
"type": "<string>",
"brand": "<string>",
"model": "<string>"
},
"distance_km": 123,
"price": {
"currency": "EUR",
"amount_ht": 123,
"surcharge_ht": 123
}
}
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid API key."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "Missing required scope: transports:write"
}{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "Transport not found."
}{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "An internal error occurred. Quote the reference when contacting support.",
"reference": "3b9f6c1e-8a2d-4f5b-9c7e-1d2a3b4c5e6f"
}Autorisations
Clé API liée à un groupe (med_live_… en production, med_test_… en test).
Fournie en clair une seule fois à la création depuis le profil client.
Paramètres de chemin
Identifiant de la mission (offer_id).
Réponse
Détail de la mission.
Détail complet d'une mission (DTO public, allow-list stricte).
Identifiant de la mission (offer_id).
Référence métier (ex. M-12345).
Statut public stable d'une mission (ou de sa jambe retour) :
scheduled (planifiée, en attente de convoyeur), assigned (convoyeur
attribué, véhicule pas encore enlevé), in_transit (aller en cours),
in_transit_return (retour en cours), awaiting_documents (en attente des
PV / documents), under_review (documents en validation), completed
(terminée, jamais une mission annulée), incident (anomalie signalée),
cancelled (mission annulée).
scheduled, assigned, in_transit, in_transit_return, awaiting_documents, under_review, completed, incident, cancelled Vrai si la mission est annulée (status vaut alors cancelled).
Vrai si cette mission a déjà servi de source à une duplication
(POST /transports/{id}/duplicate). Une mission ne se duplique qu'une fois.
Mission source lorsque celle-ci a été créée par duplication, sinon null.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Point d'enlèvement ou de livraison.
Show child attributes
Show child attributes
Point d'enlèvement ou de livraison.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Montant tarifaire d'une jambe.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Jambe retour (null si la mission n'a pas de retour).
Show child attributes
Show child attributes
