GET
/
transports
/
{id}
/
inspection
Rapport d'inspection (PV digitalisé) de la mission
curl --request GET \
  --url https://sandbox.myexpressdriver.com/v1/transports/{id}/inspection \
  --header 'X-Api-Key: <api-key>'
{
  "data": {
    "id": "<string>",
    "offer_id": "<string>",
    "vehicle": {
      "plate": "<string>",
      "brand": "<string>",
      "model": "<string>",
      "vin": "<string>"
    },
    "created_at": "<string>",
    "updated_at": "<string>",
    "completed_at": "<string>",
    "pdf": {
      "depart": {
        "url": "<string>",
        "generated_at": "<string>",
        "photos_ok": 123,
        "photos_total": 123
      },
      "arrivee": {
        "url": "<string>",
        "generated_at": "<string>",
        "photos_ok": 123,
        "photos_total": 123
      }
    },
    "phases": {
      "depart": {
        "started_at": "<string>",
        "completed_at": "<string>",
        "location": {
          "lat": 123,
          "lng": 123,
          "accuracy_m": 123,
          "address": "<string>"
        },
        "photos": [
          {
            "id": "<string>",
            "label": "<string>",
            "url": "<string>",
            "damage_type": "<string>",
            "positions": [
              {
                "x": 123,
                "y": 123,
                "type": "<string>"
              }
            ]
          }
        ],
        "fields": [
          {
            "id": "<string>",
            "label": "<string>",
            "value": "<string>"
          }
        ]
      },
      "arrivee": {
        "started_at": "<string>",
        "completed_at": "<string>",
        "location": {
          "lat": 123,
          "lng": 123,
          "accuracy_m": 123,
          "address": "<string>"
        },
        "photos": [
          {
            "id": "<string>",
            "label": "<string>",
            "url": "<string>",
            "damage_type": "<string>",
            "positions": [
              {
                "x": 123,
                "y": 123,
                "type": "<string>"
              }
            ]
          }
        ],
        "fields": [
          {
            "id": "<string>",
            "label": "<string>",
            "value": "<string>"
          }
        ]
      }
    }
  }
}

Autorisations

X-Api-Key
string
header
requis

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

id
string
requis

Identifiant de la mission (offer_id).

Paramètres de requête

phase
enum<string>

Restreint la réponse à une seule phase.

Options disponibles:
depart,
arrivee
include_form
boolean
défaut:true

Inclure le détail des champs du formulaire (phases.*.fields). Défaut true. Mettre false pour un payload plus léger (photos + horodatages seuls).

Réponse

Rapport d'inspection.

data
object
requis

Rapport d'inspection (PV digitalisé) lié à une mission MED. Allow-list stricte : aucun champ interne (créateur, tenant, métadonnées, jetons de partage) n'est exposé.