| POST,OPTIONS | /v1/worker/dispatch/job/{Code}/step |
|---|
import 'package:servicestack/servicestack.dart';
class DriverStampView implements IConvertible
{
String? Stage;
DateTime? AtUtc;
String? Note;
DriverStampView({this.Stage,this.AtUtc,this.Note});
DriverStampView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Stage = json['Stage'];
AtUtc = JsonConverters.fromJson(json['AtUtc'],'DateTime',context!);
Note = json['Note'];
return this;
}
Map<String, dynamic> toJson() => {
'Stage': Stage,
'AtUtc': JsonConverters.toJson(AtUtc,'DateTime',context!),
'Note': Note
};
getTypeName() => "DriverStampView";
TypeContext? context = _ctx;
}
class DriverTruckView implements IConvertible
{
String? Code;
String? Stage;
DateTime? StageSinceUtc;
int? LoadsToday;
double? NetToday;
double? EstLoad;
String? Slot;
String? SiteName;
String? SupplierName;
String? NextSiteName;
String? Facility;
String? FacilityShort;
String? Unit;
int? QueuePosition;
String? HoldCode;
String? HoldReason;
DateTime? HoldEndUtc;
int? OpenLoadId;
String? OpenLoadCode;
int? OpenLoadPhotos;
List<DriverStampView>? Stamps = [];
DriverTruckView({this.Code,this.Stage,this.StageSinceUtc,this.LoadsToday,this.NetToday,this.EstLoad,this.Slot,this.SiteName,this.SupplierName,this.NextSiteName,this.Facility,this.FacilityShort,this.Unit,this.QueuePosition,this.HoldCode,this.HoldReason,this.HoldEndUtc,this.OpenLoadId,this.OpenLoadCode,this.OpenLoadPhotos,this.Stamps});
DriverTruckView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Stage = json['Stage'];
StageSinceUtc = JsonConverters.fromJson(json['StageSinceUtc'],'DateTime',context!);
LoadsToday = json['LoadsToday'];
NetToday = JsonConverters.toDouble(json['NetToday']);
EstLoad = JsonConverters.toDouble(json['EstLoad']);
Slot = json['Slot'];
SiteName = json['SiteName'];
SupplierName = json['SupplierName'];
NextSiteName = json['NextSiteName'];
Facility = json['Facility'];
FacilityShort = json['FacilityShort'];
Unit = json['Unit'];
QueuePosition = json['QueuePosition'];
HoldCode = json['HoldCode'];
HoldReason = json['HoldReason'];
HoldEndUtc = JsonConverters.fromJson(json['HoldEndUtc'],'DateTime',context!);
OpenLoadId = json['OpenLoadId'];
OpenLoadCode = json['OpenLoadCode'];
OpenLoadPhotos = json['OpenLoadPhotos'];
Stamps = JsonConverters.fromJson(json['Stamps'],'List<DriverStampView>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Stage': Stage,
'StageSinceUtc': JsonConverters.toJson(StageSinceUtc,'DateTime',context!),
'LoadsToday': LoadsToday,
'NetToday': NetToday,
'EstLoad': EstLoad,
'Slot': Slot,
'SiteName': SiteName,
'SupplierName': SupplierName,
'NextSiteName': NextSiteName,
'Facility': Facility,
'FacilityShort': FacilityShort,
'Unit': Unit,
'QueuePosition': QueuePosition,
'HoldCode': HoldCode,
'HoldReason': HoldReason,
'HoldEndUtc': JsonConverters.toJson(HoldEndUtc,'DateTime',context!),
'OpenLoadId': OpenLoadId,
'OpenLoadCode': OpenLoadCode,
'OpenLoadPhotos': OpenLoadPhotos,
'Stamps': JsonConverters.toJson(Stamps,'List<DriverStampView>',context!)
};
getTypeName() => "DriverTruckView";
TypeContext? context = _ctx;
}
class DriverRigView implements IConvertible
{
String? Code;
String? Name;
String? RigType;
bool? IsFree;
String? HoldCode;
String? HoldReason;
DateTime? HoldEndUtc;
DriverRigView({this.Code,this.Name,this.RigType,this.IsFree,this.HoldCode,this.HoldReason,this.HoldEndUtc});
DriverRigView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Name = json['Name'];
RigType = json['RigType'];
IsFree = json['IsFree'];
HoldCode = json['HoldCode'];
HoldReason = json['HoldReason'];
HoldEndUtc = JsonConverters.fromJson(json['HoldEndUtc'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Name': Name,
'RigType': RigType,
'IsFree': IsFree,
'HoldCode': HoldCode,
'HoldReason': HoldReason,
'HoldEndUtc': JsonConverters.toJson(HoldEndUtc,'DateTime',context!)
};
getTypeName() => "DriverRigView";
TypeContext? context = _ctx;
}
class DriverJobView implements IConvertible
{
String? Kind;
String? Code;
String? Cargo;
String? Customer;
String? CustomerPhone;
String? HoldContact;
String? HoldPhone;
String? FromLoc;
String? ToLoc;
int? Miles;
String? WindowText;
String? Stage;
double? Rate;
String? RequiredRig;
String? EtaText;
DateTime? OfferExpiresUtc;
int? RequestId;
int? LoadId;
String? LoadCode;
double? LoadPay;
int? Photos;
List<DriverStampView>? Stamps = [];
DriverJobView({this.Kind,this.Code,this.Cargo,this.Customer,this.CustomerPhone,this.HoldContact,this.HoldPhone,this.FromLoc,this.ToLoc,this.Miles,this.WindowText,this.Stage,this.Rate,this.RequiredRig,this.EtaText,this.OfferExpiresUtc,this.RequestId,this.LoadId,this.LoadCode,this.LoadPay,this.Photos,this.Stamps});
DriverJobView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Kind = json['Kind'];
Code = json['Code'];
Cargo = json['Cargo'];
Customer = json['Customer'];
CustomerPhone = json['CustomerPhone'];
HoldContact = json['HoldContact'];
HoldPhone = json['HoldPhone'];
FromLoc = json['FromLoc'];
ToLoc = json['ToLoc'];
Miles = json['Miles'];
WindowText = json['WindowText'];
Stage = json['Stage'];
Rate = JsonConverters.toDouble(json['Rate']);
RequiredRig = json['RequiredRig'];
EtaText = json['EtaText'];
OfferExpiresUtc = JsonConverters.fromJson(json['OfferExpiresUtc'],'DateTime',context!);
RequestId = json['RequestId'];
LoadId = json['LoadId'];
LoadCode = json['LoadCode'];
LoadPay = JsonConverters.toDouble(json['LoadPay']);
Photos = json['Photos'];
Stamps = JsonConverters.fromJson(json['Stamps'],'List<DriverStampView>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Kind': Kind,
'Code': Code,
'Cargo': Cargo,
'Customer': Customer,
'CustomerPhone': CustomerPhone,
'HoldContact': HoldContact,
'HoldPhone': HoldPhone,
'FromLoc': FromLoc,
'ToLoc': ToLoc,
'Miles': Miles,
'WindowText': WindowText,
'Stage': Stage,
'Rate': Rate,
'RequiredRig': RequiredRig,
'EtaText': EtaText,
'OfferExpiresUtc': JsonConverters.toJson(OfferExpiresUtc,'DateTime',context!),
'RequestId': RequestId,
'LoadId': LoadId,
'LoadCode': LoadCode,
'LoadPay': LoadPay,
'Photos': Photos,
'Stamps': JsonConverters.toJson(Stamps,'List<DriverStampView>',context!)
};
getTypeName() => "DriverJobView";
TypeContext? context = _ctx;
}
class DriverOdView implements IConvertible
{
String? Code;
String? Name;
String? Zone;
String? Status;
String? Tier;
String? Capabilities;
String? PingCode;
String? PingAddress;
String? PingZone;
int? PingBags;
String? PingNeeds;
String? PingNote;
DateTime? PingExpiresUtc;
String? RunCode;
String? RunAddress;
String? RunZone;
int? RunBags;
String? RunStage;
String? RunNeeds;
String? RunNote;
String? RunEta;
double? OdBase;
double? OdPerBag;
String? HoldCode;
String? HoldReason;
DateTime? HoldEndUtc;
DriverOdView({this.Code,this.Name,this.Zone,this.Status,this.Tier,this.Capabilities,this.PingCode,this.PingAddress,this.PingZone,this.PingBags,this.PingNeeds,this.PingNote,this.PingExpiresUtc,this.RunCode,this.RunAddress,this.RunZone,this.RunBags,this.RunStage,this.RunNeeds,this.RunNote,this.RunEta,this.OdBase,this.OdPerBag,this.HoldCode,this.HoldReason,this.HoldEndUtc});
DriverOdView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Name = json['Name'];
Zone = json['Zone'];
Status = json['Status'];
Tier = json['Tier'];
Capabilities = json['Capabilities'];
PingCode = json['PingCode'];
PingAddress = json['PingAddress'];
PingZone = json['PingZone'];
PingBags = json['PingBags'];
PingNeeds = json['PingNeeds'];
PingNote = json['PingNote'];
PingExpiresUtc = JsonConverters.fromJson(json['PingExpiresUtc'],'DateTime',context!);
RunCode = json['RunCode'];
RunAddress = json['RunAddress'];
RunZone = json['RunZone'];
RunBags = json['RunBags'];
RunStage = json['RunStage'];
RunNeeds = json['RunNeeds'];
RunNote = json['RunNote'];
RunEta = json['RunEta'];
OdBase = JsonConverters.toDouble(json['OdBase']);
OdPerBag = JsonConverters.toDouble(json['OdPerBag']);
HoldCode = json['HoldCode'];
HoldReason = json['HoldReason'];
HoldEndUtc = JsonConverters.fromJson(json['HoldEndUtc'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Name': Name,
'Zone': Zone,
'Status': Status,
'Tier': Tier,
'Capabilities': Capabilities,
'PingCode': PingCode,
'PingAddress': PingAddress,
'PingZone': PingZone,
'PingBags': PingBags,
'PingNeeds': PingNeeds,
'PingNote': PingNote,
'PingExpiresUtc': JsonConverters.toJson(PingExpiresUtc,'DateTime',context!),
'RunCode': RunCode,
'RunAddress': RunAddress,
'RunZone': RunZone,
'RunBags': RunBags,
'RunStage': RunStage,
'RunNeeds': RunNeeds,
'RunNote': RunNote,
'RunEta': RunEta,
'OdBase': OdBase,
'OdPerBag': OdPerBag,
'HoldCode': HoldCode,
'HoldReason': HoldReason,
'HoldEndUtc': JsonConverters.toJson(HoldEndUtc,'DateTime',context!)
};
getTypeName() => "DriverOdView";
TypeContext? context = _ctx;
}
class DispatchIncidentMessageView implements IConvertible
{
int? MessageId;
String? Who;
String? Role;
String? Msg;
DateTime? AtUtc;
DispatchIncidentMessageView({this.MessageId,this.Who,this.Role,this.Msg,this.AtUtc});
DispatchIncidentMessageView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
MessageId = json['MessageId'];
Who = json['Who'];
Role = json['Role'];
Msg = json['Msg'];
AtUtc = JsonConverters.fromJson(json['AtUtc'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'MessageId': MessageId,
'Who': Who,
'Role': Role,
'Msg': Msg,
'AtUtc': JsonConverters.toJson(AtUtc,'DateTime',context!)
};
getTypeName() => "DispatchIncidentMessageView";
TypeContext? context = _ctx;
}
class DriverIncidentView implements IConvertible
{
int? IncidentId;
String? Code;
String? Kind;
String? KindDetail;
String? Status;
String? LoadCode;
String? TruckCode;
String? LocationText;
String? DriverPref;
String? TruckRecovery;
String? LoadRecovery;
String? TransloadTruckCode;
String? HoldCode;
DateTime? OpenedUtc;
DateTime? ResolvedUtc;
List<DispatchIncidentMessageView>? Messages = [];
DriverIncidentView({this.IncidentId,this.Code,this.Kind,this.KindDetail,this.Status,this.LoadCode,this.TruckCode,this.LocationText,this.DriverPref,this.TruckRecovery,this.LoadRecovery,this.TransloadTruckCode,this.HoldCode,this.OpenedUtc,this.ResolvedUtc,this.Messages});
DriverIncidentView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
IncidentId = json['IncidentId'];
Code = json['Code'];
Kind = json['Kind'];
KindDetail = json['KindDetail'];
Status = json['Status'];
LoadCode = json['LoadCode'];
TruckCode = json['TruckCode'];
LocationText = json['LocationText'];
DriverPref = json['DriverPref'];
TruckRecovery = json['TruckRecovery'];
LoadRecovery = json['LoadRecovery'];
TransloadTruckCode = json['TransloadTruckCode'];
HoldCode = json['HoldCode'];
OpenedUtc = JsonConverters.fromJson(json['OpenedUtc'],'DateTime',context!);
ResolvedUtc = JsonConverters.fromJson(json['ResolvedUtc'],'DateTime',context!);
Messages = JsonConverters.fromJson(json['Messages'],'List<DispatchIncidentMessageView>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'IncidentId': IncidentId,
'Code': Code,
'Kind': Kind,
'KindDetail': KindDetail,
'Status': Status,
'LoadCode': LoadCode,
'TruckCode': TruckCode,
'LocationText': LocationText,
'DriverPref': DriverPref,
'TruckRecovery': TruckRecovery,
'LoadRecovery': LoadRecovery,
'TransloadTruckCode': TransloadTruckCode,
'HoldCode': HoldCode,
'OpenedUtc': JsonConverters.toJson(OpenedUtc,'DateTime',context!),
'ResolvedUtc': JsonConverters.toJson(ResolvedUtc,'DateTime',context!),
'Messages': JsonConverters.toJson(Messages,'List<DispatchIncidentMessageView>',context!)
};
getTypeName() => "DriverIncidentView";
TypeContext? context = _ctx;
}
class DriverPayLineView implements IConvertible
{
String? Code;
String? Module;
String? SourceLabel;
String? DestinationLabel;
String? QtyText;
double? Pay;
String? PayPlanLabel;
String? Status;
DateTime? ClosedUtc;
DateTime? OpenedUtc;
String? TicketCode;
DriverPayLineView({this.Code,this.Module,this.SourceLabel,this.DestinationLabel,this.QtyText,this.Pay,this.PayPlanLabel,this.Status,this.ClosedUtc,this.OpenedUtc,this.TicketCode});
DriverPayLineView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Module = json['Module'];
SourceLabel = json['SourceLabel'];
DestinationLabel = json['DestinationLabel'];
QtyText = json['QtyText'];
Pay = JsonConverters.toDouble(json['Pay']);
PayPlanLabel = json['PayPlanLabel'];
Status = json['Status'];
ClosedUtc = JsonConverters.fromJson(json['ClosedUtc'],'DateTime',context!);
OpenedUtc = JsonConverters.fromJson(json['OpenedUtc'],'DateTime',context!);
TicketCode = json['TicketCode'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Module': Module,
'SourceLabel': SourceLabel,
'DestinationLabel': DestinationLabel,
'QtyText': QtyText,
'Pay': Pay,
'PayPlanLabel': PayPlanLabel,
'Status': Status,
'ClosedUtc': JsonConverters.toJson(ClosedUtc,'DateTime',context!),
'OpenedUtc': JsonConverters.toJson(OpenedUtc,'DateTime',context!),
'TicketCode': TicketCode
};
getTypeName() => "DriverPayLineView";
TypeContext? context = _ctx;
}
class DriverMeResponse implements IConvertible
{
int? ContactId;
String? Name;
String? Phone;
String? PayPlanName;
String? PayPlanBasis;
double? PayPlanRate;
DriverTruckView? Truck;
DriverRigView? Rig;
List<DriverJobView>? Jobs = [];
DriverOdView? Od;
List<DriverIncidentView>? Incidents = [];
List<DriverPayLineView>? Pay = [];
DateTime? ServerUtc;
String? Message;
ResponseStatus? ResponseStatus;
DriverMeResponse({this.ContactId,this.Name,this.Phone,this.PayPlanName,this.PayPlanBasis,this.PayPlanRate,this.Truck,this.Rig,this.Jobs,this.Od,this.Incidents,this.Pay,this.ServerUtc,this.Message,this.ResponseStatus});
DriverMeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ContactId = json['ContactId'];
Name = json['Name'];
Phone = json['Phone'];
PayPlanName = json['PayPlanName'];
PayPlanBasis = json['PayPlanBasis'];
PayPlanRate = JsonConverters.toDouble(json['PayPlanRate']);
Truck = JsonConverters.fromJson(json['Truck'],'DriverTruckView',context!);
Rig = JsonConverters.fromJson(json['Rig'],'DriverRigView',context!);
Jobs = JsonConverters.fromJson(json['Jobs'],'List<DriverJobView>',context!);
Od = JsonConverters.fromJson(json['Od'],'DriverOdView',context!);
Incidents = JsonConverters.fromJson(json['Incidents'],'List<DriverIncidentView>',context!);
Pay = JsonConverters.fromJson(json['Pay'],'List<DriverPayLineView>',context!);
ServerUtc = JsonConverters.fromJson(json['ServerUtc'],'DateTime',context!);
Message = json['Message'];
ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!);
return this;
}
Map<String, dynamic> toJson() => {
'ContactId': ContactId,
'Name': Name,
'Phone': Phone,
'PayPlanName': PayPlanName,
'PayPlanBasis': PayPlanBasis,
'PayPlanRate': PayPlanRate,
'Truck': JsonConverters.toJson(Truck,'DriverTruckView',context!),
'Rig': JsonConverters.toJson(Rig,'DriverRigView',context!),
'Jobs': JsonConverters.toJson(Jobs,'List<DriverJobView>',context!),
'Od': JsonConverters.toJson(Od,'DriverOdView',context!),
'Incidents': JsonConverters.toJson(Incidents,'List<DriverIncidentView>',context!),
'Pay': JsonConverters.toJson(Pay,'List<DriverPayLineView>',context!),
'ServerUtc': JsonConverters.toJson(ServerUtc,'DateTime',context!),
'Message': Message,
'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!)
};
getTypeName() => "DriverMeResponse";
TypeContext? context = _ctx;
}
class DriverJobStepRequest implements IConvertible
{
String? Code;
String? Step;
String? PodName;
DriverJobStepRequest({this.Code,this.Step,this.PodName});
DriverJobStepRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Step = json['Step'];
PodName = json['PodName'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Step': Step,
'PodName': PodName
};
getTypeName() => "DriverJobStepRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'DriverStampView': TypeInfo(TypeOf.Class, create:() => DriverStampView()),
'DriverTruckView': TypeInfo(TypeOf.Class, create:() => DriverTruckView()),
'List<DriverStampView>': TypeInfo(TypeOf.Class, create:() => <DriverStampView>[]),
'DriverRigView': TypeInfo(TypeOf.Class, create:() => DriverRigView()),
'DriverJobView': TypeInfo(TypeOf.Class, create:() => DriverJobView()),
'DriverOdView': TypeInfo(TypeOf.Class, create:() => DriverOdView()),
'DispatchIncidentMessageView': TypeInfo(TypeOf.Class, create:() => DispatchIncidentMessageView()),
'DriverIncidentView': TypeInfo(TypeOf.Class, create:() => DriverIncidentView()),
'List<DispatchIncidentMessageView>': TypeInfo(TypeOf.Class, create:() => <DispatchIncidentMessageView>[]),
'DriverPayLineView': TypeInfo(TypeOf.Class, create:() => DriverPayLineView()),
'DriverMeResponse': TypeInfo(TypeOf.Class, create:() => DriverMeResponse()),
'List<DriverJobView>': TypeInfo(TypeOf.Class, create:() => <DriverJobView>[]),
'List<DriverIncidentView>': TypeInfo(TypeOf.Class, create:() => <DriverIncidentView>[]),
'List<DriverPayLineView>': TypeInfo(TypeOf.Class, create:() => <DriverPayLineView>[]),
'DriverJobStepRequest': TypeInfo(TypeOf.Class, create:() => DriverJobStepRequest()),
});
Dart DriverJobStepRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/worker/dispatch/job/{Code}/step HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Code":"String","Step":"String","PodName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ContactId":0,"Name":"String","Phone":"String","PayPlanName":"String","PayPlanBasis":"String","PayPlanRate":0,"Truck":{"Code":"String","Stage":"String","StageSinceUtc":"0001-01-01T00:00:00.0000000","LoadsToday":0,"NetToday":0,"EstLoad":0,"Slot":"String","SiteName":"String","SupplierName":"String","NextSiteName":"String","Facility":"String","FacilityShort":"String","Unit":"String","QueuePosition":0,"HoldCode":"String","HoldReason":"String","HoldEndUtc":"0001-01-01T00:00:00.0000000","OpenLoadId":0,"OpenLoadCode":"String","OpenLoadPhotos":0,"Stamps":[{"Stage":"String","AtUtc":"0001-01-01T00:00:00.0000000","Note":"String"}]},"Rig":{"Code":"String","Name":"String","RigType":"String","IsFree":false,"HoldCode":"String","HoldReason":"String","HoldEndUtc":"0001-01-01T00:00:00.0000000"},"Jobs":[{"Kind":"String","Code":"String","Cargo":"String","Customer":"String","CustomerPhone":"String","HoldContact":"String","HoldPhone":"String","FromLoc":"String","ToLoc":"String","Miles":0,"WindowText":"String","Stage":"String","Rate":0,"RequiredRig":"String","EtaText":"String","OfferExpiresUtc":"0001-01-01T00:00:00.0000000","RequestId":0,"LoadId":0,"LoadCode":"String","LoadPay":0,"Photos":0,"Stamps":[{"Stage":"String","AtUtc":"0001-01-01T00:00:00.0000000","Note":"String"}]}],"Od":{"Code":"String","Name":"String","Zone":"String","Status":"String","Tier":"String","Capabilities":"String","PingCode":"String","PingAddress":"String","PingZone":"String","PingBags":0,"PingNeeds":"String","PingNote":"String","PingExpiresUtc":"0001-01-01T00:00:00.0000000","RunCode":"String","RunAddress":"String","RunZone":"String","RunBags":0,"RunStage":"String","RunNeeds":"String","RunNote":"String","RunEta":"String","OdBase":0,"OdPerBag":0,"HoldCode":"String","HoldReason":"String","HoldEndUtc":"0001-01-01T00:00:00.0000000"},"Incidents":[{"IncidentId":0,"Code":"String","Kind":"String","KindDetail":"String","Status":"String","LoadCode":"String","TruckCode":"String","LocationText":"String","DriverPref":"String","TruckRecovery":"String","LoadRecovery":"String","TransloadTruckCode":"String","HoldCode":"String","OpenedUtc":"0001-01-01T00:00:00.0000000","ResolvedUtc":"0001-01-01T00:00:00.0000000","Messages":[{"MessageId":0,"Who":"String","Role":"String","Msg":"String","AtUtc":"0001-01-01T00:00:00.0000000"}]}],"Pay":[{"Code":"String","Module":"String","SourceLabel":"String","DestinationLabel":"String","QtyText":"String","Pay":0,"PayPlanLabel":"String","Status":"String","ClosedUtc":"0001-01-01T00:00:00.0000000","OpenedUtc":"0001-01-01T00:00:00.0000000","TicketCode":"String"}],"ServerUtc":"0001-01-01T00:00:00.0000000","Message":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}