Click or drag to resize

JobToVehicleDamageHookString Method

Car 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.3107.0 (3.2.3107)
Syntax
C#
public string ToVehicleDamageHookString(
	Vehicle vehicle,
	DamageItem damage,
	ContactDetails location,
	WebHookSchema schema,
	WebHookEvent forEvent,
	DateTime timeStamp,
	int hookId,
	string thirdPartyUserId,
	string senderId,
	string receiverId,
	Fleet contractedCarrier,
	string additonalData = null,
	string terminalId = null,
	string terminalName = null
)

Parameters

vehicle  Vehicle

[Missing <param name="vehicle"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

damage  DamageItem

[Missing <param name="damage"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

location  ContactDetails

[Missing <param name="location"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

schema  WebHookSchema

[Missing <param name="schema"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

forEvent  WebHookEvent

[Missing <param name="forEvent"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

timeStamp  DateTime

[Missing <param name="timeStamp"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

hookId  Int32

[Missing <param name="hookId"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

thirdPartyUserId  String

[Missing <param name="thirdPartyUserId"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

senderId  String

[Missing <param name="senderId"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

receiverId  String

[Missing <param name="receiverId"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

contractedCarrier  Fleet

[Missing <param name="contractedCarrier"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

additonalData  String  (Optional)

[Missing <param name="additonalData"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

terminalId  String  (Optional)

[Missing <param name="terminalId"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

terminalName  String  (Optional)

[Missing <param name="terminalName"/> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

Return Value

String

[Missing <returns> documentation for "M:CarDeliveryNetwork.Api.Data.Job.ToVehicleDamageHookString(CarDeliveryNetwork.Api.Data.Vehicle,CarDeliveryNetwork.Api.Data.DamageItem,CarDeliveryNetwork.Api.Data.ContactDetails,CarDeliveryNetwork.Types.WebHookSchema,CarDeliveryNetwork.Types.WebHookEvent,System.DateTime,System.Int32,System.String,System.String,System.String,CarDeliveryNetwork.Api.Data.Fleet,System.String,System.String,System.String)"]

Exceptions
ExceptionCondition
ArgumentException
See Also