| POST,OPTIONS | /v1/dispatch/autopilot/exceptions/{Code}/resolve |
|---|
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 DispatchExceptionResolveRequest implements IConvertible
{
String? Code;
String? Resolution;
String? EntryLabel;
int? AtMin;
DispatchExceptionResolveRequest({this.Code,this.Resolution,this.EntryLabel,this.AtMin});
DispatchExceptionResolveRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
Resolution = json['Resolution'];
EntryLabel = json['EntryLabel'];
AtMin = json['AtMin'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'Resolution': Resolution,
'EntryLabel': EntryLabel,
'AtMin': AtMin
};
getTypeName() => "DispatchExceptionResolveRequest";
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()),
'DispatchExceptionResolveRequest': TypeInfo(TypeOf.Class, create:() => DispatchExceptionResolveRequest()),
});
Dart DispatchExceptionResolveRequest 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/dispatch/autopilot/exceptions/{Code}/resolve HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Code":"String","Resolution":"String","EntryLabel":"String","AtMin":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Board":{"Pack":{"PackId":"String","HasQuotas":false,"IsInverted":false,"LoadLimitMins":0,"TicketSource":"String","PayBasis":"String","DayBoundary":"String"},"Config":{"QueueMax":0,"DumpBays":0,"SlotCap":0,"Paused":false,"FeedRate":0},"OfflineWindows":[{"OfflineWindowId":0,"FromHour":"String","ToHour":"String"}],"Suppliers":[{"SupplierId":0,"Code":"String","Name":"String","Region":"String","OwnHauler":false,"SeasonAllotment":0,"Delivered":0,"WeekCap":0,"WeekDelivered":0,"SortOrder":0,"Sites":[{"SiteId":0,"SupplierId":0,"SupplierCode":"String","Name":"String","Acres":0,"StandingVolume":0,"SortOrder":0}]}],"Trucks":[{"TruckId":0,"Code":"String","DriverName":"String","Phone":"String","DispatchState":"String","DispatchReason":"String","EmployerCode":"String","SupplierCode":"String","SiteName":"String","EstLoad":0,"Stage":"String","StageSince":0,"CycleStart":0,"StageMinsAgo":0,"CycleMinsAgo":0,"Slot":"String","LoadsToday":0,"NetToday":0,"LastPingMins":0,"CycleMins":"String","IsInteractive":false,"NextSupplierCode":"String","NextSiteName":"String"}],"Slots":[{"SlotId":0,"Hour":"String","BaseBooked":0,"SortOrder":0}],"Tickets":[{"TicketId":0,"Code":"String","TruckCode":"String","SupplierCode":"String","NetQty":0,"TicketedAt":"0001-01-01T00:00:00.0000000","TicketedMin":0,"Source":"String","MinsAgo":0}],"Log":[{"LogId":0,"LoggedAt":"0001-01-01T00:00:00.0000000","LoggedMin":0,"LogText":"String","Kind":"String","MinsAgo":0}],"Autopilot":{"IsOn":false,"RuleSlot":false,"RuleRoute":false,"RuleRelease":false,"RuleTract":false,"RuleThrottle":false,"RuleOffline":false,"ThStaged":0,"ThWait":0,"ThBand":0,"ThStall":0,"ThFeed":0},"Exceptions":[{"Code":"String","Kind":"String","Severity":"String","TruckCode":"String","SupplierCode":"String","RaisedAt":"0001-01-01T00:00:00.0000000","RaisedLabel":"String","MinsAgo":0}],"Feed":[{"FeedId":0,"EntryAt":"0001-01-01T00:00:00.0000000","EntryLabel":"String","Channel":"String","Kind":"String","TruckCode":"String","SupplierCode":"String","OverrideText":"String","MinsAgo":0}],"Rigs":[{"RigId":0,"Code":"String","Name":"String","DriverName":"String","Phone":"String","RigType":"String","IsFree":false,"MatchRank":0,"DispatchState":"String","DispatchReason":"String"}],"Jobs":[{"JobId":0,"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","DriverLabel":"String","EtaText":"String","OfferRigIds":"String","OfferExpiresMin":0,"OfferExpiresInMins":0,"OfferExpired":false,"Declined":false}],"OdDrivers":[{"DriverId":0,"Code":"String","Name":"String","Zone":"String","Phone":"String","Status":"String","Tier":"String","DistanceMi":0,"Capabilities":"String","DispatchState":"String","DispatchReason":"String"}],"OdRequests":[{"RequestId":0,"Code":"String","Address":"String","Zone":"String","Bags":0,"Stage":"String","DriverCode":"String","Needs":"String","Note":"String","PingExpiresMin":0,"PingExpiresInMins":0,"TriedCodes":"String","CandidateCodes":"String","EtaText":"String","NoDriver":"String"}],"Packs":[{"PackId":"String","HasQuotas":false,"IsInverted":false,"LoadLimitMins":0,"DayBoundary":"String","TicketSource":"String","PayBasis":"String","SortOrder":0}],"PackTerms":[{"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":"String"}],"PackUnits":[{"PackId":"String","Unit":"String","LoadQty":0,"VolumeLow":0,"VolumeHigh":0,"SeasonMultiple":0,"WeeklyFraction":0}],"Holds":[{"HoldId":0,"Code":"String","ScopeKind":"String","ScopeKey":"String","ScopeLabel":"String","Reason":"String","Note":"String","StartUtc":"0001-01-01T00:00:00.0000000","EndUtc":"0001-01-01T00:00:00.0000000","Source":"String","IncidentRef":"String","LiftedUtc":"0001-01-01T00:00:00.0000000","LiftedBy":"String","CreatedUtc":"0001-01-01T00:00:00.0000000","CreatedBy":"String","Status":"String"}],"Incidents":[{"IncidentId":0,"Code":"String","Kind":"String","KindDetail":"String","Status":"String","TruckCode":"String","LoadCode":"String","TruckRecovery":"String","LoadRecovery":"String","OpenedUtc":"0001-01-01T00:00:00.0000000"}],"Courier":{"ServerUtc":"0001-01-01T00:00:00.0000000","Vans":[{"DriverContactId":0,"DriverCode":"String","Name":"String","Online":false,"Zone":"String","VehicleUnit":"String","FacilityName":"String","State":"String","LeaveByUtc":"0001-01-01T00:00:00.0000000","LeaveByText":"String","SlackMin":0,"InVan":0,"Committed":0,"Cap":0,"CapUnit":"String","UnitMany":"String","CriticalCode":"String","DriveMin":0,"SendNote":"String","Aboard":[{"Code":"String","CourierStep":"String","LevelCode":"String","LevelName":"String","Units":0,"Area":"String","DueUtc":"0001-01-01T00:00:00.0000000","DueText":"String","Movable":false,"NoMoveWhy":"String","Targets":[{"DriverContactId":0,"Name":"String","Ok":false,"Why":"String","LeaveByText":"String"}]}],"Queued":[{"Code":"String","CourierStep":"String","LevelCode":"String","LevelName":"String","Units":0,"Area":"String","DueUtc":"0001-01-01T00:00:00.0000000","DueText":"String","Movable":false,"NoMoveWhy":"String","Targets":[{"DriverContactId":0,"Name":"String","Ok":false,"Why":"String","LeaveByText":"String"}]}]}],"Held":[{"Code":"String","Area":"String","Units":0,"UnitMany":"String","Miles":0,"LevelCode":"String","LevelName":"String","DueText":"String","HeldReason":"String","HeldMin":0,"Why":["String"],"BestDriverContactId":0,"BestName":"String","BestLeaveByText":"String"}],"Vehicles":[{"CourierProfileId":0,"EquipmentID":0,"UnitNumber":"String","VehicleType":"String","CapacityUnit":"String","CapacityLimit":0,"IsRefrigerated":false,"Status":"String","Ownership":"String","OwnerContactId":0}],"Profiles":[{"CourierProfileID":0,"Name":"String","RouteShape":"String","Enabled":false,"UnitOne":"String","UnitMany":"String","FacilityNoun":"String","Facilities":[{"CourierFacilityID":0,"Code":"String","Name":"String","Address":"String","IntakeMin":0}]}],"Drivers":[{"ContactId":0,"Code":"String","Name":"String","Online":false,"Zone":"String","VehicleUnit":"String","EquipmentID":0,"SentToFacility":false}],"Desk":[{"Code":"String","CourierProfileId":0,"FacilityName":"String","LevelCode":"String","LevelName":"String","DueUtc":"0001-01-01T00:00:00.0000000","DueText":"String","Units":0,"UnitsFound":0,"UnitMany":"String","Fare":0,"FinalPrice":0,"TipAmount":0,"PayMode":"String","CaptureMode":"String","CustomerName":"String","Area":"String","IntakeUtc":"0001-01-01T00:00:00.0000000","IntakeMinAgo":0,"DamageNote":"String","FinalPriceAfterCount":false,"NeedsPrice":false,"ItemCount":0,"MissingCount":0,"PhotoCount":0}],"GoCount":0,"HeldCount":0,"ReadyToOffer":0,"IntakeMin":0,"FacilityNoun":"String"}},"Message":"String","Sent":0,"Failed":0,"TicketCode":"String","TicketNet":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}