# Vehicle timeline statements allocation details webhook webhook type: VEHICLE_TIMELINE_STATEMENTS_ALLOCATION_DETAILS Endpoint: POST Vehicle Timeline Statements Allocation Details Version: 1.0.0 ## Request fields (application/json): - `id` (string, required) - `vehicleId` (string, required) - `deleted` (boolean, required) - `jobs` (array, required) - `jobs.allocation` (object, required) - `jobs.allocation.cost` (number, required) - `jobs.allocation.distanceMeters` (number, required) - `jobs.allocation.durationSeconds` (number, required) - `jobs.allocation.distanceMetersWeightKg` (number, required) - `vehicleTimelineStatements` (array, required) - `vehicleTimelineStatementDetails` (array) - `vehicleTimelineStatementDetails.serviceDay` (string, required) - `vehicleTimelineStatementDetails.type` (string, required) Enum: "SERVICE", "PICKUP", "DELIVERY", "START", "END" - `vehicleTimelineStatementDetails.subTypes` (array, required) Enum: "CLEAN", "WAYPOINT", "TRAILER_SWAP", "DRIVER_SWAP", "ISO_CONTAINER_SWAP" - `vehicleTimelineStatementDetails.inboundAssets` (object, required) - `vehicleTimelineStatementDetails.inboundAssets.driver` (object) - `vehicleTimelineStatementDetails.inboundAssets.driver.assetId` (string) uid for this asset - `vehicleTimelineStatementDetails.inboundAssets.driver.name` (string) - `vehicleTimelineStatementDetails.inboundAssets.driver.externalId` (string) - `vehicleTimelineStatementDetails.inboundAssets.tractorUnit` (object) - `vehicleTimelineStatementDetails.inboundAssets.trailers` (array) - `vehicleTimelineStatementDetails.inboundAssets.miscAssets` (array) - `vehicleTimelineStatementDetails.inboundAssets.isoContainers` (array) - `vehicleTimelineStatementDetails.outboundAssets` (object, required) - `vehicleTimelineStatementDetails.arrivalTimestamp` (string) - `vehicleTimelineStatementDetails.statementType` (string, required) Enum: "BOOKED", "VEHICLE", "RECONCILED", "EXECUTION_CHECKED", "DISPATCHER_OVERRIDE" - `vehicleTimelineStatementDetails.jobIdActioned` (string) - `vehicleTimelineStatementDetails.jobIdsOnBoard` (array) - `vehicleTimelineStatementDetails.mapId` (string) - `vehicleTimelineStatementDetails.fromLocation` (object, required) - `vehicleTimelineStatementDetails.fromLocation.addressText` (string, required) - `vehicleTimelineStatementDetails.fromLocation.latitude` (number, required) - `vehicleTimelineStatementDetails.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. - `vehicleTimelineStatementDetails.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. - `vehicleTimelineStatementDetails.fromLocation.longitude` (number, required) - `vehicleTimelineStatementDetails.fromLocation.timezone` (string,null) IANA (aka TZ database) timezone name Example: "Pacific/Auckland" - `vehicleTimelineStatementDetails.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. - `vehicleTimelineStatementDetails.fromLocation.version` (string,null) The version of the location. This is used to track changes to the location. - `vehicleTimelineStatementDetails.toLocation` (object, required) - `vehicleTimelineStatementDetails.metrics` (object, required) - `vehicleTimelineStatementDetails.metrics.driveDurationSeconds` (number) - `vehicleTimelineStatementDetails.metrics.payloadKg` (number) - `vehicleTimelineStatementDetails.metrics.queueDurationSeconds` (number) - `vehicleTimelineStatementDetails.metrics.waitDurationSeconds` (number) - `vehicleTimelineStatementDetails.metrics.serviceDurationSeconds` (number) - `vehicleTimelineStatementDetails.references` (object) - `vehicleTimelineStatementDetails.references.deliveryReference` (string,null) - `vehicleTimelineStatementDetails.references.fromReference` (string,null) - `vehicleTimelineStatementDetails.references.toReference` (string,null) - `vehicleTimelineStatementDetails.timeOnSite` (object,null) - `vehicleTimelineStatementDetails.timeOnSite.departureTimestamp` (string) ## Response 200 fields