Skip to main content

Models T–Z

Data models used in RushHour API requests and responses. Property names are shown as the API sends them. See the API reference overview for how enumerated values are written.

Tag​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
idinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
emojistringCan be null.
namestringCan be null.
companyCompany
tenantobject

TaggableEntityDto​

PropertyTypeDescription
entityTypestringOne of: Order, Invoice, Bol.
entityIdinteger (int32)
labelstringCan be null.

TermsAndConditionsDto​

PropertyTypeDescription
termsAndConditionsIdinteger (int32)
namestringCan be null.
contentstringCan be null.
companyIdinteger (int32)
tenantIdstring (uuid)

TodaySummaryDto​

PropertyTypeDescription
generatedAtUtcstring (date-time)
ordersCreatedTodayinteger (int32)
quotesCreatedTodayinteger (int32)
scheduledTodayinteger (int32)Active orders with at least one active stop scheduled today.
completedTodayinteger (int32)Orders delivered today (an active delivery stop with an actual arrival today).
completedTodayDeltaPctnumber (double)Can be null.
inTransitCountinteger (int32)
unassignedCountinteger (int32)
dispatchedCountinteger (int32)Assigned to a route but not yet picked up.
onHoldCountinteger (int32)
lateCountinteger (int32)Active orders with a stop still outstanding past its grace deadline.
lateOrdersarray of LateOrderSummaryDtoCan be null.
routesActiveinteger (int32)
routesPendinginteger (int32)
driversOnRouteinteger (int32)Distinct drivers assigned to an active route right now.
driversAvailableinteger (int32)Active drivers not currently on an active route.
driversTotalActiveinteger (int32)

Transaction​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
datestring (date-time)Can be null.
companyIdinteger (int32)
tenantIdstring (uuid)
customerIdinteger (int32)
companyCompany
tenantobject
customerCustomer
billToDetailsstringCan be null.
statusstringOne of: Draft, Approved, Open, Paid, Overdue, PartialPaid, Deleted.
sentEmailStatusinteger (int32)One of: 1 (Sent), 2 (NotSent), 4 (Edited). Values can be combined by adding them together.
exportQbStatusinteger (int32)One of: 1 (Exported), 2 (NotExported), 4 (Edited). Values can be combined by adding them together.
downloadStatusinteger (int32)One of: 1 (Downloaded), 2 (NotDownloaded), 4 (Edited). Values can be combined by adding them together.
calculationCustomerBalanceStatusstringOne of: Included, Excluded.
inQbboolean
numberstringCan be null.
currencyCodestringCan be null. Up to 3 characters.
fxRateToCompanyDefaultnumber (double)Can be null.
fxRateDatestring (date-time)Can be null.
notesstringCan be null.
commonNotesstringCan be null.
appliedPaymentsarray of AppliedPaymentCan be null.
isDefaultboolean
tnxTypestringOne of: Invoice, Payment.
idinteger (int32)
lineCountinteger (int32)
totalAmountnumber (double)
amountPaidnumber (double)
balancenumber (double)Read-only.
sentEmailsarray of SentEmailCan be null.
referenceIdinteger (int32)Can be null.
downloadCountinteger (int32)
lastDownloadedAtstring (date-time)Can be null.
orderTripStatusstringCan be null. One of: Open, Assigned, InTransit, Delivered.
transactionPaymentStatusstringRead-only. One of: Draft, Approved, Open, Paid, Overdue, PartialPaid, Deleted.
orderStatusstringCan be null. One of: Dreft, Quote, Order, Deleted, Closed.
orderIdinteger (int32)Can be null.
orderNumberstringCan be null.
invoiceIdsarray of integer (int32)Can be null.
quickbooksSyncStateinteger (int32)One of: 0 (NotSent), 1 (Synced), 2 (Retrying), 3 (Failed).

TransactionPagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of TransactionCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

