Trendsic Platform Service

<back to all web services

CourierVansRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/dispatch/courier/vans
import 'package:servicestack/servicestack.dart';

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;

    CourierVehicleOption({this.CourierProfileId,this.EquipmentID,this.UnitNumber,this.VehicleType,this.CapacityUnit,this.CapacityLimit,this.IsRefrigerated,this.Status});
    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'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'CourierProfileId': CourierProfileId,
        'EquipmentID': EquipmentID,
        'UnitNumber': UnitNumber,
        'VehicleType': VehicleType,
        'CapacityUnit': CapacityUnit,
        'CapacityLimit': CapacityLimit,
        'IsRefrigerated': IsRefrigerated,
        'Status': Status
    };

    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 CourierOfficeResponse implements IConvertible
{
    CourierOfficeView? Office;
    bool? Available;
    ResponseStatus? ResponseStatus;

    CourierOfficeResponse({this.Office,this.Available,this.ResponseStatus});
    CourierOfficeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Office = JsonConverters.fromJson(json['Office'],'CourierOfficeView',context!);
        Available = json['Available'];
        ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Office': JsonConverters.toJson(Office,'CourierOfficeView',context!),
        'Available': Available,
        'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!)
    };

    getTypeName() => "CourierOfficeResponse";
    TypeContext? context = _ctx;
}

class CourierVansRequest implements IConvertible
{
    CourierVansRequest();
    CourierVansRequest.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "CourierVansRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
    '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>[]),
    'CourierOfficeResponse': TypeInfo(TypeOf.Class, create:() => CourierOfficeResponse()),
    'CourierVansRequest': TypeInfo(TypeOf.Class, create:() => CourierVansRequest()),
});

Dart CourierVansRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/dispatch/courier/vans HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Office":{"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"}],"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"},"Available":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}