# Find vehicle timeline statement by ID Endpoint: GET /vehicleTimelineStatements/{vehicleTimelineStatementId} Version: 1.0.0 Security: M2X_auth_application ## Path parameters: - `vehicleTimelineStatementId` (string, required) The vehicle execution statement Id ## Response 200 fields (application/json): - `id` (string, required) - `vehicleId` (string, required) - `serviceDay` (string, required) - `deleted` (boolean, required) - `type` (string, required) Enum: "SERVICE", "PICKUP", "DELIVERY", "START", "END" - `subTypes` (array, required) Enum: "CLEAN", "WAYPOINT", "TRAILER_SWAP", "DRIVER_SWAP", "ISO_CONTAINER_SWAP" - `inboundAssets` (object, required) - `inboundAssets.driver` (object) - `inboundAssets.driver.assetId` (string) uid for this asset - `inboundAssets.driver.name` (string) - `inboundAssets.driver.externalId` (string) - `inboundAssets.tractorUnit` (object) - `inboundAssets.trailers` (array) - `inboundAssets.miscAssets` (array) - `inboundAssets.isoContainers` (array) - `outboundAssets` (object, required) - `arrivalTimestamp` (string) - `statementType` (string, required) Enum: "BOOKED", "VEHICLE", "RECONCILED", "EXECUTION_CHECKED", "DISPATCHER_OVERRIDE" - `jobIdActioned` (string) - `jobIdsOnBoard` (array) - `mapId` (string) - `fromLocation` (object, required) - `fromLocation.addressText` (string, required) - `fromLocation.latitude` (number, required) - `fromLocation.locationId` (string,null) The M2X internal location id. When a location is manually created in M2X, this is a randomly generated unique identifier. If creating locations via API, the caller can set the Location ID. - `fromLocation.externalId` (string,null) An optional external identifier assigned to the location. This ID can be provided when creating the location and is typically used for cross-system referencing or integration with external data sources. - `fromLocation.longitude` (number, required) - `fromLocation.timezone` (string,null) IANA (aka TZ database) timezone name Example: "Pacific/Auckland" - `fromLocation.ownerId` (string,null) The M2X internal location owner id. When a location is manually created in M2X, this is a randomly generated unique identifier. If creating locations via API, the caller can set the Location Owner ID. - `fromLocation.version` (string,null) The version of the location. This is used to track changes to the location. - `toLocation` (object, required) - `metrics` (object, required) - `metrics.distanceMeters` (number) - `metrics.driveDurationSeconds` (number) - `metrics.payloadKg` (number) - `metrics.queueDurationSeconds` (number) - `metrics.waitDurationSeconds` (number) - `metrics.serviceDurationSeconds` (number) - `references` (object) - `references.deliveryReference` (string,null) - `references.fromReference` (string,null) - `references.toReference` (string,null) - `timeOnSite` (object,null) - `timeOnSite.departureTimestamp` (string) ## Response 404 fields (application/json): - `message` (string) Example: "not found"