TransferStop​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
transferStopIdinteger (int32)
addressAddress
orderItemOrderItem
deliveryDatestring (date-time)Can be null.
deliveryTimestring (date-time)Can be null.
deliveryDateTimestring (date-time)Can be null.
pickupDatestring (date-time)Can be null.
pickupTimestring (date-time)Can be null.
pickupDateTimestring (date-time)Can be null.
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
addressIdinteger (int32)Can be null.
orderItemIdinteger (int32)Can be null.
warehouseIdinteger (int32)Can be null.
warehouseItemIdinteger (int32)Can be null.
routeItemsarray of RouteItemCan be null.
warehouseWarehouse
warehouseItemWarehouseItem
orderNumberstringCan be null.
customerCustomer
dropOffRouteItemRouteItem
pickupRouteItemRouteItem
orderItemsarray of OrderItemCan be null.
isHubbooleanRead-only.

Truck​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
truckIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
namestringCan be null.
plateNumberstringCan be null.
statusstringOne of: Active, Inactive, Deleted.
typestringCan be null.
routesarray of RouteCan be null.
insurancePricenumber (double)
excludeExpensesStartDatestring (date-time)Can be null.
excludeExpensesEndDatestring (date-time)Can be null.
deletionDatestring (date-time)Can be null.
removeExpensesboolean
samsaraIdstringCan be null.
vinstringCan be null. Up to 50 characters.

TruckMonthlyExpense​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
truckMonthlyExpenseIdinteger (int32)
companyCompany
companyIdinteger (int32)
tenantIdstring (uuid)
pricenumber (double)
typeinteger (int32)One of: 0 (Unspecified), 1 (Gas), 2 (Insurance), 3 (Maintenance).
namestringCan be null.
tenantobject

TruckMonthlyExpensePagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of TruckMonthlyExpenseCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

TruckPagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of TruckCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

TruckWithExpenses​

PropertyTypeDescription
truckNamestringCan be null.
truckIdinteger (int32)Can be null.
createdTimestring (date-time)Can be null.
excludeExpensesStartDatestring (date-time)Can be null.
excludeExpensesEndDatestring (date-time)Can be null.
statusstringOne of: Active, Inactive, Deleted.
expensesarray of ExpenseCan be null.

TruckWithExpensesPagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of TruckWithExpensesCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

TruckWithVehicle​

PropertyTypeDescription
truckTruck
vehicleobject

TruckWithVehiclePagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of TruckWithVehicleCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

TypeOfTruckCreateDto​

PropertyTypeDescription
typeinteger (int32)One of: 1 (PickupTruck), 2 (BoxTruck), 3 (SemiTruck), 4 (RefrigeratorTruck), 5 (FurnitureTruck), 6 (FlatbedTruck).
namestringCan be null.

TypeOfTruckDto​

PropertyTypeDescription
typeOfTruckIdinteger (int32)
tenantIdstring (uuid)
companyIdinteger (int32)
typeinteger (int32)One of: 1 (PickupTruck), 2 (BoxTruck), 3 (SemiTruck), 4 (RefrigeratorTruck), 5 (FurnitureTruck), 6 (FlatbedTruck).
isActiveboolean
namestringCan be null.

TypeOfTruckDtoPagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of TypeOfTruckDtoCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

UnassignedFilterOption​

PropertyTypeDescription
typestringOne of: State, City, Zip.
valuestringCan be null.
citystringCan be null.
statestringCan be null. State part, set for City (when known) and State entries.

UnassignedFiltersRes​

Options for the dispatch "Add Pickup" location filter.

PropertyTypeDescription
optionsarray of UnassignedFilterOptionCan be null.
citiesarray of stringCan be null.
statesarray of stringCan be null.
zipCodesarray of stringCan be null.

UnassignedOrderItemDto​

