| POST,OPTIONS | /v1/dispatch/haul/tickets |
|---|
import 'package:servicestack/servicestack.dart';
class DispatchPackConfigView implements IConvertible
{
String? PackId;
bool? HasQuotas;
bool? IsInverted;
int? LoadLimitMins;
String? TicketSource;
String? PayBasis;
String? DayBoundary;
DispatchPackConfigView({this.PackId,this.HasQuotas,this.IsInverted,this.LoadLimitMins,this.TicketSource,this.PayBasis,this.DayBoundary});
DispatchPackConfigView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
PackId = json['PackId'];
HasQuotas = json['HasQuotas'];
IsInverted = json['IsInverted'];
LoadLimitMins = json['LoadLimitMins'];
TicketSource = json['TicketSource'];
PayBasis = json['PayBasis'];
DayBoundary = json['DayBoundary'];
return this;
}
Map<String, dynamic> toJson() => {
'PackId': PackId,
'HasQuotas': HasQuotas,
'IsInverted': IsInverted,
'LoadLimitMins': LoadLimitMins,
'TicketSource': TicketSource,
'PayBasis': PayBasis,
'DayBoundary': DayBoundary
};
getTypeName() => "DispatchPackConfigView";
TypeContext? context = _ctx;
}
class DispatchHaulConfigView implements IConvertible
{
int? QueueMax;
int? DumpBays;
int? SlotCap;
bool? Paused;
int? FeedRate;
DispatchHaulConfigView({this.QueueMax,this.DumpBays,this.SlotCap,this.Paused,this.FeedRate});
DispatchHaulConfigView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
QueueMax = json['QueueMax'];
DumpBays = json['DumpBays'];
SlotCap = json['SlotCap'];
Paused = json['Paused'];
FeedRate = json['FeedRate'];
return this;
}
Map<String, dynamic> toJson() => {
'QueueMax': QueueMax,
'DumpBays': DumpBays,
'SlotCap': SlotCap,
'Paused': Paused,
'FeedRate': FeedRate
};
getTypeName() => "DispatchHaulConfigView";
TypeContext? context = _ctx;
}
class DispatchOfflineWindowView implements IConvertible
{
int? OfflineWindowId;
String? FromHour;
String? ToHour;
DispatchOfflineWindowView({this.OfflineWindowId,this.FromHour,this.ToHour});
DispatchOfflineWindowView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
OfflineWindowId = json['OfflineWindowId'];
FromHour = json['FromHour'];
ToHour = json['ToHour'];
return this;
}
Map<String, dynamic> toJson() => {
'OfflineWindowId': OfflineWindowId,
'FromHour': FromHour,
'ToHour': ToHour
};
getTypeName() => "DispatchOfflineWindowView";
TypeContext? context = _ctx;
}
class DispatchSiteView implements IConvertible
{
int? SiteId;
int? SupplierId;
String? SupplierCode;
String? Name;
int? Acres;
double? StandingVolume;
int? SortOrder;
DispatchSiteView({this.SiteId,this.SupplierId,this.SupplierCode,this.Name,this.Acres,this.StandingVolume,this.SortOrder});
DispatchSiteView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SiteId = json['SiteId'];
SupplierId = json['SupplierId'];
SupplierCode = json['SupplierCode'];
Name = json['Name'];
Acres = json['Acres'];
StandingVolume = JsonConverters.toDouble(json['StandingVolume']);
SortOrder = json['SortOrder'];
return this;
}
Map<String, dynamic> toJson() => {
'SiteId': SiteId,
'SupplierId': SupplierId,
'SupplierCode': SupplierCode,
'Name': Name,
'Acres': Acres,
'StandingVolume': StandingVolume,
'SortOrder': SortOrder
};
getTypeName() => "DispatchSiteView";
TypeContext? context = _ctx;
}
class DispatchSupplierView implements IConvertible
{
int? SupplierId;
String? Code;
String? Name;
String? Region;
bool? OwnHauler;
double? SeasonAllotment;
double? Delivered;
double? WeekCap;
double? WeekDelivered;
int? SortOrder;
List<DispatchSiteView>? Sites = [];
DispatchSupplierView({this.SupplierId,this.Code,this.Name,this.Region,this.OwnHauler,this.SeasonAllotment,this.Delivered,this.WeekCap,this.WeekDelivered,this.SortOrder,this.Sites});
DispatchSupplierView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SupplierId = json['SupplierId'];
Code = json['Code'];
Name = json['Name'];
Region = json['Region'];
OwnHauler = json['OwnHauler'];
SeasonAllotment = JsonConverters.toDouble(json['SeasonAllotment']);
Delivered = JsonConverters.toDouble(json['Delivered']);
WeekCap = JsonConverters.toDouble(json['WeekCap']);
WeekDelivered = JsonConverters.toDouble(json['WeekDelivered']);
SortOrder = json['SortOrder'];
Sites = JsonConverters.fromJson(json['Sites'],'List<DispatchSiteView>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'SupplierId': SupplierId,
'Code': Code,
'Name': Name,
'Region': Region,
'OwnHauler': OwnHauler,
'SeasonAllotment': SeasonAllotment,
'Delivered': Delivered,
'WeekCap': WeekCap,
'WeekDelivered': WeekDelivered,
'SortOrder': SortOrder,
'Sites': JsonConverters.toJson(Sites,'List<DispatchSiteView>',context!)
};
getTypeName() => "DispatchSupplierView";
TypeContext? context = _ctx;
}
class DispatchTruckView implements IConvertible
{
int? TruckId;
String? Code;
String? DriverName;
String? Phone;
String? DispatchState;
String? DispatchReason;
String? EmployerCode;
String? SupplierCode;
String? SiteName;
double? EstLoad;
String? Stage;
int? StageSince;
int? CycleStart;
int? StageMinsAgo;
int? CycleMinsAgo;
String? Slot;
int? LoadsToday;
double? NetToday;
int? LastPingMins;
String? CycleMins;
bool? IsInteractive;
String? NextSupplierCode;
String? NextSiteName;
DispatchTruckView({this.TruckId,this.Code,this.DriverName,this.Phone,this.DispatchState,this.DispatchReason,this.EmployerCode,this.SupplierCode,this.SiteName,this.EstLoad,this.Stage,this.StageSince,this.CycleStart,this.StageMinsAgo,this.CycleMinsAgo,this.Slot,this.LoadsToday,this.NetToday,this.LastPingMins,this.CycleMins,this.IsInteractive,this.NextSupplierCode,this.NextSiteName});
DispatchTruckView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TruckId = json['TruckId'];
Code = json['Code'];
DriverName = json['DriverName'];
Phone = json['Phone'];
DispatchState = json['DispatchState'];
DispatchReason = json['DispatchReason'];
EmployerCode = json['EmployerCode'];
SupplierCode = json['SupplierCode'];
SiteName = json['SiteName'];
EstLoad = JsonConverters.toDouble(json['EstLoad']);
Stage = json['Stage'];
StageSince = json['StageSince'];
CycleStart = json['CycleStart'];
StageMinsAgo = json['StageMinsAgo'];
CycleMinsAgo = json['CycleMinsAgo'];
Slot = json['Slot'];
LoadsToday = json['LoadsToday'];
NetToday = JsonConverters.toDouble(json['NetToday']);
LastPingMins = json['LastPingMins'];
CycleMins = json['CycleMins'];
IsInteractive = json['IsInteractive'];
NextSupplierCode = json['NextSupplierCode'];
NextSiteName = json['NextSiteName'];
return this;
}
Map<String, dynamic> toJson() => {
'TruckId': TruckId,
'Code': Code,
'DriverName': DriverName,
'Phone': Phone,
'DispatchState': DispatchState,
'DispatchReason': DispatchReason,
'EmployerCode': EmployerCode,
'SupplierCode': SupplierCode,
'SiteName': SiteName,
'EstLoad': EstLoad,
'Stage': Stage,
'StageSince': StageSince,
'CycleStart': CycleStart,
'StageMinsAgo': StageMinsAgo,
'CycleMinsAgo': CycleMinsAgo,
'Slot': Slot,
'LoadsToday': LoadsToday,
'NetToday': NetToday,
'LastPingMins': LastPingMins,
'CycleMins': CycleMins,
'IsInteractive': IsInteractive,
'NextSupplierCode': NextSupplierCode,
'NextSiteName': NextSiteName
};
getTypeName() => "DispatchTruckView";
TypeContext? context = _ctx;
}
class DispatchSlotView implements IConvertible
{
int? SlotId;
String? Hour;
int? BaseBooked;
int? SortOrder;
DispatchSlotView({this.SlotId,this.Hour,this.BaseBooked,this.SortOrder});
DispatchSlotView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SlotId = json['SlotId'];
Hour = json['Hour'];
BaseBooked = json['BaseBooked'];
SortOrder = json['SortOrder'];
return this;
}
Map<String, dynamic> toJson() => {
'SlotId': SlotId,
'Hour': Hour,
'BaseBooked': BaseBooked,
'SortOrder': SortOrder
};
getTypeName() => "DispatchSlotView";
TypeContext? context = _ctx;
}
class DispatchTicketView implements IConvertible
{
int? TicketId;
String? Code;
String? TruckCode;
String? SupplierCode;
double? NetQty;
DateTime? TicketedAt;
int? TicketedMin;
String? Source;
int? MinsAgo;
DispatchTicketView({this.TicketId,this.Code,this.TruckCode,this.SupplierCode,this.NetQty,this.TicketedAt,this.TicketedMin,this.Source,this.MinsAgo});
DispatchTicketView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TicketId = json['TicketId'];
Code = json['Code'];
TruckCode = json['TruckCode'];
SupplierCode = json['SupplierCode'];
NetQty = JsonConverters.toDouble(json['NetQty']);
TicketedAt = JsonConverters.fromJson(json['TicketedAt'],'DateTime',context!);
TicketedMin = json['TicketedMin'];
Source = json['Source'];
MinsAgo = json['MinsAgo'];
return this;
}
Map<String, dynamic> toJson() => {
'TicketId': TicketId,
'Code': Code,
'TruckCode': TruckCode,
'SupplierCode': SupplierCode,
'NetQty': NetQty,
'TicketedAt': JsonConverters.toJson(TicketedAt,'DateTime',context!),
'TicketedMin': TicketedMin,
'Source': Source,
'MinsAgo': MinsAgo
};
getTypeName() => "DispatchTicketView";
TypeContext? context = _ctx;
}
class DispatchLogView implements IConvertible
{
int? LogId;
DateTime? LoggedAt;
int? LoggedMin;
String? LogText;
String? Kind;
int? MinsAgo;
DispatchLogView({this.LogId,this.LoggedAt,this.LoggedMin,this.LogText,this.Kind,this.MinsAgo});
DispatchLogView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
LogId = json['LogId'];
LoggedAt = JsonConverters.fromJson(json['LoggedAt'],'DateTime',context!);
LoggedMin = json['LoggedMin'];
LogText = json['LogText'];
Kind = json['Kind'];
MinsAgo = json['MinsAgo'];
return this;
}
Map<String, dynamic> toJson() => {
'LogId': LogId,
'LoggedAt': JsonConverters.toJson(LoggedAt,'DateTime',context!),
'LoggedMin': LoggedMin,
'LogText': LogText,
'Kind': Kind,
'MinsAgo': MinsAgo
};
getTypeName() => "DispatchLogView";
TypeContext? context = _ctx;
}
class DispatchAutopilotView implements IConvertible
{
bool? IsOn;
bool? RuleSlot;
bool? RuleRoute;
bool? RuleRelease;
bool? RuleTract;
bool? RuleThrottle;
bool? RuleOffline;
int? ThStaged;
int? ThWait;
int? ThBand;
int? ThStall;
int? ThFeed;
DispatchAutopilotView({this.IsOn,this.RuleSlot,this.RuleRoute,this.RuleRelease,this.RuleTract,this.RuleThrottle,this.RuleOffline,this.ThStaged,this.ThWait,this.ThBand,this.ThStall,this.ThFeed});
DispatchAutopilotView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
IsOn = json['IsOn'];
RuleSlot = json['RuleSlot'];
RuleRoute = json['RuleRoute'];
RuleRelease = json['RuleRelease'];
RuleTract = json['RuleTract'];
RuleThrottle = json['RuleThrottle'];
RuleOffline = json['RuleOffline'];
ThStaged = json['ThStaged'];
ThWait = json['ThWait'];
ThBand = json['ThBand'];
ThStall = json['ThStall'];
ThFeed = json['ThFeed'];
return this;
}
Map<String, dynamic> toJson() => {
'IsOn': IsOn,
'RuleSlot': RuleSlot,
'RuleRoute': RuleRoute,
'RuleRelease': RuleRelease,
'RuleTract': RuleTract,
'RuleThrottle': RuleThrottle,
'RuleOffline': RuleOffline,
'ThStaged': ThStaged,
'ThWait': ThWait,
'ThBand': ThBand,
'ThStall': ThStall,
'ThFeed': ThFeed
};
getTypeName() => "DispatchAutopilotView";
TypeContext? context = _ctx;
}
class DispatchExceptionView implements IConvertible
{
String? Code;
String? Kind;
String? Severity;
String? TruckCode;
String? SupplierCode;
DateTime? RaisedAt;
String? RaisedLabel;
int? MinsAgo;
DispatchExceptionView({this.Code,this.Kind,this.Severity,this.TruckCode,this.SupplierCode,this.RaisedAt,this.RaisedLabel,this.MinsAgo});
DispatchExceptionView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Kind = json['Kind'];
Severity = json['Severity'];
TruckCode = json['TruckCode'];
SupplierCode = json['SupplierCode'];
RaisedAt = JsonConverters.fromJson(json['RaisedAt'],'DateTime',context!);
RaisedLabel = json['RaisedLabel'];
MinsAgo = json['MinsAgo'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Kind': Kind,
'Severity': Severity,
'TruckCode': TruckCode,
'SupplierCode': SupplierCode,
'RaisedAt': JsonConverters.toJson(RaisedAt,'DateTime',context!),
'RaisedLabel': RaisedLabel,
'MinsAgo': MinsAgo
};
getTypeName() => "DispatchExceptionView";
TypeContext? context = _ctx;
}
class DispatchFeedView implements IConvertible
{
int? FeedId;
DateTime? EntryAt;
String? EntryLabel;
String? Channel;
String? Kind;
String? TruckCode;
String? SupplierCode;
String? OverrideText;
int? MinsAgo;
DispatchFeedView({this.FeedId,this.EntryAt,this.EntryLabel,this.Channel,this.Kind,this.TruckCode,this.SupplierCode,this.OverrideText,this.MinsAgo});
DispatchFeedView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
FeedId = json['FeedId'];
EntryAt = JsonConverters.fromJson(json['EntryAt'],'DateTime',context!);
EntryLabel = json['EntryLabel'];
Channel = json['Channel'];
Kind = json['Kind'];
TruckCode = json['TruckCode'];
SupplierCode = json['SupplierCode'];
OverrideText = json['OverrideText'];
MinsAgo = json['MinsAgo'];
return this;
}
Map<String, dynamic> toJson() => {
'FeedId': FeedId,
'EntryAt': JsonConverters.toJson(EntryAt,'DateTime',context!),
'EntryLabel': EntryLabel,
'Channel': Channel,
'Kind': Kind,
'TruckCode': TruckCode,
'SupplierCode': SupplierCode,
'OverrideText': OverrideText,
'MinsAgo': MinsAgo
};
getTypeName() => "DispatchFeedView";
TypeContext? context = _ctx;
}
class DispatchRigView implements IConvertible
{
int? RigId;
String? Code;
String? Name;
String? DriverName;
String? Phone;
String? RigType;
bool? IsFree;
int? MatchRank;
String? DispatchState;
String? DispatchReason;
DispatchRigView({this.RigId,this.Code,this.Name,this.DriverName,this.Phone,this.RigType,this.IsFree,this.MatchRank,this.DispatchState,this.DispatchReason});
DispatchRigView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
RigId = json['RigId'];
Code = json['Code'];
Name = json['Name'];
DriverName = json['DriverName'];
Phone = json['Phone'];
RigType = json['RigType'];
IsFree = json['IsFree'];
MatchRank = json['MatchRank'];
DispatchState = json['DispatchState'];
DispatchReason = json['DispatchReason'];
return this;
}
Map<String, dynamic> toJson() => {
'RigId': RigId,
'Code': Code,
'Name': Name,
'DriverName': DriverName,
'Phone': Phone,
'RigType': RigType,
'IsFree': IsFree,
'MatchRank': MatchRank,
'DispatchState': DispatchState,
'DispatchReason': DispatchReason
};
getTypeName() => "DispatchRigView";
TypeContext? context = _ctx;
}
class DispatchJobView implements IConvertible
{
int? JobId;
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? DriverLabel;
String? EtaText;
String? OfferRigIds;
int? OfferExpiresMin;
int? OfferExpiresInMins;
bool? OfferExpired;
bool? Declined;
DispatchJobView({this.JobId,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.DriverLabel,this.EtaText,this.OfferRigIds,this.OfferExpiresMin,this.OfferExpiresInMins,this.OfferExpired,this.Declined});
DispatchJobView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
JobId = json['JobId'];
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'];
DriverLabel = json['DriverLabel'];
EtaText = json['EtaText'];
OfferRigIds = json['OfferRigIds'];
OfferExpiresMin = json['OfferExpiresMin'];
OfferExpiresInMins = json['OfferExpiresInMins'];
OfferExpired = json['OfferExpired'];
Declined = json['Declined'];
return this;
}
Map<String, dynamic> toJson() => {
'JobId': JobId,
'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,
'DriverLabel': DriverLabel,
'EtaText': EtaText,
'OfferRigIds': OfferRigIds,
'OfferExpiresMin': OfferExpiresMin,
'OfferExpiresInMins': OfferExpiresInMins,
'OfferExpired': OfferExpired,
'Declined': Declined
};
getTypeName() => "DispatchJobView";
TypeContext? context = _ctx;
}
class DispatchOdDriverView implements IConvertible
{
int? DriverId;
String? Code;
String? Name;
String? Zone;
String? Phone;
String? Status;
String? Tier;
double? DistanceMi;
String? Capabilities;
String? DispatchState;
String? DispatchReason;
DispatchOdDriverView({this.DriverId,this.Code,this.Name,this.Zone,this.Phone,this.Status,this.Tier,this.DistanceMi,this.Capabilities,this.DispatchState,this.DispatchReason});
DispatchOdDriverView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DriverId = json['DriverId'];
Code = json['Code'];
Name = json['Name'];
Zone = json['Zone'];
Phone = json['Phone'];
Status = json['Status'];
Tier = json['Tier'];
DistanceMi = JsonConverters.toDouble(json['DistanceMi']);
Capabilities = json['Capabilities'];
DispatchState = json['DispatchState'];
DispatchReason = json['DispatchReason'];
return this;
}
Map<String, dynamic> toJson() => {
'DriverId': DriverId,
'Code': Code,
'Name': Name,
'Zone': Zone,
'Phone': Phone,
'Status': Status,
'Tier': Tier,
'DistanceMi': DistanceMi,
'Capabilities': Capabilities,
'DispatchState': DispatchState,
'DispatchReason': DispatchReason
};
getTypeName() => "DispatchOdDriverView";
TypeContext? context = _ctx;
}
class DispatchOdRequestView implements IConvertible
{
int? RequestId;
String? Code;
String? Address;
String? Zone;
int? Bags;
String? Stage;
String? DriverCode;
String? Needs;
String? Note;
int? PingExpiresMin;
int? PingExpiresInMins;
String? TriedCodes;
String? CandidateCodes;
String? EtaText;
String? NoDriver;
DispatchOdRequestView({this.RequestId,this.Code,this.Address,this.Zone,this.Bags,this.Stage,this.DriverCode,this.Needs,this.Note,this.PingExpiresMin,this.PingExpiresInMins,this.TriedCodes,this.CandidateCodes,this.EtaText,this.NoDriver});
DispatchOdRequestView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
RequestId = json['RequestId'];
Code = json['Code'];
Address = json['Address'];
Zone = json['Zone'];
Bags = json['Bags'];
Stage = json['Stage'];
DriverCode = json['DriverCode'];
Needs = json['Needs'];
Note = json['Note'];
PingExpiresMin = json['PingExpiresMin'];
PingExpiresInMins = json['PingExpiresInMins'];
TriedCodes = json['TriedCodes'];
CandidateCodes = json['CandidateCodes'];
EtaText = json['EtaText'];
NoDriver = json['NoDriver'];
return this;
}
Map<String, dynamic> toJson() => {
'RequestId': RequestId,
'Code': Code,
'Address': Address,
'Zone': Zone,
'Bags': Bags,
'Stage': Stage,
'DriverCode': DriverCode,
'Needs': Needs,
'Note': Note,
'PingExpiresMin': PingExpiresMin,
'PingExpiresInMins': PingExpiresInMins,
'TriedCodes': TriedCodes,
'CandidateCodes': CandidateCodes,
'EtaText': EtaText,
'NoDriver': NoDriver
};
getTypeName() => "DispatchOdRequestView";
TypeContext? context = _ctx;
}
class DispatchPackView implements IConvertible
{
String? PackId;
bool? HasQuotas;
bool? IsInverted;
int? LoadLimitMins;
String? DayBoundary;
String? TicketSource;
String? PayBasis;
int? SortOrder;
DispatchPackView({this.PackId,this.HasQuotas,this.IsInverted,this.LoadLimitMins,this.DayBoundary,this.TicketSource,this.PayBasis,this.SortOrder});
DispatchPackView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
PackId = json['PackId'];
HasQuotas = json['HasQuotas'];
IsInverted = json['IsInverted'];
LoadLimitMins = json['LoadLimitMins'];
DayBoundary = json['DayBoundary'];
TicketSource = json['TicketSource'];
PayBasis = json['PayBasis'];
SortOrder = json['SortOrder'];
return this;
}
Map<String, dynamic> toJson() => {
'PackId': PackId,
'HasQuotas': HasQuotas,
'IsInverted': IsInverted,
'LoadLimitMins': LoadLimitMins,
'DayBoundary': DayBoundary,
'TicketSource': TicketSource,
'PayBasis': PayBasis,
'SortOrder': SortOrder
};
getTypeName() => "DispatchPackView";
TypeContext? context = _ctx;
}
class DispatchPackTermView implements IConvertible
{
String? PackId;
String? Lang;
String? ModeName;
String? Facility;
String? FacilityShort;
String? SourceSite;
String? Supplier;
String? SupplierPlural;
String? UnloadVerb;
String? TicketNoun;
String? DayNoun;
String? FleetLabel;
String? PageSubtitle;
String? SeasonChip;
String? CampaignNoun;
String? BayNoun;
String? AssignTarget;
DispatchPackTermView({this.PackId,this.Lang,this.ModeName,this.Facility,this.FacilityShort,this.SourceSite,this.Supplier,this.SupplierPlural,this.UnloadVerb,this.TicketNoun,this.DayNoun,this.FleetLabel,this.PageSubtitle,this.SeasonChip,this.CampaignNoun,this.BayNoun,this.AssignTarget});
DispatchPackTermView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
PackId = json['PackId'];
Lang = json['Lang'];
ModeName = json['ModeName'];
Facility = json['Facility'];
FacilityShort = json['FacilityShort'];
SourceSite = json['SourceSite'];
Supplier = json['Supplier'];
SupplierPlural = json['SupplierPlural'];
UnloadVerb = json['UnloadVerb'];
TicketNoun = json['TicketNoun'];
DayNoun = json['DayNoun'];
FleetLabel = json['FleetLabel'];
PageSubtitle = json['PageSubtitle'];
SeasonChip = json['SeasonChip'];
CampaignNoun = json['CampaignNoun'];
BayNoun = json['BayNoun'];
AssignTarget = json['AssignTarget'];
return this;
}
Map<String, dynamic> toJson() => {
'PackId': PackId,
'Lang': Lang,
'ModeName': ModeName,
'Facility': Facility,
'FacilityShort': FacilityShort,
'SourceSite': SourceSite,
'Supplier': Supplier,
'SupplierPlural': SupplierPlural,
'UnloadVerb': UnloadVerb,
'TicketNoun': TicketNoun,
'DayNoun': DayNoun,
'FleetLabel': FleetLabel,
'PageSubtitle': PageSubtitle,
'SeasonChip': SeasonChip,
'CampaignNoun': CampaignNoun,
'BayNoun': BayNoun,
'AssignTarget': AssignTarget
};
getTypeName() => "DispatchPackTermView";
TypeContext? context = _ctx;
}
class DispatchPackUnitView implements IConvertible
{
String? PackId;
String? Unit;
double? LoadQty;
int? VolumeLow;
int? VolumeHigh;
double? SeasonMultiple;
double? WeeklyFraction;
DispatchPackUnitView({this.PackId,this.Unit,this.LoadQty,this.VolumeLow,this.VolumeHigh,this.SeasonMultiple,this.WeeklyFraction});
DispatchPackUnitView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
PackId = json['PackId'];
Unit = json['Unit'];
LoadQty = JsonConverters.toDouble(json['LoadQty']);
VolumeLow = json['VolumeLow'];
VolumeHigh = json['VolumeHigh'];
SeasonMultiple = JsonConverters.toDouble(json['SeasonMultiple']);
WeeklyFraction = JsonConverters.toDouble(json['WeeklyFraction']);
return this;
}
Map<String, dynamic> toJson() => {
'PackId': PackId,
'Unit': Unit,
'LoadQty': LoadQty,
'VolumeLow': VolumeLow,
'VolumeHigh': VolumeHigh,
'SeasonMultiple': SeasonMultiple,
'WeeklyFraction': WeeklyFraction
};
getTypeName() => "DispatchPackUnitView";
TypeContext? context = _ctx;
}
class DispatchHoldView implements IConvertible
{
int? HoldId;
String? Code;
String? ScopeKind;
String? ScopeKey;
String? ScopeLabel;
String? Reason;
String? Note;
DateTime? StartUtc;
DateTime? EndUtc;
String? Source;
String? IncidentRef;
DateTime? LiftedUtc;
String? LiftedBy;
DateTime? CreatedUtc;
String? CreatedBy;
String? Status;
DispatchHoldView({this.HoldId,this.Code,this.ScopeKind,this.ScopeKey,this.ScopeLabel,this.Reason,this.Note,this.StartUtc,this.EndUtc,this.Source,this.IncidentRef,this.LiftedUtc,this.LiftedBy,this.CreatedUtc,this.CreatedBy,this.Status});
DispatchHoldView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
HoldId = json['HoldId'];
Code = json['Code'];
ScopeKind = json['ScopeKind'];
ScopeKey = json['ScopeKey'];
ScopeLabel = json['ScopeLabel'];
Reason = json['Reason'];
Note = json['Note'];
StartUtc = JsonConverters.fromJson(json['StartUtc'],'DateTime',context!);
EndUtc = JsonConverters.fromJson(json['EndUtc'],'DateTime',context!);
Source = json['Source'];
IncidentRef = json['IncidentRef'];
LiftedUtc = JsonConverters.fromJson(json['LiftedUtc'],'DateTime',context!);
LiftedBy = json['LiftedBy'];
CreatedUtc = JsonConverters.fromJson(json['CreatedUtc'],'DateTime',context!);
CreatedBy = json['CreatedBy'];
Status = json['Status'];
return this;
}
Map<String, dynamic> toJson() => {
'HoldId': HoldId,
'Code': Code,
'ScopeKind': ScopeKind,
'ScopeKey': ScopeKey,
'ScopeLabel': ScopeLabel,
'Reason': Reason,
'Note': Note,
'StartUtc': JsonConverters.toJson(StartUtc,'DateTime',context!),
'EndUtc': JsonConverters.toJson(EndUtc,'DateTime',context!),
'Source': Source,
'IncidentRef': IncidentRef,
'LiftedUtc': JsonConverters.toJson(LiftedUtc,'DateTime',context!),
'LiftedBy': LiftedBy,
'CreatedUtc': JsonConverters.toJson(CreatedUtc,'DateTime',context!),
'CreatedBy': CreatedBy,
'Status': Status
};
getTypeName() => "DispatchHoldView";
TypeContext? context = _ctx;
}
class DispatchBoardIncidentView implements IConvertible
{
int? IncidentId;
String? Code;
String? Kind;
String? KindDetail;
String? Status;
String? TruckCode;
String? LoadCode;
String? TruckRecovery;
String? LoadRecovery;
DateTime? OpenedUtc;
DispatchBoardIncidentView({this.IncidentId,this.Code,this.Kind,this.KindDetail,this.Status,this.TruckCode,this.LoadCode,this.TruckRecovery,this.LoadRecovery,this.OpenedUtc});
DispatchBoardIncidentView.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'];
TruckCode = json['TruckCode'];
LoadCode = json['LoadCode'];
TruckRecovery = json['TruckRecovery'];
LoadRecovery = json['LoadRecovery'];
OpenedUtc = JsonConverters.fromJson(json['OpenedUtc'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'IncidentId': IncidentId,
'Code': Code,
'Kind': Kind,
'KindDetail': KindDetail,
'Status': Status,
'TruckCode': TruckCode,
'LoadCode': LoadCode,
'TruckRecovery': TruckRecovery,
'LoadRecovery': LoadRecovery,
'OpenedUtc': JsonConverters.toJson(OpenedUtc,'DateTime',context!)
};
getTypeName() => "DispatchBoardIncidentView";
TypeContext? context = _ctx;
}
class CourierMoveTarget implements IConvertible
{
int? DriverContactId;
String? Name;
bool? Ok;
String? Why;
String? LeaveByText;
CourierMoveTarget({this.DriverContactId,this.Name,this.Ok,this.Why,this.LeaveByText});
CourierMoveTarget.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DriverContactId = json['DriverContactId'];
Name = json['Name'];
Ok = json['Ok'];
Why = json['Why'];
LeaveByText = json['LeaveByText'];
return this;
}
Map<String, dynamic> toJson() => {
'DriverContactId': DriverContactId,
'Name': Name,
'Ok': Ok,
'Why': Why,
'LeaveByText': LeaveByText
};
getTypeName() => "CourierMoveTarget";
TypeContext? context = _ctx;
}
class CourierVanChip implements IConvertible
{
String? Code;
String? CourierStep;
String? LevelCode;
String? LevelName;
int? Units;
String? Area;
DateTime? DueUtc;
String? DueText;
bool? Movable;
String? NoMoveWhy;
List<CourierMoveTarget>? Targets = [];
CourierVanChip({this.Code,this.CourierStep,this.LevelCode,this.LevelName,this.Units,this.Area,this.DueUtc,this.DueText,this.Movable,this.NoMoveWhy,this.Targets});
CourierVanChip.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
CourierStep = json['CourierStep'];
LevelCode = json['LevelCode'];
LevelName = json['LevelName'];
Units = json['Units'];
Area = json['Area'];
DueUtc = JsonConverters.fromJson(json['DueUtc'],'DateTime',context!);
DueText = json['DueText'];
Movable = json['Movable'];
NoMoveWhy = json['NoMoveWhy'];
Targets = JsonConverters.fromJson(json['Targets'],'List<CourierMoveTarget>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'CourierStep': CourierStep,
'LevelCode': LevelCode,
'LevelName': LevelName,
'Units': Units,
'Area': Area,
'DueUtc': JsonConverters.toJson(DueUtc,'DateTime',context!),
'DueText': DueText,
'Movable': Movable,
'NoMoveWhy': NoMoveWhy,
'Targets': JsonConverters.toJson(Targets,'List<CourierMoveTarget>',context!)
};
getTypeName() => "CourierVanChip";
TypeContext? context = _ctx;
}
class CourierOfficeVan implements IConvertible
{
int? DriverContactId;
String? DriverCode;
String? Name;
bool? Online;
String? Zone;
String? VehicleUnit;
String? FacilityName;
String? State;
DateTime? LeaveByUtc;
String? LeaveByText;
int? SlackMin;
int? InVan;
int? Committed;
double? Cap;
String? CapUnit;
String? UnitMany;
String? CriticalCode;
int? DriveMin;
String? SendNote;
List<CourierVanChip>? Aboard = [];
List<CourierVanChip>? Queued = [];
CourierOfficeVan({this.DriverContactId,this.DriverCode,this.Name,this.Online,this.Zone,this.VehicleUnit,this.FacilityName,this.State,this.LeaveByUtc,this.LeaveByText,this.SlackMin,this.InVan,this.Committed,this.Cap,this.CapUnit,this.UnitMany,this.CriticalCode,this.DriveMin,this.SendNote,this.Aboard,this.Queued});
CourierOfficeVan.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DriverContactId = json['DriverContactId'];
DriverCode = json['DriverCode'];
Name = json['Name'];
Online = json['Online'];
Zone = json['Zone'];
VehicleUnit = json['VehicleUnit'];
FacilityName = json['FacilityName'];
State = json['State'];
LeaveByUtc = JsonConverters.fromJson(json['LeaveByUtc'],'DateTime',context!);
LeaveByText = json['LeaveByText'];
SlackMin = json['SlackMin'];
InVan = json['InVan'];
Committed = json['Committed'];
Cap = JsonConverters.toDouble(json['Cap']);
CapUnit = json['CapUnit'];
UnitMany = json['UnitMany'];
CriticalCode = json['CriticalCode'];
DriveMin = json['DriveMin'];
SendNote = json['SendNote'];
Aboard = JsonConverters.fromJson(json['Aboard'],'List<CourierVanChip>',context!);
Queued = JsonConverters.fromJson(json['Queued'],'List<CourierVanChip>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'DriverContactId': DriverContactId,
'DriverCode': DriverCode,
'Name': Name,
'Online': Online,
'Zone': Zone,
'VehicleUnit': VehicleUnit,
'FacilityName': FacilityName,
'State': State,
'LeaveByUtc': JsonConverters.toJson(LeaveByUtc,'DateTime',context!),
'LeaveByText': LeaveByText,
'SlackMin': SlackMin,
'InVan': InVan,
'Committed': Committed,
'Cap': Cap,
'CapUnit': CapUnit,
'UnitMany': UnitMany,
'CriticalCode': CriticalCode,
'DriveMin': DriveMin,
'SendNote': SendNote,
'Aboard': JsonConverters.toJson(Aboard,'List<CourierVanChip>',context!),
'Queued': JsonConverters.toJson(Queued,'List<CourierVanChip>',context!)
};
getTypeName() => "CourierOfficeVan";
TypeContext? context = _ctx;
}
class CourierHeldView implements IConvertible
{
String? Code;
String? Area;
int? Units;
String? UnitMany;
double? Miles;
String? LevelCode;
String? LevelName;
String? DueText;
String? HeldReason;
int? HeldMin;
List<String>? Why = [];
int? BestDriverContactId;
String? BestName;
String? BestLeaveByText;
CourierHeldView({this.Code,this.Area,this.Units,this.UnitMany,this.Miles,this.LevelCode,this.LevelName,this.DueText,this.HeldReason,this.HeldMin,this.Why,this.BestDriverContactId,this.BestName,this.BestLeaveByText});
CourierHeldView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Area = json['Area'];
Units = json['Units'];
UnitMany = json['UnitMany'];
Miles = JsonConverters.toDouble(json['Miles']);
LevelCode = json['LevelCode'];
LevelName = json['LevelName'];
DueText = json['DueText'];
HeldReason = json['HeldReason'];
HeldMin = json['HeldMin'];
Why = JsonConverters.fromJson(json['Why'],'List<String>',context!);
BestDriverContactId = json['BestDriverContactId'];
BestName = json['BestName'];
BestLeaveByText = json['BestLeaveByText'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Area': Area,
'Units': Units,
'UnitMany': UnitMany,
'Miles': Miles,
'LevelCode': LevelCode,
'LevelName': LevelName,
'DueText': DueText,
'HeldReason': HeldReason,
'HeldMin': HeldMin,
'Why': JsonConverters.toJson(Why,'List<String>',context!),
'BestDriverContactId': BestDriverContactId,
'BestName': BestName,
'BestLeaveByText': BestLeaveByText
};
getTypeName() => "CourierHeldView";
TypeContext? context = _ctx;
}
class CourierVehicleOption implements IConvertible
{
int? CourierProfileId;
int? EquipmentID;
String? UnitNumber;
String? VehicleType;
String? CapacityUnit;
double? CapacityLimit;
bool? IsRefrigerated;
String? Status;
String? Ownership;
int? OwnerContactId;
CourierVehicleOption({this.CourierProfileId,this.EquipmentID,this.UnitNumber,this.VehicleType,this.CapacityUnit,this.CapacityLimit,this.IsRefrigerated,this.Status,this.Ownership,this.OwnerContactId});
CourierVehicleOption.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
CourierProfileId = json['CourierProfileId'];
EquipmentID = json['EquipmentID'];
UnitNumber = json['UnitNumber'];
VehicleType = json['VehicleType'];
CapacityUnit = json['CapacityUnit'];
CapacityLimit = JsonConverters.toDouble(json['CapacityLimit']);
IsRefrigerated = json['IsRefrigerated'];
Status = json['Status'];
Ownership = json['Ownership'];
OwnerContactId = json['OwnerContactId'];
return this;
}
Map<String, dynamic> toJson() => {
'CourierProfileId': CourierProfileId,
'EquipmentID': EquipmentID,
'UnitNumber': UnitNumber,
'VehicleType': VehicleType,
'CapacityUnit': CapacityUnit,
'CapacityLimit': CapacityLimit,
'IsRefrigerated': IsRefrigerated,
'Status': Status,
'Ownership': Ownership,
'OwnerContactId': OwnerContactId
};
getTypeName() => "CourierVehicleOption";
TypeContext? context = _ctx;
}
class CourierFacilityOption implements IConvertible
{
int? CourierFacilityID;
String? Code;
String? Name;
String? Address;
int? IntakeMin;
CourierFacilityOption({this.CourierFacilityID,this.Code,this.Name,this.Address,this.IntakeMin});
CourierFacilityOption.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
CourierFacilityID = json['CourierFacilityID'];
Code = json['Code'];
Name = json['Name'];
Address = json['Address'];
IntakeMin = json['IntakeMin'];
return this;
}
Map<String, dynamic> toJson() => {
'CourierFacilityID': CourierFacilityID,
'Code': Code,
'Name': Name,
'Address': Address,
'IntakeMin': IntakeMin
};
getTypeName() => "CourierFacilityOption";
TypeContext? context = _ctx;
}
class CourierProfileOption implements IConvertible
{
int? CourierProfileID;
String? Name;
String? RouteShape;
bool? Enabled;
String? UnitOne;
String? UnitMany;
String? FacilityNoun;
List<CourierFacilityOption>? Facilities = [];
CourierProfileOption({this.CourierProfileID,this.Name,this.RouteShape,this.Enabled,this.UnitOne,this.UnitMany,this.FacilityNoun,this.Facilities});
CourierProfileOption.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
CourierProfileID = json['CourierProfileID'];
Name = json['Name'];
RouteShape = json['RouteShape'];
Enabled = json['Enabled'];
UnitOne = json['UnitOne'];
UnitMany = json['UnitMany'];
FacilityNoun = json['FacilityNoun'];
Facilities = JsonConverters.fromJson(json['Facilities'],'List<CourierFacilityOption>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'CourierProfileID': CourierProfileID,
'Name': Name,
'RouteShape': RouteShape,
'Enabled': Enabled,
'UnitOne': UnitOne,
'UnitMany': UnitMany,
'FacilityNoun': FacilityNoun,
'Facilities': JsonConverters.toJson(Facilities,'List<CourierFacilityOption>',context!)
};
getTypeName() => "CourierProfileOption";
TypeContext? context = _ctx;
}
class CourierDriverOption implements IConvertible
{
int? ContactId;
String? Code;
String? Name;
bool? Online;
String? Zone;
String? VehicleUnit;
int? EquipmentID;
bool? SentToFacility;
CourierDriverOption({this.ContactId,this.Code,this.Name,this.Online,this.Zone,this.VehicleUnit,this.EquipmentID,this.SentToFacility});
CourierDriverOption.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ContactId = json['ContactId'];
Code = json['Code'];
Name = json['Name'];
Online = json['Online'];
Zone = json['Zone'];
VehicleUnit = json['VehicleUnit'];
EquipmentID = json['EquipmentID'];
SentToFacility = json['SentToFacility'];
return this;
}
Map<String, dynamic> toJson() => {
'ContactId': ContactId,
'Code': Code,
'Name': Name,
'Online': Online,
'Zone': Zone,
'VehicleUnit': VehicleUnit,
'EquipmentID': EquipmentID,
'SentToFacility': SentToFacility
};
getTypeName() => "CourierDriverOption";
TypeContext? context = _ctx;
}
class CourierDeskRow implements IConvertible
{
String? Code;
int? CourierProfileId;
String? FacilityName;
String? LevelCode;
String? LevelName;
DateTime? DueUtc;
String? DueText;
int? Units;
int? UnitsFound;
String? UnitMany;
double? Fare;
double? FinalPrice;
double? TipAmount;
String? PayMode;
String? CaptureMode;
String? CustomerName;
String? Area;
DateTime? IntakeUtc;
int? IntakeMinAgo;
String? DamageNote;
bool? FinalPriceAfterCount;
bool? NeedsPrice;
int? ItemCount;
int? MissingCount;
int? PhotoCount;
CourierDeskRow({this.Code,this.CourierProfileId,this.FacilityName,this.LevelCode,this.LevelName,this.DueUtc,this.DueText,this.Units,this.UnitsFound,this.UnitMany,this.Fare,this.FinalPrice,this.TipAmount,this.PayMode,this.CaptureMode,this.CustomerName,this.Area,this.IntakeUtc,this.IntakeMinAgo,this.DamageNote,this.FinalPriceAfterCount,this.NeedsPrice,this.ItemCount,this.MissingCount,this.PhotoCount});
CourierDeskRow.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
CourierProfileId = json['CourierProfileId'];
FacilityName = json['FacilityName'];
LevelCode = json['LevelCode'];
LevelName = json['LevelName'];
DueUtc = JsonConverters.fromJson(json['DueUtc'],'DateTime',context!);
DueText = json['DueText'];
Units = json['Units'];
UnitsFound = json['UnitsFound'];
UnitMany = json['UnitMany'];
Fare = JsonConverters.toDouble(json['Fare']);
FinalPrice = JsonConverters.toDouble(json['FinalPrice']);
TipAmount = JsonConverters.toDouble(json['TipAmount']);
PayMode = json['PayMode'];
CaptureMode = json['CaptureMode'];
CustomerName = json['CustomerName'];
Area = json['Area'];
IntakeUtc = JsonConverters.fromJson(json['IntakeUtc'],'DateTime',context!);
IntakeMinAgo = json['IntakeMinAgo'];
DamageNote = json['DamageNote'];
FinalPriceAfterCount = json['FinalPriceAfterCount'];
NeedsPrice = json['NeedsPrice'];
ItemCount = json['ItemCount'];
MissingCount = json['MissingCount'];
PhotoCount = json['PhotoCount'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'CourierProfileId': CourierProfileId,
'FacilityName': FacilityName,
'LevelCode': LevelCode,
'LevelName': LevelName,
'DueUtc': JsonConverters.toJson(DueUtc,'DateTime',context!),
'DueText': DueText,
'Units': Units,
'UnitsFound': UnitsFound,
'UnitMany': UnitMany,
'Fare': Fare,
'FinalPrice': FinalPrice,
'TipAmount': TipAmount,
'PayMode': PayMode,
'CaptureMode': CaptureMode,
'CustomerName': CustomerName,
'Area': Area,
'IntakeUtc': JsonConverters.toJson(IntakeUtc,'DateTime',context!),
'IntakeMinAgo': IntakeMinAgo,
'DamageNote': DamageNote,
'FinalPriceAfterCount': FinalPriceAfterCount,
'NeedsPrice': NeedsPrice,
'ItemCount': ItemCount,
'MissingCount': MissingCount,
'PhotoCount': PhotoCount
};
getTypeName() => "CourierDeskRow";
TypeContext? context = _ctx;
}
class CourierOfficeView implements IConvertible
{
DateTime? ServerUtc;
List<CourierOfficeVan>? Vans = [];
List<CourierHeldView>? Held = [];
List<CourierVehicleOption>? Vehicles = [];
List<CourierProfileOption>? Profiles = [];
List<CourierDriverOption>? Drivers = [];
List<CourierDeskRow>? Desk = [];
int? GoCount;
int? HeldCount;
int? ReadyToOffer;
int? IntakeMin;
String? FacilityNoun;
CourierOfficeView({this.ServerUtc,this.Vans,this.Held,this.Vehicles,this.Profiles,this.Drivers,this.Desk,this.GoCount,this.HeldCount,this.ReadyToOffer,this.IntakeMin,this.FacilityNoun});
CourierOfficeView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ServerUtc = JsonConverters.fromJson(json['ServerUtc'],'DateTime',context!);
Vans = JsonConverters.fromJson(json['Vans'],'List<CourierOfficeVan>',context!);
Held = JsonConverters.fromJson(json['Held'],'List<CourierHeldView>',context!);
Vehicles = JsonConverters.fromJson(json['Vehicles'],'List<CourierVehicleOption>',context!);
Profiles = JsonConverters.fromJson(json['Profiles'],'List<CourierProfileOption>',context!);
Drivers = JsonConverters.fromJson(json['Drivers'],'List<CourierDriverOption>',context!);
Desk = JsonConverters.fromJson(json['Desk'],'List<CourierDeskRow>',context!);
GoCount = json['GoCount'];
HeldCount = json['HeldCount'];
ReadyToOffer = json['ReadyToOffer'];
IntakeMin = json['IntakeMin'];
FacilityNoun = json['FacilityNoun'];
return this;
}
Map<String, dynamic> toJson() => {
'ServerUtc': JsonConverters.toJson(ServerUtc,'DateTime',context!),
'Vans': JsonConverters.toJson(Vans,'List<CourierOfficeVan>',context!),
'Held': JsonConverters.toJson(Held,'List<CourierHeldView>',context!),
'Vehicles': JsonConverters.toJson(Vehicles,'List<CourierVehicleOption>',context!),
'Profiles': JsonConverters.toJson(Profiles,'List<CourierProfileOption>',context!),
'Drivers': JsonConverters.toJson(Drivers,'List<CourierDriverOption>',context!),
'Desk': JsonConverters.toJson(Desk,'List<CourierDeskRow>',context!),
'GoCount': GoCount,
'HeldCount': HeldCount,
'ReadyToOffer': ReadyToOffer,
'IntakeMin': IntakeMin,
'FacilityNoun': FacilityNoun
};
getTypeName() => "CourierOfficeView";
TypeContext? context = _ctx;
}
class DispatchBoardView implements IConvertible
{
DispatchPackConfigView? Pack;
DispatchHaulConfigView? Config;
List<DispatchOfflineWindowView>? OfflineWindows = [];
List<DispatchSupplierView>? Suppliers = [];
List<DispatchTruckView>? Trucks = [];
List<DispatchSlotView>? Slots = [];
List<DispatchTicketView>? Tickets = [];
List<DispatchLogView>? Log = [];
DispatchAutopilotView? Autopilot;
List<DispatchExceptionView>? Exceptions = [];
List<DispatchFeedView>? Feed = [];
List<DispatchRigView>? Rigs = [];
List<DispatchJobView>? Jobs = [];
List<DispatchOdDriverView>? OdDrivers = [];
List<DispatchOdRequestView>? OdRequests = [];
List<DispatchPackView>? Packs = [];
List<DispatchPackTermView>? PackTerms = [];
List<DispatchPackUnitView>? PackUnits = [];
List<DispatchHoldView>? Holds = [];
List<DispatchBoardIncidentView>? Incidents = [];
CourierOfficeView? Courier;
DispatchBoardView({this.Pack,this.Config,this.OfflineWindows,this.Suppliers,this.Trucks,this.Slots,this.Tickets,this.Log,this.Autopilot,this.Exceptions,this.Feed,this.Rigs,this.Jobs,this.OdDrivers,this.OdRequests,this.Packs,this.PackTerms,this.PackUnits,this.Holds,this.Incidents,this.Courier});
DispatchBoardView.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Pack = JsonConverters.fromJson(json['Pack'],'DispatchPackConfigView',context!);
Config = JsonConverters.fromJson(json['Config'],'DispatchHaulConfigView',context!);
OfflineWindows = JsonConverters.fromJson(json['OfflineWindows'],'List<DispatchOfflineWindowView>',context!);
Suppliers = JsonConverters.fromJson(json['Suppliers'],'List<DispatchSupplierView>',context!);
Trucks = JsonConverters.fromJson(json['Trucks'],'List<DispatchTruckView>',context!);
Slots = JsonConverters.fromJson(json['Slots'],'List<DispatchSlotView>',context!);
Tickets = JsonConverters.fromJson(json['Tickets'],'List<DispatchTicketView>',context!);
Log = JsonConverters.fromJson(json['Log'],'List<DispatchLogView>',context!);
Autopilot = JsonConverters.fromJson(json['Autopilot'],'DispatchAutopilotView',context!);
Exceptions = JsonConverters.fromJson(json['Exceptions'],'List<DispatchExceptionView>',context!);
Feed = JsonConverters.fromJson(json['Feed'],'List<DispatchFeedView>',context!);
Rigs = JsonConverters.fromJson(json['Rigs'],'List<DispatchRigView>',context!);
Jobs = JsonConverters.fromJson(json['Jobs'],'List<DispatchJobView>',context!);
OdDrivers = JsonConverters.fromJson(json['OdDrivers'],'List<DispatchOdDriverView>',context!);
OdRequests = JsonConverters.fromJson(json['OdRequests'],'List<DispatchOdRequestView>',context!);
Packs = JsonConverters.fromJson(json['Packs'],'List<DispatchPackView>',context!);
PackTerms = JsonConverters.fromJson(json['PackTerms'],'List<DispatchPackTermView>',context!);
PackUnits = JsonConverters.fromJson(json['PackUnits'],'List<DispatchPackUnitView>',context!);
Holds = JsonConverters.fromJson(json['Holds'],'List<DispatchHoldView>',context!);
Incidents = JsonConverters.fromJson(json['Incidents'],'List<DispatchBoardIncidentView>',context!);
Courier = JsonConverters.fromJson(json['Courier'],'CourierOfficeView',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Pack': JsonConverters.toJson(Pack,'DispatchPackConfigView',context!),
'Config': JsonConverters.toJson(Config,'DispatchHaulConfigView',context!),
'OfflineWindows': JsonConverters.toJson(OfflineWindows,'List<DispatchOfflineWindowView>',context!),
'Suppliers': JsonConverters.toJson(Suppliers,'List<DispatchSupplierView>',context!),
'Trucks': JsonConverters.toJson(Trucks,'List<DispatchTruckView>',context!),
'Slots': JsonConverters.toJson(Slots,'List<DispatchSlotView>',context!),
'Tickets': JsonConverters.toJson(Tickets,'List<DispatchTicketView>',context!),
'Log': JsonConverters.toJson(Log,'List<DispatchLogView>',context!),
'Autopilot': JsonConverters.toJson(Autopilot,'DispatchAutopilotView',context!),
'Exceptions': JsonConverters.toJson(Exceptions,'List<DispatchExceptionView>',context!),
'Feed': JsonConverters.toJson(Feed,'List<DispatchFeedView>',context!),
'Rigs': JsonConverters.toJson(Rigs,'List<DispatchRigView>',context!),
'Jobs': JsonConverters.toJson(Jobs,'List<DispatchJobView>',context!),
'OdDrivers': JsonConverters.toJson(OdDrivers,'List<DispatchOdDriverView>',context!),
'OdRequests': JsonConverters.toJson(OdRequests,'List<DispatchOdRequestView>',context!),
'Packs': JsonConverters.toJson(Packs,'List<DispatchPackView>',context!),
'PackTerms': JsonConverters.toJson(PackTerms,'List<DispatchPackTermView>',context!),
'PackUnits': JsonConverters.toJson(PackUnits,'List<DispatchPackUnitView>',context!),
'Holds': JsonConverters.toJson(Holds,'List<DispatchHoldView>',context!),
'Incidents': JsonConverters.toJson(Incidents,'List<DispatchBoardIncidentView>',context!),
'Courier': JsonConverters.toJson(Courier,'CourierOfficeView',context!)
};
getTypeName() => "DispatchBoardView";
TypeContext? context = _ctx;
}
class DispatchActionResponse implements IConvertible
{
DispatchBoardView? Board;
String? Message;
int? Sent;
int? Failed;
String? TicketCode;
double? TicketNet;
ResponseStatus? ResponseStatus;
DispatchActionResponse({this.Board,this.Message,this.Sent,this.Failed,this.TicketCode,this.TicketNet,this.ResponseStatus});
DispatchActionResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Board = JsonConverters.fromJson(json['Board'],'DispatchBoardView',context!);
Message = json['Message'];
Sent = json['Sent'];
Failed = json['Failed'];
TicketCode = json['TicketCode'];
TicketNet = JsonConverters.toDouble(json['TicketNet']);
ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Board': JsonConverters.toJson(Board,'DispatchBoardView',context!),
'Message': Message,
'Sent': Sent,
'Failed': Failed,
'TicketCode': TicketCode,
'TicketNet': TicketNet,
'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!)
};
getTypeName() => "DispatchActionResponse";
TypeContext? context = _ctx;
}
class DispatchTicketRequest implements IConvertible
{
String? TruckCode;
double? NetQty;
int? AtMin;
DispatchTicketRequest({this.TruckCode,this.NetQty,this.AtMin});
DispatchTicketRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TruckCode = json['TruckCode'];
NetQty = JsonConverters.toDouble(json['NetQty']);
AtMin = json['AtMin'];
return this;
}
Map<String, dynamic> toJson() => {
'TruckCode': TruckCode,
'NetQty': NetQty,
'AtMin': AtMin
};
getTypeName() => "DispatchTicketRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'DispatchPackConfigView': TypeInfo(TypeOf.Class, create:() => DispatchPackConfigView()),
'DispatchHaulConfigView': TypeInfo(TypeOf.Class, create:() => DispatchHaulConfigView()),
'DispatchOfflineWindowView': TypeInfo(TypeOf.Class, create:() => DispatchOfflineWindowView()),
'DispatchSiteView': TypeInfo(TypeOf.Class, create:() => DispatchSiteView()),
'DispatchSupplierView': TypeInfo(TypeOf.Class, create:() => DispatchSupplierView()),
'List<DispatchSiteView>': TypeInfo(TypeOf.Class, create:() => <DispatchSiteView>[]),
'DispatchTruckView': TypeInfo(TypeOf.Class, create:() => DispatchTruckView()),
'DispatchSlotView': TypeInfo(TypeOf.Class, create:() => DispatchSlotView()),
'DispatchTicketView': TypeInfo(TypeOf.Class, create:() => DispatchTicketView()),
'DispatchLogView': TypeInfo(TypeOf.Class, create:() => DispatchLogView()),
'DispatchAutopilotView': TypeInfo(TypeOf.Class, create:() => DispatchAutopilotView()),
'DispatchExceptionView': TypeInfo(TypeOf.Class, create:() => DispatchExceptionView()),
'DispatchFeedView': TypeInfo(TypeOf.Class, create:() => DispatchFeedView()),
'DispatchRigView': TypeInfo(TypeOf.Class, create:() => DispatchRigView()),
'DispatchJobView': TypeInfo(TypeOf.Class, create:() => DispatchJobView()),
'DispatchOdDriverView': TypeInfo(TypeOf.Class, create:() => DispatchOdDriverView()),
'DispatchOdRequestView': TypeInfo(TypeOf.Class, create:() => DispatchOdRequestView()),
'DispatchPackView': TypeInfo(TypeOf.Class, create:() => DispatchPackView()),
'DispatchPackTermView': TypeInfo(TypeOf.Class, create:() => DispatchPackTermView()),
'DispatchPackUnitView': TypeInfo(TypeOf.Class, create:() => DispatchPackUnitView()),
'DispatchHoldView': TypeInfo(TypeOf.Class, create:() => DispatchHoldView()),
'DispatchBoardIncidentView': TypeInfo(TypeOf.Class, create:() => DispatchBoardIncidentView()),
'CourierMoveTarget': TypeInfo(TypeOf.Class, create:() => CourierMoveTarget()),
'CourierVanChip': TypeInfo(TypeOf.Class, create:() => CourierVanChip()),
'List<CourierMoveTarget>': TypeInfo(TypeOf.Class, create:() => <CourierMoveTarget>[]),
'CourierOfficeVan': TypeInfo(TypeOf.Class, create:() => CourierOfficeVan()),
'List<CourierVanChip>': TypeInfo(TypeOf.Class, create:() => <CourierVanChip>[]),
'CourierHeldView': TypeInfo(TypeOf.Class, create:() => CourierHeldView()),
'CourierVehicleOption': TypeInfo(TypeOf.Class, create:() => CourierVehicleOption()),
'CourierFacilityOption': TypeInfo(TypeOf.Class, create:() => CourierFacilityOption()),
'CourierProfileOption': TypeInfo(TypeOf.Class, create:() => CourierProfileOption()),
'List<CourierFacilityOption>': TypeInfo(TypeOf.Class, create:() => <CourierFacilityOption>[]),
'CourierDriverOption': TypeInfo(TypeOf.Class, create:() => CourierDriverOption()),
'CourierDeskRow': TypeInfo(TypeOf.Class, create:() => CourierDeskRow()),
'CourierOfficeView': TypeInfo(TypeOf.Class, create:() => CourierOfficeView()),
'List<CourierOfficeVan>': TypeInfo(TypeOf.Class, create:() => <CourierOfficeVan>[]),
'List<CourierHeldView>': TypeInfo(TypeOf.Class, create:() => <CourierHeldView>[]),
'List<CourierVehicleOption>': TypeInfo(TypeOf.Class, create:() => <CourierVehicleOption>[]),
'List<CourierProfileOption>': TypeInfo(TypeOf.Class, create:() => <CourierProfileOption>[]),
'List<CourierDriverOption>': TypeInfo(TypeOf.Class, create:() => <CourierDriverOption>[]),
'List<CourierDeskRow>': TypeInfo(TypeOf.Class, create:() => <CourierDeskRow>[]),
'DispatchBoardView': TypeInfo(TypeOf.Class, create:() => DispatchBoardView()),
'List<DispatchOfflineWindowView>': TypeInfo(TypeOf.Class, create:() => <DispatchOfflineWindowView>[]),
'List<DispatchSupplierView>': TypeInfo(TypeOf.Class, create:() => <DispatchSupplierView>[]),
'List<DispatchTruckView>': TypeInfo(TypeOf.Class, create:() => <DispatchTruckView>[]),
'List<DispatchSlotView>': TypeInfo(TypeOf.Class, create:() => <DispatchSlotView>[]),
'List<DispatchTicketView>': TypeInfo(TypeOf.Class, create:() => <DispatchTicketView>[]),
'List<DispatchLogView>': TypeInfo(TypeOf.Class, create:() => <DispatchLogView>[]),
'List<DispatchExceptionView>': TypeInfo(TypeOf.Class, create:() => <DispatchExceptionView>[]),
'List<DispatchFeedView>': TypeInfo(TypeOf.Class, create:() => <DispatchFeedView>[]),
'List<DispatchRigView>': TypeInfo(TypeOf.Class, create:() => <DispatchRigView>[]),
'List<DispatchJobView>': TypeInfo(TypeOf.Class, create:() => <DispatchJobView>[]),
'List<DispatchOdDriverView>': TypeInfo(TypeOf.Class, create:() => <DispatchOdDriverView>[]),
'List<DispatchOdRequestView>': TypeInfo(TypeOf.Class, create:() => <DispatchOdRequestView>[]),
'List<DispatchPackView>': TypeInfo(TypeOf.Class, create:() => <DispatchPackView>[]),
'List<DispatchPackTermView>': TypeInfo(TypeOf.Class, create:() => <DispatchPackTermView>[]),
'List<DispatchPackUnitView>': TypeInfo(TypeOf.Class, create:() => <DispatchPackUnitView>[]),
'List<DispatchHoldView>': TypeInfo(TypeOf.Class, create:() => <DispatchHoldView>[]),
'List<DispatchBoardIncidentView>': TypeInfo(TypeOf.Class, create:() => <DispatchBoardIncidentView>[]),
'DispatchActionResponse': TypeInfo(TypeOf.Class, create:() => DispatchActionResponse()),
'DispatchTicketRequest': TypeInfo(TypeOf.Class, create:() => DispatchTicketRequest()),
});
Dart DispatchTicketRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/dispatch/haul/tickets HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<DispatchTicketRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<AtMin>0</AtMin>
<NetQty>0</NetQty>
<TruckCode>String</TruckCode>
</DispatchTicketRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DispatchActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Board>
<Autopilot>
<IsOn>false</IsOn>
<RuleOffline>false</RuleOffline>
<RuleRelease>false</RuleRelease>
<RuleRoute>false</RuleRoute>
<RuleSlot>false</RuleSlot>
<RuleThrottle>false</RuleThrottle>
<RuleTract>false</RuleTract>
<ThBand>0</ThBand>
<ThFeed>0</ThFeed>
<ThStaged>0</ThStaged>
<ThStall>0</ThStall>
<ThWait>0</ThWait>
</Autopilot>
<Config>
<DumpBays>0</DumpBays>
<FeedRate>0</FeedRate>
<Paused>false</Paused>
<QueueMax>0</QueueMax>
<SlotCap>0</SlotCap>
</Config>
<Courier>
<Desk>
<CourierDeskRow>
<Area>String</Area>
<CaptureMode>String</CaptureMode>
<Code>String</Code>
<CourierProfileId>0</CourierProfileId>
<CustomerName>String</CustomerName>
<DamageNote>String</DamageNote>
<DueText>String</DueText>
<DueUtc>0001-01-01T00:00:00</DueUtc>
<FacilityName>String</FacilityName>
<Fare>0</Fare>
<FinalPrice>0</FinalPrice>
<FinalPriceAfterCount>false</FinalPriceAfterCount>
<IntakeMinAgo>0</IntakeMinAgo>
<IntakeUtc>0001-01-01T00:00:00</IntakeUtc>
<ItemCount>0</ItemCount>
<LevelCode>String</LevelCode>
<LevelName>String</LevelName>
<MissingCount>0</MissingCount>
<NeedsPrice>false</NeedsPrice>
<PayMode>String</PayMode>
<PhotoCount>0</PhotoCount>
<TipAmount>0</TipAmount>
<UnitMany>String</UnitMany>
<Units>0</Units>
<UnitsFound>0</UnitsFound>
</CourierDeskRow>
</Desk>
<Drivers>
<CourierDriverOption>
<Code>String</Code>
<ContactId>0</ContactId>
<EquipmentID>0</EquipmentID>
<Name>String</Name>
<Online>false</Online>
<SentToFacility>false</SentToFacility>
<VehicleUnit>String</VehicleUnit>
<Zone>String</Zone>
</CourierDriverOption>
</Drivers>
<FacilityNoun>String</FacilityNoun>
<GoCount>0</GoCount>
<Held>
<CourierHeldView>
<Area>String</Area>
<BestDriverContactId>0</BestDriverContactId>
<BestLeaveByText>String</BestLeaveByText>
<BestName>String</BestName>
<Code>String</Code>
<DueText>String</DueText>
<HeldMin>0</HeldMin>
<HeldReason>String</HeldReason>
<LevelCode>String</LevelCode>
<LevelName>String</LevelName>
<Miles>0</Miles>
<UnitMany>String</UnitMany>
<Units>0</Units>
<Why xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>String</d6p1:string>
</Why>
</CourierHeldView>
</Held>
<HeldCount>0</HeldCount>
<IntakeMin>0</IntakeMin>
<Profiles>
<CourierProfileOption>
<CourierProfileID>0</CourierProfileID>
<Enabled>false</Enabled>
<Facilities>
<CourierFacilityOption>
<Address>String</Address>
<Code>String</Code>
<CourierFacilityID>0</CourierFacilityID>
<IntakeMin>0</IntakeMin>
<Name>String</Name>
</CourierFacilityOption>
</Facilities>
<FacilityNoun>String</FacilityNoun>
<Name>String</Name>
<RouteShape>String</RouteShape>
<UnitMany>String</UnitMany>
<UnitOne>String</UnitOne>
</CourierProfileOption>
</Profiles>
<ReadyToOffer>0</ReadyToOffer>
<ServerUtc>0001-01-01T00:00:00</ServerUtc>
<Vans>
<CourierOfficeVan>
<Aboard>
<CourierVanChip>
<Area>String</Area>
<Code>String</Code>
<CourierStep>String</CourierStep>
<DueText>String</DueText>
<DueUtc>0001-01-01T00:00:00</DueUtc>
<LevelCode>String</LevelCode>
<LevelName>String</LevelName>
<Movable>false</Movable>
<NoMoveWhy>String</NoMoveWhy>
<Targets>
<CourierMoveTarget>
<DriverContactId>0</DriverContactId>
<LeaveByText>String</LeaveByText>
<Name>String</Name>
<Ok>false</Ok>
<Why>String</Why>
</CourierMoveTarget>
</Targets>
<Units>0</Units>
</CourierVanChip>
</Aboard>
<Cap>0</Cap>
<CapUnit>String</CapUnit>
<Committed>0</Committed>
<CriticalCode>String</CriticalCode>
<DriveMin>0</DriveMin>
<DriverCode>String</DriverCode>
<DriverContactId>0</DriverContactId>
<FacilityName>String</FacilityName>
<InVan>0</InVan>
<LeaveByText>String</LeaveByText>
<LeaveByUtc>0001-01-01T00:00:00</LeaveByUtc>
<Name>String</Name>
<Online>false</Online>
<Queued>
<CourierVanChip>
<Area>String</Area>
<Code>String</Code>
<CourierStep>String</CourierStep>
<DueText>String</DueText>
<DueUtc>0001-01-01T00:00:00</DueUtc>
<LevelCode>String</LevelCode>
<LevelName>String</LevelName>
<Movable>false</Movable>
<NoMoveWhy>String</NoMoveWhy>
<Targets>
<CourierMoveTarget>
<DriverContactId>0</DriverContactId>
<LeaveByText>String</LeaveByText>
<Name>String</Name>
<Ok>false</Ok>
<Why>String</Why>
</CourierMoveTarget>
</Targets>
<Units>0</Units>
</CourierVanChip>
</Queued>
<SendNote>String</SendNote>
<SlackMin>0</SlackMin>
<State>String</State>
<UnitMany>String</UnitMany>
<VehicleUnit>String</VehicleUnit>
<Zone>String</Zone>
</CourierOfficeVan>
</Vans>
<Vehicles>
<CourierVehicleOption>
<CapacityLimit>0</CapacityLimit>
<CapacityUnit>String</CapacityUnit>
<CourierProfileId>0</CourierProfileId>
<EquipmentID>0</EquipmentID>
<IsRefrigerated>false</IsRefrigerated>
<OwnerContactId>0</OwnerContactId>
<Ownership>String</Ownership>
<Status>String</Status>
<UnitNumber>String</UnitNumber>
<VehicleType>String</VehicleType>
</CourierVehicleOption>
</Vehicles>
</Courier>
<Exceptions>
<DispatchExceptionView>
<Code>String</Code>
<Kind>String</Kind>
<MinsAgo>0</MinsAgo>
<RaisedAt>0001-01-01T00:00:00</RaisedAt>
<RaisedLabel>String</RaisedLabel>
<Severity>String</Severity>
<SupplierCode>String</SupplierCode>
<TruckCode>String</TruckCode>
</DispatchExceptionView>
</Exceptions>
<Feed>
<DispatchFeedView>
<Channel>String</Channel>
<EntryAt>0001-01-01T00:00:00</EntryAt>
<EntryLabel>String</EntryLabel>
<FeedId>0</FeedId>
<Kind>String</Kind>
<MinsAgo>0</MinsAgo>
<OverrideText>String</OverrideText>
<SupplierCode>String</SupplierCode>
<TruckCode>String</TruckCode>
</DispatchFeedView>
</Feed>
<Holds>
<DispatchHoldView>
<Code>String</Code>
<CreatedBy>String</CreatedBy>
<CreatedUtc>0001-01-01T00:00:00</CreatedUtc>
<EndUtc>0001-01-01T00:00:00</EndUtc>
<HoldId>0</HoldId>
<IncidentRef>String</IncidentRef>
<LiftedBy>String</LiftedBy>
<LiftedUtc>0001-01-01T00:00:00</LiftedUtc>
<Note>String</Note>
<Reason>String</Reason>
<ScopeKey>String</ScopeKey>
<ScopeKind>String</ScopeKind>
<ScopeLabel>String</ScopeLabel>
<Source>String</Source>
<StartUtc>0001-01-01T00:00:00</StartUtc>
<Status>String</Status>
</DispatchHoldView>
</Holds>
<Incidents>
<DispatchBoardIncidentView>
<Code>String</Code>
<IncidentId>0</IncidentId>
<Kind>String</Kind>
<KindDetail>String</KindDetail>
<LoadCode>String</LoadCode>
<LoadRecovery>String</LoadRecovery>
<OpenedUtc>0001-01-01T00:00:00</OpenedUtc>
<Status>String</Status>
<TruckCode>String</TruckCode>
<TruckRecovery>String</TruckRecovery>
</DispatchBoardIncidentView>
</Incidents>
<Jobs>
<DispatchJobView>
<Cargo>String</Cargo>
<Code>String</Code>
<Customer>String</Customer>
<CustomerPhone>String</CustomerPhone>
<Declined>false</Declined>
<DriverLabel>String</DriverLabel>
<EtaText>String</EtaText>
<FromLoc>String</FromLoc>
<HoldContact>String</HoldContact>
<HoldPhone>String</HoldPhone>
<JobId>0</JobId>
<Miles>0</Miles>
<OfferExpired>false</OfferExpired>
<OfferExpiresInMins>0</OfferExpiresInMins>
<OfferExpiresMin>0</OfferExpiresMin>
<OfferRigIds>String</OfferRigIds>
<Rate>0</Rate>
<RequiredRig>String</RequiredRig>
<Stage>String</Stage>
<ToLoc>String</ToLoc>
<WindowText>String</WindowText>
</DispatchJobView>
</Jobs>
<Log>
<DispatchLogView>
<Kind>String</Kind>
<LogId>0</LogId>
<LogText>String</LogText>
<LoggedAt>0001-01-01T00:00:00</LoggedAt>
<LoggedMin>0</LoggedMin>
<MinsAgo>0</MinsAgo>
</DispatchLogView>
</Log>
<OdDrivers>
<DispatchOdDriverView>
<Capabilities>String</Capabilities>
<Code>String</Code>
<DispatchReason>String</DispatchReason>
<DispatchState>String</DispatchState>
<DistanceMi>0</DistanceMi>
<DriverId>0</DriverId>
<Name>String</Name>
<Phone>String</Phone>
<Status>String</Status>
<Tier>String</Tier>
<Zone>String</Zone>
</DispatchOdDriverView>
</OdDrivers>
<OdRequests>
<DispatchOdRequestView>
<Address>String</Address>
<Bags>0</Bags>
<CandidateCodes>String</CandidateCodes>
<Code>String</Code>
<DriverCode>String</DriverCode>
<EtaText>String</EtaText>
<Needs>String</Needs>
<NoDriver>String</NoDriver>
<Note>String</Note>
<PingExpiresInMins>0</PingExpiresInMins>
<PingExpiresMin>0</PingExpiresMin>
<RequestId>0</RequestId>
<Stage>String</Stage>
<TriedCodes>String</TriedCodes>
<Zone>String</Zone>
</DispatchOdRequestView>
</OdRequests>
<OfflineWindows>
<DispatchOfflineWindowView>
<FromHour>String</FromHour>
<OfflineWindowId>0</OfflineWindowId>
<ToHour>String</ToHour>
</DispatchOfflineWindowView>
</OfflineWindows>
<Pack>
<DayBoundary>String</DayBoundary>
<HasQuotas>false</HasQuotas>
<IsInverted>false</IsInverted>
<LoadLimitMins>0</LoadLimitMins>
<PackId>String</PackId>
<PayBasis>String</PayBasis>
<TicketSource>String</TicketSource>
</Pack>
<PackTerms>
<DispatchPackTermView>
<AssignTarget>String</AssignTarget>
<BayNoun>String</BayNoun>
<CampaignNoun>String</CampaignNoun>
<DayNoun>String</DayNoun>
<Facility>String</Facility>
<FacilityShort>String</FacilityShort>
<FleetLabel>String</FleetLabel>
<Lang>String</Lang>
<ModeName>String</ModeName>
<PackId>String</PackId>
<PageSubtitle>String</PageSubtitle>
<SeasonChip>String</SeasonChip>
<SourceSite>String</SourceSite>
<Supplier>String</Supplier>
<SupplierPlural>String</SupplierPlural>
<TicketNoun>String</TicketNoun>
<UnloadVerb>String</UnloadVerb>
</DispatchPackTermView>
</PackTerms>
<PackUnits>
<DispatchPackUnitView>
<LoadQty>0</LoadQty>
<PackId>String</PackId>
<SeasonMultiple>0</SeasonMultiple>
<Unit>String</Unit>
<VolumeHigh>0</VolumeHigh>
<VolumeLow>0</VolumeLow>
<WeeklyFraction>0</WeeklyFraction>
</DispatchPackUnitView>
</PackUnits>
<Packs>
<DispatchPackView>
<DayBoundary>String</DayBoundary>
<HasQuotas>false</HasQuotas>
<IsInverted>false</IsInverted>
<LoadLimitMins>0</LoadLimitMins>
<PackId>String</PackId>
<PayBasis>String</PayBasis>
<SortOrder>0</SortOrder>
<TicketSource>String</TicketSource>
</DispatchPackView>
</Packs>
<Rigs>
<DispatchRigView>
<Code>String</Code>
<DispatchReason>String</DispatchReason>
<DispatchState>String</DispatchState>
<DriverName>String</DriverName>
<IsFree>false</IsFree>
<MatchRank>0</MatchRank>
<Name>String</Name>
<Phone>String</Phone>
<RigId>0</RigId>
<RigType>String</RigType>
</DispatchRigView>
</Rigs>
<Slots>
<DispatchSlotView>
<BaseBooked>0</BaseBooked>
<Hour>String</Hour>
<SlotId>0</SlotId>
<SortOrder>0</SortOrder>
</DispatchSlotView>
</Slots>
<Suppliers>
<DispatchSupplierView>
<Code>String</Code>
<Delivered>0</Delivered>
<Name>String</Name>
<OwnHauler>false</OwnHauler>
<Region>String</Region>
<SeasonAllotment>0</SeasonAllotment>
<Sites>
<DispatchSiteView>
<Acres>0</Acres>
<Name>String</Name>
<SiteId>0</SiteId>
<SortOrder>0</SortOrder>
<StandingVolume>0</StandingVolume>
<SupplierCode>String</SupplierCode>
<SupplierId>0</SupplierId>
</DispatchSiteView>
</Sites>
<SortOrder>0</SortOrder>
<SupplierId>0</SupplierId>
<WeekCap>0</WeekCap>
<WeekDelivered>0</WeekDelivered>
</DispatchSupplierView>
</Suppliers>
<Tickets>
<DispatchTicketView>
<Code>String</Code>
<MinsAgo>0</MinsAgo>
<NetQty>0</NetQty>
<Source>String</Source>
<SupplierCode>String</SupplierCode>
<TicketId>0</TicketId>
<TicketedAt>0001-01-01T00:00:00</TicketedAt>
<TicketedMin>0</TicketedMin>
<TruckCode>String</TruckCode>
</DispatchTicketView>
</Tickets>
<Trucks>
<DispatchTruckView>
<Code>String</Code>
<CycleMins>String</CycleMins>
<CycleMinsAgo>0</CycleMinsAgo>
<CycleStart>0</CycleStart>
<DispatchReason>String</DispatchReason>
<DispatchState>String</DispatchState>
<DriverName>String</DriverName>
<EmployerCode>String</EmployerCode>
<EstLoad>0</EstLoad>
<IsInteractive>false</IsInteractive>
<LastPingMins>0</LastPingMins>
<LoadsToday>0</LoadsToday>
<NetToday>0</NetToday>
<NextSiteName>String</NextSiteName>
<NextSupplierCode>String</NextSupplierCode>
<Phone>String</Phone>
<SiteName>String</SiteName>
<Slot>String</Slot>
<Stage>String</Stage>
<StageMinsAgo>0</StageMinsAgo>
<StageSince>0</StageSince>
<SupplierCode>String</SupplierCode>
<TruckId>0</TruckId>
</DispatchTruckView>
</Trucks>
</Board>
<Failed>0</Failed>
<Message>String</Message>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<Sent>0</Sent>
<TicketCode>String</TicketCode>
<TicketNet>0</TicketNet>
</DispatchActionResponse>