| POST,OPTIONS | /v1/dispatch/autopilot/exceptions/{Code}/resolve |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class DispatchExceptionResolveRequest
{
public String Code = null;
public String Resolution = null;
public String EntryLabel = null;
public Integer AtMin = null;
public String getCode() { return Code; }
public DispatchExceptionResolveRequest setCode(String value) { this.Code = value; return this; }
public String getResolution() { return Resolution; }
public DispatchExceptionResolveRequest setResolution(String value) { this.Resolution = value; return this; }
public String getEntryLabel() { return EntryLabel; }
public DispatchExceptionResolveRequest setEntryLabel(String value) { this.EntryLabel = value; return this; }
public Integer getAtMin() { return AtMin; }
public DispatchExceptionResolveRequest setAtMin(Integer value) { this.AtMin = value; return this; }
}
public static class DispatchActionResponse
{
public DispatchBoardView Board = null;
public String Message = null;
public Integer Sent = null;
public Integer Failed = null;
public String TicketCode = null;
public BigDecimal TicketNet = null;
public ResponseStatus ResponseStatus = null;
public DispatchBoardView getBoard() { return Board; }
public DispatchActionResponse setBoard(DispatchBoardView value) { this.Board = value; return this; }
public String getMessage() { return Message; }
public DispatchActionResponse setMessage(String value) { this.Message = value; return this; }
public Integer getSent() { return Sent; }
public DispatchActionResponse setSent(Integer value) { this.Sent = value; return this; }
public Integer getFailed() { return Failed; }
public DispatchActionResponse setFailed(Integer value) { this.Failed = value; return this; }
public String getTicketCode() { return TicketCode; }
public DispatchActionResponse setTicketCode(String value) { this.TicketCode = value; return this; }
public BigDecimal getTicketNet() { return TicketNet; }
public DispatchActionResponse setTicketNet(BigDecimal value) { this.TicketNet = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public DispatchActionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class DispatchBoardView
{
public DispatchPackConfigView Pack = null;
public DispatchHaulConfigView Config = null;
public ArrayList<DispatchOfflineWindowView> OfflineWindows = new ArrayList<DispatchOfflineWindowView>();
public ArrayList<DispatchSupplierView> Suppliers = new ArrayList<DispatchSupplierView>();
public ArrayList<DispatchTruckView> Trucks = new ArrayList<DispatchTruckView>();
public ArrayList<DispatchSlotView> Slots = new ArrayList<DispatchSlotView>();
public ArrayList<DispatchTicketView> Tickets = new ArrayList<DispatchTicketView>();
public ArrayList<DispatchLogView> Log = new ArrayList<DispatchLogView>();
public DispatchAutopilotView Autopilot = null;
public ArrayList<DispatchExceptionView> Exceptions = new ArrayList<DispatchExceptionView>();
public ArrayList<DispatchFeedView> Feed = new ArrayList<DispatchFeedView>();
public ArrayList<DispatchRigView> Rigs = new ArrayList<DispatchRigView>();
public ArrayList<DispatchJobView> Jobs = new ArrayList<DispatchJobView>();
public ArrayList<DispatchOdDriverView> OdDrivers = new ArrayList<DispatchOdDriverView>();
public ArrayList<DispatchOdRequestView> OdRequests = new ArrayList<DispatchOdRequestView>();
public ArrayList<DispatchPackView> Packs = new ArrayList<DispatchPackView>();
public ArrayList<DispatchPackTermView> PackTerms = new ArrayList<DispatchPackTermView>();
public ArrayList<DispatchPackUnitView> PackUnits = new ArrayList<DispatchPackUnitView>();
public DispatchPackConfigView getPack() { return Pack; }
public DispatchBoardView setPack(DispatchPackConfigView value) { this.Pack = value; return this; }
public DispatchHaulConfigView getConfig() { return Config; }
public DispatchBoardView setConfig(DispatchHaulConfigView value) { this.Config = value; return this; }
public ArrayList<DispatchOfflineWindowView> getOfflineWindows() { return OfflineWindows; }
public DispatchBoardView setOfflineWindows(ArrayList<DispatchOfflineWindowView> value) { this.OfflineWindows = value; return this; }
public ArrayList<DispatchSupplierView> getSuppliers() { return Suppliers; }
public DispatchBoardView setSuppliers(ArrayList<DispatchSupplierView> value) { this.Suppliers = value; return this; }
public ArrayList<DispatchTruckView> getTrucks() { return Trucks; }
public DispatchBoardView setTrucks(ArrayList<DispatchTruckView> value) { this.Trucks = value; return this; }
public ArrayList<DispatchSlotView> getSlots() { return Slots; }
public DispatchBoardView setSlots(ArrayList<DispatchSlotView> value) { this.Slots = value; return this; }
public ArrayList<DispatchTicketView> getTickets() { return Tickets; }
public DispatchBoardView setTickets(ArrayList<DispatchTicketView> value) { this.Tickets = value; return this; }
public ArrayList<DispatchLogView> getLog() { return Log; }
public DispatchBoardView setLog(ArrayList<DispatchLogView> value) { this.Log = value; return this; }
public DispatchAutopilotView getAutopilot() { return Autopilot; }
public DispatchBoardView setAutopilot(DispatchAutopilotView value) { this.Autopilot = value; return this; }
public ArrayList<DispatchExceptionView> getExceptions() { return Exceptions; }
public DispatchBoardView setExceptions(ArrayList<DispatchExceptionView> value) { this.Exceptions = value; return this; }
public ArrayList<DispatchFeedView> getFeed() { return Feed; }
public DispatchBoardView setFeed(ArrayList<DispatchFeedView> value) { this.Feed = value; return this; }
public ArrayList<DispatchRigView> getRigs() { return Rigs; }
public DispatchBoardView setRigs(ArrayList<DispatchRigView> value) { this.Rigs = value; return this; }
public ArrayList<DispatchJobView> getJobs() { return Jobs; }
public DispatchBoardView setJobs(ArrayList<DispatchJobView> value) { this.Jobs = value; return this; }
public ArrayList<DispatchOdDriverView> getOdDrivers() { return OdDrivers; }
public DispatchBoardView setOdDrivers(ArrayList<DispatchOdDriverView> value) { this.OdDrivers = value; return this; }
public ArrayList<DispatchOdRequestView> getOdRequests() { return OdRequests; }
public DispatchBoardView setOdRequests(ArrayList<DispatchOdRequestView> value) { this.OdRequests = value; return this; }
public ArrayList<DispatchPackView> getPacks() { return Packs; }
public DispatchBoardView setPacks(ArrayList<DispatchPackView> value) { this.Packs = value; return this; }
public ArrayList<DispatchPackTermView> getPackTerms() { return PackTerms; }
public DispatchBoardView setPackTerms(ArrayList<DispatchPackTermView> value) { this.PackTerms = value; return this; }
public ArrayList<DispatchPackUnitView> getPackUnits() { return PackUnits; }
public DispatchBoardView setPackUnits(ArrayList<DispatchPackUnitView> value) { this.PackUnits = value; return this; }
}
public static class DispatchPackConfigView
{
public String PackId = null;
public Boolean HasQuotas = null;
public Boolean IsInverted = null;
public Integer LoadLimitMins = null;
public String TicketSource = null;
public String PayBasis = null;
public String DayBoundary = null;
public String getPackId() { return PackId; }
public DispatchPackConfigView setPackId(String value) { this.PackId = value; return this; }
public Boolean isHasQuotas() { return HasQuotas; }
public DispatchPackConfigView setHasQuotas(Boolean value) { this.HasQuotas = value; return this; }
public Boolean getIsInverted() { return IsInverted; }
public DispatchPackConfigView setIsInverted(Boolean value) { this.IsInverted = value; return this; }
public Integer getLoadLimitMins() { return LoadLimitMins; }
public DispatchPackConfigView setLoadLimitMins(Integer value) { this.LoadLimitMins = value; return this; }
public String getTicketSource() { return TicketSource; }
public DispatchPackConfigView setTicketSource(String value) { this.TicketSource = value; return this; }
public String getPayBasis() { return PayBasis; }
public DispatchPackConfigView setPayBasis(String value) { this.PayBasis = value; return this; }
public String getDayBoundary() { return DayBoundary; }
public DispatchPackConfigView setDayBoundary(String value) { this.DayBoundary = value; return this; }
}
public static class DispatchHaulConfigView
{
public Integer QueueMax = null;
public Integer DumpBays = null;
public Integer SlotCap = null;
public Boolean Paused = null;
public Integer FeedRate = null;
public Integer getQueueMax() { return QueueMax; }
public DispatchHaulConfigView setQueueMax(Integer value) { this.QueueMax = value; return this; }
public Integer getDumpBays() { return DumpBays; }
public DispatchHaulConfigView setDumpBays(Integer value) { this.DumpBays = value; return this; }
public Integer getSlotCap() { return SlotCap; }
public DispatchHaulConfigView setSlotCap(Integer value) { this.SlotCap = value; return this; }
public Boolean isPaused() { return Paused; }
public DispatchHaulConfigView setPaused(Boolean value) { this.Paused = value; return this; }
public Integer getFeedRate() { return FeedRate; }
public DispatchHaulConfigView setFeedRate(Integer value) { this.FeedRate = value; return this; }
}
public static class DispatchOfflineWindowView
{
public Integer OfflineWindowId = null;
public String FromHour = null;
public String ToHour = null;
public Integer getOfflineWindowId() { return OfflineWindowId; }
public DispatchOfflineWindowView setOfflineWindowId(Integer value) { this.OfflineWindowId = value; return this; }
public String getFromHour() { return FromHour; }
public DispatchOfflineWindowView setFromHour(String value) { this.FromHour = value; return this; }
public String getToHour() { return ToHour; }
public DispatchOfflineWindowView setToHour(String value) { this.ToHour = value; return this; }
}
public static class DispatchSupplierView
{
public Integer SupplierId = null;
public String Code = null;
public String Name = null;
public String Region = null;
public Boolean OwnHauler = null;
public BigDecimal SeasonAllotment = null;
public BigDecimal Delivered = null;
public BigDecimal WeekCap = null;
public BigDecimal WeekDelivered = null;
public Integer SortOrder = null;
public ArrayList<DispatchSiteView> Sites = new ArrayList<DispatchSiteView>();
public Integer getSupplierId() { return SupplierId; }
public DispatchSupplierView setSupplierId(Integer value) { this.SupplierId = value; return this; }
public String getCode() { return Code; }
public DispatchSupplierView setCode(String value) { this.Code = value; return this; }
public String getName() { return Name; }
public DispatchSupplierView setName(String value) { this.Name = value; return this; }
public String getRegion() { return Region; }
public DispatchSupplierView setRegion(String value) { this.Region = value; return this; }
public Boolean isOwnHauler() { return OwnHauler; }
public DispatchSupplierView setOwnHauler(Boolean value) { this.OwnHauler = value; return this; }
public BigDecimal getSeasonAllotment() { return SeasonAllotment; }
public DispatchSupplierView setSeasonAllotment(BigDecimal value) { this.SeasonAllotment = value; return this; }
public BigDecimal getDelivered() { return Delivered; }
public DispatchSupplierView setDelivered(BigDecimal value) { this.Delivered = value; return this; }
public BigDecimal getWeekCap() { return WeekCap; }
public DispatchSupplierView setWeekCap(BigDecimal value) { this.WeekCap = value; return this; }
public BigDecimal getWeekDelivered() { return WeekDelivered; }
public DispatchSupplierView setWeekDelivered(BigDecimal value) { this.WeekDelivered = value; return this; }
public Integer getSortOrder() { return SortOrder; }
public DispatchSupplierView setSortOrder(Integer value) { this.SortOrder = value; return this; }
public ArrayList<DispatchSiteView> getSites() { return Sites; }
public DispatchSupplierView setSites(ArrayList<DispatchSiteView> value) { this.Sites = value; return this; }
}
public static class DispatchSiteView
{
public Integer SiteId = null;
public Integer SupplierId = null;
public String SupplierCode = null;
public String Name = null;
public Integer Acres = null;
public BigDecimal StandingVolume = null;
public Integer SortOrder = null;
public Integer getSiteId() { return SiteId; }
public DispatchSiteView setSiteId(Integer value) { this.SiteId = value; return this; }
public Integer getSupplierId() { return SupplierId; }
public DispatchSiteView setSupplierId(Integer value) { this.SupplierId = value; return this; }
public String getSupplierCode() { return SupplierCode; }
public DispatchSiteView setSupplierCode(String value) { this.SupplierCode = value; return this; }
public String getName() { return Name; }
public DispatchSiteView setName(String value) { this.Name = value; return this; }
public Integer getAcres() { return Acres; }
public DispatchSiteView setAcres(Integer value) { this.Acres = value; return this; }
public BigDecimal getStandingVolume() { return StandingVolume; }
public DispatchSiteView setStandingVolume(BigDecimal value) { this.StandingVolume = value; return this; }
public Integer getSortOrder() { return SortOrder; }
public DispatchSiteView setSortOrder(Integer value) { this.SortOrder = value; return this; }
}
public static class DispatchTruckView
{
public Integer TruckId = null;
public String Code = null;
public String DriverName = null;
public String Phone = null;
public String EmployerCode = null;
public String SupplierCode = null;
public String SiteName = null;
public BigDecimal EstLoad = null;
public String Stage = null;
public Integer StageSince = null;
public Integer CycleStart = null;
public Integer StageMinsAgo = null;
public Integer CycleMinsAgo = null;
public String Slot = null;
public Integer LoadsToday = null;
public BigDecimal NetToday = null;
public Integer LastPingMins = null;
public String CycleMins = null;
public Boolean IsInteractive = null;
public String NextSupplierCode = null;
public String NextSiteName = null;
public Integer getTruckId() { return TruckId; }
public DispatchTruckView setTruckId(Integer value) { this.TruckId = value; return this; }
public String getCode() { return Code; }
public DispatchTruckView setCode(String value) { this.Code = value; return this; }
public String getDriverName() { return DriverName; }
public DispatchTruckView setDriverName(String value) { this.DriverName = value; return this; }
public String getPhone() { return Phone; }
public DispatchTruckView setPhone(String value) { this.Phone = value; return this; }
public String getEmployerCode() { return EmployerCode; }
public DispatchTruckView setEmployerCode(String value) { this.EmployerCode = value; return this; }
public String getSupplierCode() { return SupplierCode; }
public DispatchTruckView setSupplierCode(String value) { this.SupplierCode = value; return this; }
public String getSiteName() { return SiteName; }
public DispatchTruckView setSiteName(String value) { this.SiteName = value; return this; }
public BigDecimal getEstLoad() { return EstLoad; }
public DispatchTruckView setEstLoad(BigDecimal value) { this.EstLoad = value; return this; }
public String getStage() { return Stage; }
public DispatchTruckView setStage(String value) { this.Stage = value; return this; }
public Integer getStageSince() { return StageSince; }
public DispatchTruckView setStageSince(Integer value) { this.StageSince = value; return this; }
public Integer getCycleStart() { return CycleStart; }
public DispatchTruckView setCycleStart(Integer value) { this.CycleStart = value; return this; }
public Integer getStageMinsAgo() { return StageMinsAgo; }
public DispatchTruckView setStageMinsAgo(Integer value) { this.StageMinsAgo = value; return this; }
public Integer getCycleMinsAgo() { return CycleMinsAgo; }
public DispatchTruckView setCycleMinsAgo(Integer value) { this.CycleMinsAgo = value; return this; }
public String getSlot() { return Slot; }
public DispatchTruckView setSlot(String value) { this.Slot = value; return this; }
public Integer getLoadsToday() { return LoadsToday; }
public DispatchTruckView setLoadsToday(Integer value) { this.LoadsToday = value; return this; }
public BigDecimal getNetToday() { return NetToday; }
public DispatchTruckView setNetToday(BigDecimal value) { this.NetToday = value; return this; }
public Integer getLastPingMins() { return LastPingMins; }
public DispatchTruckView setLastPingMins(Integer value) { this.LastPingMins = value; return this; }
public String getCycleMins() { return CycleMins; }
public DispatchTruckView setCycleMins(String value) { this.CycleMins = value; return this; }
public Boolean getIsInteractive() { return IsInteractive; }
public DispatchTruckView setIsInteractive(Boolean value) { this.IsInteractive = value; return this; }
public String getNextSupplierCode() { return NextSupplierCode; }
public DispatchTruckView setNextSupplierCode(String value) { this.NextSupplierCode = value; return this; }
public String getNextSiteName() { return NextSiteName; }
public DispatchTruckView setNextSiteName(String value) { this.NextSiteName = value; return this; }
}
public static class DispatchSlotView
{
public Integer SlotId = null;
public String Hour = null;
public Integer BaseBooked = null;
public Integer SortOrder = null;
public Integer getSlotId() { return SlotId; }
public DispatchSlotView setSlotId(Integer value) { this.SlotId = value; return this; }
public String getHour() { return Hour; }
public DispatchSlotView setHour(String value) { this.Hour = value; return this; }
public Integer getBaseBooked() { return BaseBooked; }
public DispatchSlotView setBaseBooked(Integer value) { this.BaseBooked = value; return this; }
public Integer getSortOrder() { return SortOrder; }
public DispatchSlotView setSortOrder(Integer value) { this.SortOrder = value; return this; }
}
public static class DispatchTicketView
{
public Integer TicketId = null;
public String Code = null;
public String TruckCode = null;
public String SupplierCode = null;
public BigDecimal NetQty = null;
public Date TicketedAt = null;
public Integer TicketedMin = null;
public String Source = null;
public Integer MinsAgo = null;
public Integer getTicketId() { return TicketId; }
public DispatchTicketView setTicketId(Integer value) { this.TicketId = value; return this; }
public String getCode() { return Code; }
public DispatchTicketView setCode(String value) { this.Code = value; return this; }
public String getTruckCode() { return TruckCode; }
public DispatchTicketView setTruckCode(String value) { this.TruckCode = value; return this; }
public String getSupplierCode() { return SupplierCode; }
public DispatchTicketView setSupplierCode(String value) { this.SupplierCode = value; return this; }
public BigDecimal getNetQty() { return NetQty; }
public DispatchTicketView setNetQty(BigDecimal value) { this.NetQty = value; return this; }
public Date getTicketedAt() { return TicketedAt; }
public DispatchTicketView setTicketedAt(Date value) { this.TicketedAt = value; return this; }
public Integer getTicketedMin() { return TicketedMin; }
public DispatchTicketView setTicketedMin(Integer value) { this.TicketedMin = value; return this; }
public String getSource() { return Source; }
public DispatchTicketView setSource(String value) { this.Source = value; return this; }
public Integer getMinsAgo() { return MinsAgo; }
public DispatchTicketView setMinsAgo(Integer value) { this.MinsAgo = value; return this; }
}
public static class DispatchLogView
{
public Integer LogId = null;
public Date LoggedAt = null;
public Integer LoggedMin = null;
public String LogText = null;
public String Kind = null;
public Integer MinsAgo = null;
public Integer getLogId() { return LogId; }
public DispatchLogView setLogId(Integer value) { this.LogId = value; return this; }
public Date getLoggedAt() { return LoggedAt; }
public DispatchLogView setLoggedAt(Date value) { this.LoggedAt = value; return this; }
public Integer getLoggedMin() { return LoggedMin; }
public DispatchLogView setLoggedMin(Integer value) { this.LoggedMin = value; return this; }
public String getLogText() { return LogText; }
public DispatchLogView setLogText(String value) { this.LogText = value; return this; }
public String getKind() { return Kind; }
public DispatchLogView setKind(String value) { this.Kind = value; return this; }
public Integer getMinsAgo() { return MinsAgo; }
public DispatchLogView setMinsAgo(Integer value) { this.MinsAgo = value; return this; }
}
public static class DispatchAutopilotView
{
public Boolean IsOn = null;
public Boolean RuleSlot = null;
public Boolean RuleRoute = null;
public Boolean RuleRelease = null;
public Boolean RuleTract = null;
public Boolean RuleThrottle = null;
public Boolean RuleOffline = null;
public Integer ThStaged = null;
public Integer ThWait = null;
public Integer ThBand = null;
public Integer ThStall = null;
public Integer ThFeed = null;
public Boolean getIsOn() { return IsOn; }
public DispatchAutopilotView setIsOn(Boolean value) { this.IsOn = value; return this; }
public Boolean isRuleSlot() { return RuleSlot; }
public DispatchAutopilotView setRuleSlot(Boolean value) { this.RuleSlot = value; return this; }
public Boolean isRuleRoute() { return RuleRoute; }
public DispatchAutopilotView setRuleRoute(Boolean value) { this.RuleRoute = value; return this; }
public Boolean isRuleRelease() { return RuleRelease; }
public DispatchAutopilotView setRuleRelease(Boolean value) { this.RuleRelease = value; return this; }
public Boolean isRuleTract() { return RuleTract; }
public DispatchAutopilotView setRuleTract(Boolean value) { this.RuleTract = value; return this; }
public Boolean isRuleThrottle() { return RuleThrottle; }
public DispatchAutopilotView setRuleThrottle(Boolean value) { this.RuleThrottle = value; return this; }
public Boolean isRuleOffline() { return RuleOffline; }
public DispatchAutopilotView setRuleOffline(Boolean value) { this.RuleOffline = value; return this; }
public Integer getThStaged() { return ThStaged; }
public DispatchAutopilotView setThStaged(Integer value) { this.ThStaged = value; return this; }
public Integer getThWait() { return ThWait; }
public DispatchAutopilotView setThWait(Integer value) { this.ThWait = value; return this; }
public Integer getThBand() { return ThBand; }
public DispatchAutopilotView setThBand(Integer value) { this.ThBand = value; return this; }
public Integer getThStall() { return ThStall; }
public DispatchAutopilotView setThStall(Integer value) { this.ThStall = value; return this; }
public Integer getThFeed() { return ThFeed; }
public DispatchAutopilotView setThFeed(Integer value) { this.ThFeed = value; return this; }
}
public static class DispatchExceptionView
{
public String Code = null;
public String Kind = null;
public String Severity = null;
public String TruckCode = null;
public String SupplierCode = null;
public Date RaisedAt = null;
public String RaisedLabel = null;
public Integer MinsAgo = null;
public String getCode() { return Code; }
public DispatchExceptionView setCode(String value) { this.Code = value; return this; }
public String getKind() { return Kind; }
public DispatchExceptionView setKind(String value) { this.Kind = value; return this; }
public String getSeverity() { return Severity; }
public DispatchExceptionView setSeverity(String value) { this.Severity = value; return this; }
public String getTruckCode() { return TruckCode; }
public DispatchExceptionView setTruckCode(String value) { this.TruckCode = value; return this; }
public String getSupplierCode() { return SupplierCode; }
public DispatchExceptionView setSupplierCode(String value) { this.SupplierCode = value; return this; }
public Date getRaisedAt() { return RaisedAt; }
public DispatchExceptionView setRaisedAt(Date value) { this.RaisedAt = value; return this; }
public String getRaisedLabel() { return RaisedLabel; }
public DispatchExceptionView setRaisedLabel(String value) { this.RaisedLabel = value; return this; }
public Integer getMinsAgo() { return MinsAgo; }
public DispatchExceptionView setMinsAgo(Integer value) { this.MinsAgo = value; return this; }
}
public static class DispatchFeedView
{
public Integer FeedId = null;
public Date EntryAt = null;
public String EntryLabel = null;
public String Channel = null;
public String Kind = null;
public String TruckCode = null;
public String SupplierCode = null;
public String OverrideText = null;
public Integer MinsAgo = null;
public Integer getFeedId() { return FeedId; }
public DispatchFeedView setFeedId(Integer value) { this.FeedId = value; return this; }
public Date getEntryAt() { return EntryAt; }
public DispatchFeedView setEntryAt(Date value) { this.EntryAt = value; return this; }
public String getEntryLabel() { return EntryLabel; }
public DispatchFeedView setEntryLabel(String value) { this.EntryLabel = value; return this; }
public String getChannel() { return Channel; }
public DispatchFeedView setChannel(String value) { this.Channel = value; return this; }
public String getKind() { return Kind; }
public DispatchFeedView setKind(String value) { this.Kind = value; return this; }
public String getTruckCode() { return TruckCode; }
public DispatchFeedView setTruckCode(String value) { this.TruckCode = value; return this; }
public String getSupplierCode() { return SupplierCode; }
public DispatchFeedView setSupplierCode(String value) { this.SupplierCode = value; return this; }
public String getOverrideText() { return OverrideText; }
public DispatchFeedView setOverrideText(String value) { this.OverrideText = value; return this; }
public Integer getMinsAgo() { return MinsAgo; }
public DispatchFeedView setMinsAgo(Integer value) { this.MinsAgo = value; return this; }
}
public static class DispatchRigView
{
public Integer RigId = null;
public String Code = null;
public String Name = null;
public String DriverName = null;
public String Phone = null;
public String RigType = null;
public Boolean IsFree = null;
public Integer MatchRank = null;
public Integer getRigId() { return RigId; }
public DispatchRigView setRigId(Integer value) { this.RigId = value; return this; }
public String getCode() { return Code; }
public DispatchRigView setCode(String value) { this.Code = value; return this; }
public String getName() { return Name; }
public DispatchRigView setName(String value) { this.Name = value; return this; }
public String getDriverName() { return DriverName; }
public DispatchRigView setDriverName(String value) { this.DriverName = value; return this; }
public String getPhone() { return Phone; }
public DispatchRigView setPhone(String value) { this.Phone = value; return this; }
public String getRigType() { return RigType; }
public DispatchRigView setRigType(String value) { this.RigType = value; return this; }
public Boolean getIsFree() { return IsFree; }
public DispatchRigView setIsFree(Boolean value) { this.IsFree = value; return this; }
public Integer getMatchRank() { return MatchRank; }
public DispatchRigView setMatchRank(Integer value) { this.MatchRank = value; return this; }
}
public static class DispatchJobView
{
public Integer JobId = null;
public String Code = null;
public String Cargo = null;
public String Customer = null;
public String CustomerPhone = null;
public String HoldContact = null;
public String HoldPhone = null;
public String FromLoc = null;
public String ToLoc = null;
public Integer Miles = null;
public String WindowText = null;
public String Stage = null;
public BigDecimal Rate = null;
public String RequiredRig = null;
public String DriverLabel = null;
public String EtaText = null;
public String OfferRigIds = null;
public Integer OfferExpiresMin = null;
public Boolean OfferExpired = null;
public Boolean Declined = null;
public Integer getJobId() { return JobId; }
public DispatchJobView setJobId(Integer value) { this.JobId = value; return this; }
public String getCode() { return Code; }
public DispatchJobView setCode(String value) { this.Code = value; return this; }
public String getCargo() { return Cargo; }
public DispatchJobView setCargo(String value) { this.Cargo = value; return this; }
public String getCustomer() { return Customer; }
public DispatchJobView setCustomer(String value) { this.Customer = value; return this; }
public String getCustomerPhone() { return CustomerPhone; }
public DispatchJobView setCustomerPhone(String value) { this.CustomerPhone = value; return this; }
public String getHoldContact() { return HoldContact; }
public DispatchJobView setHoldContact(String value) { this.HoldContact = value; return this; }
public String getHoldPhone() { return HoldPhone; }
public DispatchJobView setHoldPhone(String value) { this.HoldPhone = value; return this; }
public String getFromLoc() { return FromLoc; }
public DispatchJobView setFromLoc(String value) { this.FromLoc = value; return this; }
public String getToLoc() { return ToLoc; }
public DispatchJobView setToLoc(String value) { this.ToLoc = value; return this; }
public Integer getMiles() { return Miles; }
public DispatchJobView setMiles(Integer value) { this.Miles = value; return this; }
public String getWindowText() { return WindowText; }
public DispatchJobView setWindowText(String value) { this.WindowText = value; return this; }
public String getStage() { return Stage; }
public DispatchJobView setStage(String value) { this.Stage = value; return this; }
public BigDecimal getRate() { return Rate; }
public DispatchJobView setRate(BigDecimal value) { this.Rate = value; return this; }
public String getRequiredRig() { return RequiredRig; }
public DispatchJobView setRequiredRig(String value) { this.RequiredRig = value; return this; }
public String getDriverLabel() { return DriverLabel; }
public DispatchJobView setDriverLabel(String value) { this.DriverLabel = value; return this; }
public String getEtaText() { return EtaText; }
public DispatchJobView setEtaText(String value) { this.EtaText = value; return this; }
public String getOfferRigIds() { return OfferRigIds; }
public DispatchJobView setOfferRigIds(String value) { this.OfferRigIds = value; return this; }
public Integer getOfferExpiresMin() { return OfferExpiresMin; }
public DispatchJobView setOfferExpiresMin(Integer value) { this.OfferExpiresMin = value; return this; }
public Boolean isOfferExpired() { return OfferExpired; }
public DispatchJobView setOfferExpired(Boolean value) { this.OfferExpired = value; return this; }
public Boolean isDeclined() { return Declined; }
public DispatchJobView setDeclined(Boolean value) { this.Declined = value; return this; }
}
public static class DispatchOdDriverView
{
public Integer DriverId = null;
public String Code = null;
public String Name = null;
public String Zone = null;
public String Phone = null;
public String Status = null;
public String Tier = null;
public BigDecimal DistanceMi = null;
public String Capabilities = null;
public Integer getDriverId() { return DriverId; }
public DispatchOdDriverView setDriverId(Integer value) { this.DriverId = value; return this; }
public String getCode() { return Code; }
public DispatchOdDriverView setCode(String value) { this.Code = value; return this; }
public String getName() { return Name; }
public DispatchOdDriverView setName(String value) { this.Name = value; return this; }
public String getZone() { return Zone; }
public DispatchOdDriverView setZone(String value) { this.Zone = value; return this; }
public String getPhone() { return Phone; }
public DispatchOdDriverView setPhone(String value) { this.Phone = value; return this; }
public String getStatus() { return Status; }
public DispatchOdDriverView setStatus(String value) { this.Status = value; return this; }
public String getTier() { return Tier; }
public DispatchOdDriverView setTier(String value) { this.Tier = value; return this; }
public BigDecimal getDistanceMi() { return DistanceMi; }
public DispatchOdDriverView setDistanceMi(BigDecimal value) { this.DistanceMi = value; return this; }
public String getCapabilities() { return Capabilities; }
public DispatchOdDriverView setCapabilities(String value) { this.Capabilities = value; return this; }
}
public static class DispatchOdRequestView
{
public Integer RequestId = null;
public String Code = null;
public String Address = null;
public String Zone = null;
public Integer Bags = null;
public String Stage = null;
public String DriverCode = null;
public String Needs = null;
public String Note = null;
public Integer PingExpiresMin = null;
public String TriedCodes = null;
public String CandidateCodes = null;
public String EtaText = null;
public String NoDriver = null;
public Integer getRequestId() { return RequestId; }
public DispatchOdRequestView setRequestId(Integer value) { this.RequestId = value; return this; }
public String getCode() { return Code; }
public DispatchOdRequestView setCode(String value) { this.Code = value; return this; }
public String getAddress() { return Address; }
public DispatchOdRequestView setAddress(String value) { this.Address = value; return this; }
public String getZone() { return Zone; }
public DispatchOdRequestView setZone(String value) { this.Zone = value; return this; }
public Integer getBags() { return Bags; }
public DispatchOdRequestView setBags(Integer value) { this.Bags = value; return this; }
public String getStage() { return Stage; }
public DispatchOdRequestView setStage(String value) { this.Stage = value; return this; }
public String getDriverCode() { return DriverCode; }
public DispatchOdRequestView setDriverCode(String value) { this.DriverCode = value; return this; }
public String getNeeds() { return Needs; }
public DispatchOdRequestView setNeeds(String value) { this.Needs = value; return this; }
public String getNote() { return Note; }
public DispatchOdRequestView setNote(String value) { this.Note = value; return this; }
public Integer getPingExpiresMin() { return PingExpiresMin; }
public DispatchOdRequestView setPingExpiresMin(Integer value) { this.PingExpiresMin = value; return this; }
public String getTriedCodes() { return TriedCodes; }
public DispatchOdRequestView setTriedCodes(String value) { this.TriedCodes = value; return this; }
public String getCandidateCodes() { return CandidateCodes; }
public DispatchOdRequestView setCandidateCodes(String value) { this.CandidateCodes = value; return this; }
public String getEtaText() { return EtaText; }
public DispatchOdRequestView setEtaText(String value) { this.EtaText = value; return this; }
public String getNoDriver() { return NoDriver; }
public DispatchOdRequestView setNoDriver(String value) { this.NoDriver = value; return this; }
}
public static class DispatchPackView
{
public String PackId = null;
public Boolean HasQuotas = null;
public Boolean IsInverted = null;
public Integer LoadLimitMins = null;
public String DayBoundary = null;
public String TicketSource = null;
public String PayBasis = null;
public Integer SortOrder = null;
public String getPackId() { return PackId; }
public DispatchPackView setPackId(String value) { this.PackId = value; return this; }
public Boolean isHasQuotas() { return HasQuotas; }
public DispatchPackView setHasQuotas(Boolean value) { this.HasQuotas = value; return this; }
public Boolean getIsInverted() { return IsInverted; }
public DispatchPackView setIsInverted(Boolean value) { this.IsInverted = value; return this; }
public Integer getLoadLimitMins() { return LoadLimitMins; }
public DispatchPackView setLoadLimitMins(Integer value) { this.LoadLimitMins = value; return this; }
public String getDayBoundary() { return DayBoundary; }
public DispatchPackView setDayBoundary(String value) { this.DayBoundary = value; return this; }
public String getTicketSource() { return TicketSource; }
public DispatchPackView setTicketSource(String value) { this.TicketSource = value; return this; }
public String getPayBasis() { return PayBasis; }
public DispatchPackView setPayBasis(String value) { this.PayBasis = value; return this; }
public Integer getSortOrder() { return SortOrder; }
public DispatchPackView setSortOrder(Integer value) { this.SortOrder = value; return this; }
}
public static class DispatchPackTermView
{
public String PackId = null;
public String Lang = null;
public String ModeName = null;
public String Facility = null;
public String FacilityShort = null;
public String SourceSite = null;
public String Supplier = null;
public String SupplierPlural = null;
public String UnloadVerb = null;
public String TicketNoun = null;
public String DayNoun = null;
public String FleetLabel = null;
public String PageSubtitle = null;
public String SeasonChip = null;
public String CampaignNoun = null;
public String BayNoun = null;
public String AssignTarget = null;
public String getPackId() { return PackId; }
public DispatchPackTermView setPackId(String value) { this.PackId = value; return this; }
public String getLang() { return Lang; }
public DispatchPackTermView setLang(String value) { this.Lang = value; return this; }
public String getModeName() { return ModeName; }
public DispatchPackTermView setModeName(String value) { this.ModeName = value; return this; }
public String getFacility() { return Facility; }
public DispatchPackTermView setFacility(String value) { this.Facility = value; return this; }
public String getFacilityShort() { return FacilityShort; }
public DispatchPackTermView setFacilityShort(String value) { this.FacilityShort = value; return this; }
public String getSourceSite() { return SourceSite; }
public DispatchPackTermView setSourceSite(String value) { this.SourceSite = value; return this; }
public String getSupplier() { return Supplier; }
public DispatchPackTermView setSupplier(String value) { this.Supplier = value; return this; }
public String getSupplierPlural() { return SupplierPlural; }
public DispatchPackTermView setSupplierPlural(String value) { this.SupplierPlural = value; return this; }
public String getUnloadVerb() { return UnloadVerb; }
public DispatchPackTermView setUnloadVerb(String value) { this.UnloadVerb = value; return this; }
public String getTicketNoun() { return TicketNoun; }
public DispatchPackTermView setTicketNoun(String value) { this.TicketNoun = value; return this; }
public String getDayNoun() { return DayNoun; }
public DispatchPackTermView setDayNoun(String value) { this.DayNoun = value; return this; }
public String getFleetLabel() { return FleetLabel; }
public DispatchPackTermView setFleetLabel(String value) { this.FleetLabel = value; return this; }
public String getPageSubtitle() { return PageSubtitle; }
public DispatchPackTermView setPageSubtitle(String value) { this.PageSubtitle = value; return this; }
public String getSeasonChip() { return SeasonChip; }
public DispatchPackTermView setSeasonChip(String value) { this.SeasonChip = value; return this; }
public String getCampaignNoun() { return CampaignNoun; }
public DispatchPackTermView setCampaignNoun(String value) { this.CampaignNoun = value; return this; }
public String getBayNoun() { return BayNoun; }
public DispatchPackTermView setBayNoun(String value) { this.BayNoun = value; return this; }
public String getAssignTarget() { return AssignTarget; }
public DispatchPackTermView setAssignTarget(String value) { this.AssignTarget = value; return this; }
}
public static class DispatchPackUnitView
{
public String PackId = null;
public String Unit = null;
public BigDecimal LoadQty = null;
public Integer VolumeLow = null;
public Integer VolumeHigh = null;
public BigDecimal SeasonMultiple = null;
public BigDecimal WeeklyFraction = null;
public String getPackId() { return PackId; }
public DispatchPackUnitView setPackId(String value) { this.PackId = value; return this; }
public String getUnit() { return Unit; }
public DispatchPackUnitView setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getLoadQty() { return LoadQty; }
public DispatchPackUnitView setLoadQty(BigDecimal value) { this.LoadQty = value; return this; }
public Integer getVolumeLow() { return VolumeLow; }
public DispatchPackUnitView setVolumeLow(Integer value) { this.VolumeLow = value; return this; }
public Integer getVolumeHigh() { return VolumeHigh; }
public DispatchPackUnitView setVolumeHigh(Integer value) { this.VolumeHigh = value; return this; }
public BigDecimal getSeasonMultiple() { return SeasonMultiple; }
public DispatchPackUnitView setSeasonMultiple(BigDecimal value) { this.SeasonMultiple = value; return this; }
public BigDecimal getWeeklyFraction() { return WeeklyFraction; }
public DispatchPackUnitView setWeeklyFraction(BigDecimal value) { this.WeeklyFraction = value; return this; }
}
}
Java 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","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}],"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,"OfferExpired":false,"Declined":false}],"OdDrivers":[{"DriverId":0,"Code":"String","Name":"String","Zone":"String","Phone":"String","Status":"String","Tier":"String","DistanceMi":0,"Capabilities":"String"}],"OdRequests":[{"RequestId":0,"Code":"String","Address":"String","Zone":"String","Bags":0,"Stage":"String","DriverCode":"String","Needs":"String","Note":"String","PingExpiresMin":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}]},"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"}}}