PropertyTypeDescription
orderItemIdinteger (int32)
orderIdinteger (int32)Can be null.
itemNamestringCan be null.
orderItemTypestringOne of: Boxes & Crates, Pallets, Full Load, CFS, Other, Bags, Pallets+.
itemTypeQtystringCan be null.
pickQuantityinteger (int32)
quantityToPickinteger (int32)
totalQuantitynumber (double)
formatedMeasurementsstringCan be null.
sizeTypeNamestringCan be null.
sizeTypestringCan be null. One of: PalletStandard, PalletSmall, PalletLarge, Custom, LoadTrailer, LoadTruck, LoadVan.
sizeLengthnumber (double)Can be null.
sizeWidthnumber (double)Can be null.
sizeHightnumber (double)Can be null.
sizeUnitOfMeasurestringCan be null. One of: Inches, Centimeters, Pounds, Kilograms, Miles, Kilometers.
wightnumber (double)Can be null.
wightUnitOfMeasurestringCan be null. One of: Inches, Centimeters, Pounds, Kilograms, Miles, Kilometers.
formattedUnitOfMeasurestringCan be null.
isFragileboolean
isHazardousboolean
isRefrigeratedboolean
isOverweightboolean
isOtherboolean
routePickupOrderItemStopIdinteger (int32)Can be null.
routeDeliveryOrderItemStopIdinteger (int32)Can be null.
orderItemStopsarray of UnassignedOrderItemStopDtoCan be null.

UnassignedOrderItemStopDto​

PropertyTypeDescription
orderItemStopIdinteger (int32)
orderStopIdinteger (int32)Can be null.
orderItemIdinteger (int32)Can be null.
isActiveboolean
quantityinteger (int32)

UnassignedRouteGroupDto​

PropertyTypeDescription
orderIdinteger (int32)
orderNumberstringCan be null.
purchaseOrderNumberstringCan be null.
customerobject
pickupRouteBoxobject
dropOffRouteBoxobject
itemsarray of UnassignedOrderItemDtoCan be null.
orderItemIdsarray of integer (int32)Can be null.
prioritystringCan be null. One of: Low, Regular, High.

UnassignedRoutesSlimResData​

PropertyTypeDescription
listarray of UnassignedRouteGroupDtoCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)
pickupsCountinteger (int32)
deliveriesCountinteger (int32)

UnassignedStopRouteSuggestionDto​

One route offered as a home for an unassigned pickup, best first.

PropertyTypeDescription
routeIdinteger (int32)
routeNamestringCan be null.
driverNamestringCan be null.
truckNamestringCan be null.
stopCountinteger (int32)Open stops already on the route.
addedKmnumber (double)Extra travel the pickup adds at its cheapest insertion point.
insertPositioninteger (int32)1-based position the pickup would take among the route's open stops.
insertAfterRouteItemIdinteger (int32)Can be null. The open stop it would follow.
isRecommendedbooleanTrue for the top suggestion.
reasonstringCan be null.
sameDayAsPickupbooleanWhether the route already has stops on the pickup's scheduled day.
hasRelatedPickupbooleanTrue when this route already carries the same order's still-pending pickup.

UnbilledClosedOrdersDto​

Closed orders with NO non-deleted invoice.

PropertyTypeDescription
monthsinteger (int32)Trailing window the orders were counted over.
orderCountinteger (int32)
unbilledFreightnumber (double)

UpdateBuyingPriceDto​

PropertyTypeDescription
buyingPricenumber (double)Can be null.

UpdateCompanyDocumentContentDto​

PropertyTypeDescription
contentHtmlstringCan be null.
contentMarkdownstringCan be null.

UpdateCompanyDocumentMarkdownDto​

PropertyTypeDescription
markdownstringCan be null.

UpdateExcludeExpensesRequest​

PropertyTypeDescription
truckIdinteger (int32)
excludeExpensesStartDatestring (date-time)Can be null.
excludeExpensesEndDatestring (date-time)Can be null.

UpdateQuoteDto​

PropertyTypeDescription
quoteOrder
orderIdinteger (int32)
quoteUpdateTypeinteger (int32)One of: 0 (PickupDraft), 1 (PickupDone), 2 (DeliveryDraft), 3 (DeliveryDone), 4 (Pricing), 5 (Recurrence), 6 (OrderRouteBehavior).
returnQuoteboolean
preventDeepNestingForFrontendboolean
orderRouteBehaviorinteger (int32)One of: 0 (Default), 1 (AssignToRoute).
routeIdinteger (int32)Can be null.
contactEmailstringCan be null.
contactPhoneNumberstringCan be null.
contactNamestringCan be null.

