JobToVehicleHookString Method

Car Delivery Network API DocumentationCar Delivery Network
Returns a serial representation of the job in the specified format and schema.

Namespace:  CarDeliveryNetwork.Api.Data
Assembly:  CarDeliveryNetwork.Api.Data (in CarDeliveryNetwork.Api.Data.dll) Version: 3.2.3017.0 (3.2.3017)
Syntax

public string ToVehicleHookString(
	int vehicleIndex,
	WebHookSchema schema,
	WebHookEvent forEvent,
	DateTime timeStamp,
	int hookId,
	Fleet contractedCarrier,
	out string fileName
)

Parameters

vehicleIndex
Type: SystemInt32
Index of the vehicle on this job to process
schema
Type: CarDeliveryNetwork.TypesWebHookSchema
Schema to serialize to.
forEvent
Type: WebHookEvent
The WebHookEvent that this message represents.
timeStamp
Type: SystemDateTime
Time in UTC that this message was created
hookId
Type: SystemInt32
The id of the hook this that will send this data
contractedCarrier
Type: CarDeliveryNetwork.Api.DataFleet
The carrier fleet
fileName
Type: SystemString
Filename generated for Pod Url and ICL R41 schemas

Return Value

Type: String
The serialized object.
See Also

Reference