Trendsic Platform Service

<back to all web services

DispatchReleaseRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/dispatch/haul/release
DispatchReleaseRequest Parameters:
NameParameterData TypeRequiredDescription
TruckCodebodystringNo
AtMinbodyintNo
DispatchActionResponse Parameters:
NameParameterData TypeRequiredDescription
BoardformDispatchBoardViewNo
MessageformstringNo
SentformintNo
FailedformintNo
TicketCodeformstringNo
TicketNetformdecimalNo
ResponseStatusformResponseStatusNo
DispatchBoardView Parameters:
NameParameterData TypeRequiredDescription
PackformDispatchPackConfigViewNo
ConfigformDispatchHaulConfigViewNo
OfflineWindowsformList<DispatchOfflineWindowView>No
SuppliersformList<DispatchSupplierView>No
TrucksformList<DispatchTruckView>No
SlotsformList<DispatchSlotView>No
TicketsformList<DispatchTicketView>No
LogformList<DispatchLogView>No
AutopilotformDispatchAutopilotViewNo
ExceptionsformList<DispatchExceptionView>No
FeedformList<DispatchFeedView>No
RigsformList<DispatchRigView>No
JobsformList<DispatchJobView>No
OdDriversformList<DispatchOdDriverView>No
OdRequestsformList<DispatchOdRequestView>No
PacksformList<DispatchPackView>No
PackTermsformList<DispatchPackTermView>No
PackUnitsformList<DispatchPackUnitView>No
DispatchPackConfigView Parameters:
NameParameterData TypeRequiredDescription
PackIdformstringNo
HasQuotasformboolNo
IsInvertedformboolNo
LoadLimitMinsformintNo
TicketSourceformstringNo
PayBasisformstringNo
DayBoundaryformstringNo
DispatchHaulConfigView Parameters:
NameParameterData TypeRequiredDescription
QueueMaxformintNo
DumpBaysformintNo
SlotCapformintNo
PausedformboolNo
FeedRateformintNo
DispatchOfflineWindowView Parameters:
NameParameterData TypeRequiredDescription
OfflineWindowIdformintNo
FromHourformstringNo
ToHourformstringNo
DispatchSupplierView Parameters:
NameParameterData TypeRequiredDescription
SupplierIdformintNo
CodeformstringNo
NameformstringNo
RegionformstringNo
OwnHaulerformboolNo
SeasonAllotmentformdecimalNo
DeliveredformdecimalNo
WeekCapformdecimalNo
WeekDeliveredformdecimalNo
SortOrderformintNo
SitesformList<DispatchSiteView>No
DispatchSiteView Parameters:
NameParameterData TypeRequiredDescription
SiteIdformintNo
SupplierIdformintNo
SupplierCodeformstringNo
NameformstringNo
AcresformintNo
StandingVolumeformdecimalNo
SortOrderformintNo
DispatchTruckView Parameters:
NameParameterData TypeRequiredDescription
TruckIdformintNo
CodeformstringNo
DriverNameformstringNo
PhoneformstringNo
EmployerCodeformstringNo
SupplierCodeformstringNo
SiteNameformstringNo
EstLoadformdecimalNo
StageformstringNo
StageSinceformintNo
CycleStartformint?No
StageMinsAgoformintNo
CycleMinsAgoformint?No
SlotformstringNo
LoadsTodayformintNo
NetTodayformdecimalNo
LastPingMinsformintNo
CycleMinsformstringNo
IsInteractiveformboolNo
NextSupplierCodeformstringNo
NextSiteNameformstringNo
DispatchSlotView Parameters:
NameParameterData TypeRequiredDescription
SlotIdformintNo
HourformstringNo
BaseBookedformintNo
SortOrderformintNo
DispatchTicketView Parameters:
NameParameterData TypeRequiredDescription
TicketIdformintNo
CodeformstringNo
TruckCodeformstringNo
SupplierCodeformstringNo
NetQtyformdecimalNo
TicketedAtformDateTimeNo
TicketedMinformintNo
SourceformstringNo
MinsAgoformintNo
DispatchLogView Parameters:
NameParameterData TypeRequiredDescription
LogIdformintNo
LoggedAtformDateTimeNo
LoggedMinformintNo
LogTextformstringNo
KindformstringNo
MinsAgoformintNo
DispatchAutopilotView Parameters:
NameParameterData TypeRequiredDescription
IsOnformboolNo
RuleSlotformboolNo
RuleRouteformboolNo
RuleReleaseformboolNo
RuleTractformboolNo
RuleThrottleformboolNo
RuleOfflineformboolNo
ThStagedformintNo
ThWaitformintNo
ThBandformintNo
ThStallformintNo
ThFeedformintNo
DispatchExceptionView Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
KindformstringNo
SeverityformstringNo
TruckCodeformstringNo
SupplierCodeformstringNo
RaisedAtformDateTimeNo
RaisedLabelformstringNo
MinsAgoformintNo
DispatchFeedView Parameters:
NameParameterData TypeRequiredDescription
FeedIdformintNo
EntryAtformDateTimeNo
EntryLabelformstringNo
ChannelformstringNo
KindformstringNo
TruckCodeformstringNo
SupplierCodeformstringNo
OverrideTextformstringNo
MinsAgoformintNo
DispatchRigView Parameters:
NameParameterData TypeRequiredDescription
RigIdformintNo
CodeformstringNo
NameformstringNo
DriverNameformstringNo
PhoneformstringNo
RigTypeformstringNo
IsFreeformboolNo
MatchRankformintNo
DispatchJobView Parameters:
NameParameterData TypeRequiredDescription
JobIdformintNo
CodeformstringNo
CargoformstringNo
CustomerformstringNo
CustomerPhoneformstringNo
HoldContactformstringNo
HoldPhoneformstringNo
FromLocformstringNo
ToLocformstringNo
MilesformintNo
WindowTextformstringNo
StageformstringNo
Rateformdecimal?No
RequiredRigformstringNo
DriverLabelformstringNo
EtaTextformstringNo
OfferRigIdsformstringNo
OfferExpiresMinformint?No
OfferExpiredformboolNo
DeclinedformboolNo
DispatchOdDriverView Parameters:
NameParameterData TypeRequiredDescription
DriverIdformintNo
CodeformstringNo
NameformstringNo
ZoneformstringNo
PhoneformstringNo
StatusformstringNo
TierformstringNo
DistanceMiformdecimalNo
CapabilitiesformstringNo
DispatchOdRequestView Parameters:
NameParameterData TypeRequiredDescription
RequestIdformintNo
CodeformstringNo
AddressformstringNo
ZoneformstringNo
BagsformintNo
StageformstringNo
DriverCodeformstringNo
NeedsformstringNo
NoteformstringNo
PingExpiresMinformint?No
TriedCodesformstringNo
CandidateCodesformstringNo
EtaTextformstringNo
NoDriverformstringNo
DispatchPackView Parameters:
NameParameterData TypeRequiredDescription
PackIdformstringNo
HasQuotasformboolNo
IsInvertedformboolNo
LoadLimitMinsformintNo
DayBoundaryformstringNo
TicketSourceformstringNo
PayBasisformstringNo
SortOrderformintNo
DispatchPackTermView Parameters:
NameParameterData TypeRequiredDescription
PackIdformstringNo
LangformstringNo
ModeNameformstringNo
FacilityformstringNo
FacilityShortformstringNo
SourceSiteformstringNo
SupplierformstringNo
SupplierPluralformstringNo
UnloadVerbformstringNo
TicketNounformstringNo
DayNounformstringNo
FleetLabelformstringNo
PageSubtitleformstringNo
SeasonChipformstringNo
CampaignNounformstringNo
BayNounformstringNo
AssignTargetformstringNo
DispatchPackUnitView Parameters:
NameParameterData TypeRequiredDescription
PackIdformstringNo
UnitformstringNo
LoadQtyformdecimalNo
VolumeLowformintNo
VolumeHighformintNo
SeasonMultipleformdecimalNo
WeeklyFractionformdecimalNo

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.

POST /v1/dispatch/haul/release HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"TruckCode":"String","AtMin":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}}