UpdateSupportTicketStatusRequest​

PropertyTypeDescription
statusstringOne of: Open, In Progress, Resolved, Archived.

UserPrompt​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
userPromptIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
textstringCan be null.
orderinteger (int32)
isDeletedboolean
typeinteger (int32)One of: 0 (StartShift), 1 (Pickup), 2 (Dropoff), 3 (EndShift).
kindinteger (int32)One of: 0 (Checkbox), 1 (Toggle).
stateinteger (int32)One of: 0 (Primary), 1 (Secondary).
secondaryTextstringCan be null.
codestringCan be null. Up to 64 characters.
isEnabledbooleanWhether the driver app shows this step.
isRequiredboolean

ValidateCustomerContactDto​

PropertyTypeDescription
existedEmailboolean
existedPhoneboolean
existedProspectobject

ValidateCustomerDto​

PropertyTypeDescription
existedNameboolean
existedEmailIndexarray of integer (int32)Can be null.
existedPhoneboolean
existedProspectobject
existedDeletedCustomerobject

ValidateDriverDisableDto​

PropertyTypeDescription
hasActiveRoutesboolean
hasPendingRoutesboolean
activeRouteDriverNamesarray of stringCan be null.
pendingRouteDriverNamesarray of stringCan be null.

ValidateDriverDto​

PropertyTypeDescription
existedEmailboolean
existedPhoneboolean
existedCellNumberboolean
existedSsnboolean

ValidateEmailOrPhone​

PropertyTypeDescription
excludeCustomerIdinteger (int32)
emailstringCan be null.
phonestringCan be null.

ValidateOutsourceCompanyDto​

PropertyTypeDescription
existedCompanyNameboolean
existedEmailIndexarray of integer (int32)Can be null.
existedPhoneboolean
existedOutsourceCompanyobject

ValidateWarehouseDto​

PropertyTypeDescription
existedAddressboolean
existedNameboolean

Vehicle​

PropertyTypeDescription
idstringCan be null.
namestringCan be null.
vinstringCan be null.
odometerMetersinteger (int32)Can be null.
engineHoursinteger (int32)Can be null.
fuelLevelPercentnumber (double)Can be null.
licensePlatestringCan be null.
notesstringCan be null.

VehicleLocation​

PropertyTypeDescription
idstringCan be null.
namestringCan be null.
locationstringCan be null.
vinstringCan be null.
onTripboolean
timeinteger (int64)
latitudenumber (double)
longitudenumber (double)
headingnumber (double)
speednumber (double)
odometerMetersinteger (int32)Can be null.
odometerTypestringCan be null.

Warehouse​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
warehouseIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
namestringCan be null.
addressAddress
statusstringOne of: Active, Inactive, Deleted.
addressIdinteger (int32)Can be null.
warehouseItemsarray of WarehouseItemCan be null.
isPrimaryboolean
countrystringCan be null.

WarehouseItem​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
warehouseItemIdinteger (int32)
warehouseWarehouse
orderItemStopIdinteger (int32)
orderItemStopOrderItemStop
warehouseIdinteger (int32)Can be null.
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
statusstringOne of: Pending, Placed, Withdrawn.
datePlacedstring (date-time)
dateWithdrawnstring (date-time)

WarehousePagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of WarehouseCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)

WaypointDto​

PropertyTypeDescription
addressstringCan be null.
isDoneboolean
indexinteger (int32)
typestringOne of: Pickup, DeliveryToTransfer, PickupFromTransfer, Delivery.
orderStopIdinteger (int32)Can be null.

Zone​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
zoneIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
namestringCan be null.
citystringCan be null.
statestringCan be null.
zipCodeRangestringCan be null.
countryIdinteger (int32)Can be null.
countryobject
statusstringOne of: Active, Inactive, Deleted.
routesarray of RouteCan be null.
pointobject
addressstringRead-only. Can be null.

ZonePagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of ZoneCan be null.
pageinteger (int32)
itemsPerPageinteger (int32)
totalCountinteger (int32)