Skip to main content

Models S

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.

SaveDashboardDefinitionRequest​

PropertyTypeDescription
namestringCan be null.
layoutJsonstringCan be null.
isPersonalboolean

SearchCriteria​

PropertyTypeDescription
pageinteger (int32)
itemsPerPageinteger (int32)
searchTermstringCan be null.
sortBystringCan be null.
sortDirectioninteger (int32)One of: 0 (Ascending), 1 (Descending).
pageStartIndexinteger (int32)Read-only.
rolesarray of stringCan be null.
orderStatusarray of stringCan be null. One of: Dreft, Quote, Order, Deleted, Closed.
driverStatusarray of stringCan be null. One of: Active, Inactive, Deleted, Draft, New, Invited, Disabled.
isOrderboolean
datestring (date-time)Can be null.
customersarray of integer (int32)Can be null.
driversarray of integer (int32)Can be null.
dateRangearray of string (date-time)Can be null.
fromAddressarray of stringCan be null.
toAddressarray of stringCan be null.
stopTypestringCan be null. One of: Pickup, Delivery, Transfer.
hasInvoicebooleanCan be null.
tripStatusarray of stringCan be null. One of: Open, Assigned, InTransit, Delivered.
shipmentTypeIdsarray of integer (int32)Can be null.
tnxTypesarray of stringCan be null.
tnxStatusarray of stringCan be null. One of: Draft, Approved, Open, Paid, Overdue, PartialPaid, Deleted.
filterTnxStatusarray of stringCan be null. One of: Draft, Approved, Open, Paid, Overdue, PartialPaid, Deleted.
companyTypesarray of stringCan be null. One of: Customer, Outsource.
driverTypesarray of stringCan be null. One of: Default, Outsource, Mixed.
inspectionStatusarray of integer (int32)Can be null. One of: 1 (Pending), 2 (Failed), 3 (Maintenance), 4 (Completed).
orderPaymentStatusarray of integer (int32)Can be null. One of: 1 (NotPaidAndCompleted), 2 (NotPaidAndAssigned), 3 (NotPaidAndUnassigned), 4 (Paid), 5 (PartlyPaid).
minPriceinteger (int32)Can be null.
maxPriceinteger (int32)Can be null.
inQbbooleanCan be null.
qbSyncStatesarray of stringCan be null.
orderNumberstringCan be null.
driverNamestringCan be null.
zonestringCan be null.
latitudenumber (double)Can be null.
longitudenumber (double)Can be null.
zoneIdsarray of integer (int32)Can be null.
outsourceCompanyIdsarray of integer (int32)Can be null.
countryIdsarray of integer (int32)Can be null.
countriesarray of stringCan be null.
statesarray of stringCan be null.
citiesarray of stringCan be null.
ziparray of stringCan be null.
locationTermstringCan be null.
useCombinedLocationSearchboolean
driverPayoutTypesarray of stringCan be null. One of: Hourly, FixedSalary, Distance, FixDistance, FixHourly, Percent, DistanceAndPercent, FixedCost, Pallets.
outsourceCompanyTypesOfWorkarray of integer (int32)Can be null. One of: 1 (Fixed), 2 (Distance), 4 (Hourly), 8 (Pallets). Values can be combined by adding them together.
offsetinteger (int32)Can be null.
invoiceStatusarray of stringCan be null. One of: Draft, Opened, Pending, Approved, Completed.
isInvoicedbooleanCan be null.
isDefaultbooleanCan be null.
isOnlyCreatedByCurrentUserbooleanCan be null.
viewedEntityTypestringCan be null. One of: Quote, Customer, CustomerMessage, Order.
isEmailSentbooleanCan be null.
invoiceTypesarray of stringCan be null.
paymentStatusesarray of stringCan be null.
searchByOrderarray of integer (int32)Can be null.
includedInvoicebooleanCan be null.
excludedInvoicebooleanCan be null.
customInvoicebooleanCan be null.

SendMessageDto​

PropertyTypeDescription
chatIdinteger (int32)
textstringCan be null.
mediaUrlstringCan be null. Storage key of an already-uploaded attachment.

SentEmail​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
sentEmailIdinteger (int32)
tenantIdstring (uuid)
companyIdinteger (int32)
isOpenedEmailboolean
emailTypeinteger (int32)One of: 0 (Quote), 1 (BillOfLanding), 2 (Invoice), 3 (Customer), 4 (FreightPayment).
tostringCan be null.
subjectstringCan be null.
orderIdinteger (int32)Can be null.
invoiceIdinteger (int32)Can be null.
customerIdinteger (int32)Can be null.
freightPaymentIdinteger (int32)Can be null.
orderOrder
invoiceInvoice
customerCustomer
freightPaymentFreightPayment
companyCompany
tenantobject
customerIdsarray of integer (int32)Can be null.

SetCompanyDocumentCategoriesDto​

PropertyTypeDescription
categoriesarray of stringCan be null.

SetCompanyDocumentTagsDto​

PropertyTypeDescription
tagsarray of stringCan be null.

SetInboundEmailAllowedDomainsDto​

PropertyTypeDescription
domainsarray of stringCan be null.

SetInboundEmailCustomEmailDto​

PropertyTypeDescription
customEmailAddressstringCan be null.

SetInboundEmailEnabledDto​

PropertyTypeDescription
enabledboolean

SetInboundEmailLocalPartDto​

PropertyTypeDescription
localPartstringCan be null.

ShipmentType​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
shipmentTypeIdinteger (int32)
namestringCan be null.
companyIdinteger (int32)
tenantIdstring (uuid)
statusstringOne of: Active, Inactive, Deleted.
tenantobject
markupnumber (double)
feeFragilenumber (double)
feeHazardousnumber (double)
feeRefrigeratednumber (double)
feeOverweightnumber (double)
feeOthernumber (double)
pricesPerLoadTypearray of LoadTypePriceCan be null.
perMilePricesarray of PerMilePriceCan be null.
perHourPricesarray of PerHourPriceCan be null.
perLbPricesarray of PerLbPriceCan be null.
perCftPricesarray of PerCftPriceCan be null.
customerIdinteger (int32)Can be null.
customerCustomer

ShipmentTypePagedList​

A page of results. See Pagination and filtering.

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

SnoozeNotificationRequest​

PropertyTypeDescription
untilstring (date-time)

State​

PropertyTypeDescription
stateIdinteger (int32)
countryIdinteger (int32)
namestringCan be null.

SupportTicketDto​

A ticket as the customer sees it.

PropertyTypeDescription
supportTicketIdinteger (int32)
subjectstringCan be null.
descriptionstringCan be null.
statusstringOne of: Open, In Progress, Resolved, Archived.
prioritystringOne of: Low, Normal, High, Urgent.
dueDatestring (date-time)Can be null.
createdTimestring (date-time)
updatedTimestring (date-time)Can be null.
resolvedAtstring (date-time)Can be null.
isAssignedbooleanTrue once a staff member owns it.
messageCountinteger (int32)
messagesarray of SupportTicketMessageDtoCan be null. Populated on the single-ticket read.

SupportTicketMessageDto​

PropertyTypeDescription
supportTicketMessageIdinteger (int32)
textstringCan be null.
isFromCustomerboolean
authorNamestringCan be null.
datestring (date-time)

SupportTicketPagedList​

A page of results. See Pagination and filtering.

PropertyTypeDescription
listarray of SupportTicketDtoCan be null.
totalCountinteger (int32)