Skip to main content

Models D–H

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.

DailyOrderNumbersDto​

PropertyTypeDescription
datestring (date-time)
countinteger (int32)

DashboardDefinitionDto​

PropertyTypeDescription
dashboardDefinitionIdinteger (int32)
namestringCan be null.
isDefaultboolean
isPersonalbooleanTrue = personal dashboard of the current user.
layoutJsonstringCan be null.
updatedTimestring (date-time)Can be null.

DeleteContactResultDto​

PropertyTypeDescription
customerContactIdinteger (int32)
contactNamestringCan be null.
reassignedOrderCountinteger (int32)Orders and quotes re-pointed at the primary contact.
reassignedToContactIdinteger (int32)Can be null.
reassignedToContactNamestringCan be null.

DepositAccount​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
depositAccountIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
namestringCan be null.
isActiveboolean
isDefaultboolean
totalnumber (double)

DocumentAuditEventDto​

PropertyTypeDescription
idinteger (int32)
eventTypestringOne of: Uploaded, Captured, ImportCommitted, EntityCreated, Deleted, Reprocessed, BulkAction, Emailed.
linkEntityTypestringCan be null. One of: Order, Customer, PricingModel, ChargeType, LoadUnit, Invoice, Quote, Driver.
entityIdinteger (int32)Can be null.
userIdstringCan be null.
userNamestringCan be null.
detailsJsonstringCan be null.
atstring (date-time)

DocumentRetentionExcludedItemDto​

An aged document that is retained, with the reason it is excluded from purge.

PropertyTypeDescription
companyDocumentIdinteger (int32)
namestringCan be null.
createdTimestring (date-time)
sizeBytesinteger (int64)
statusstringOne of: Uploaded, Processing, Ready, Failed.
reasonstringCan be null.

DocumentRetentionItemDto​

One document in the retention preview's candidate list.

PropertyTypeDescription
companyDocumentIdinteger (int32)
namestringCan be null.
createdTimestring (date-time)
sizeBytesinteger (int64)
statusstringOne of: Uploaded, Processing, Ready, Failed.

DocumentRetentionPreviewDto​

PropertyTypeDescription
enabledboolean
retentionDaysinteger (int32)The configured window in days (0 when disabled).
cutoffstring (date-time)Can be null. Documents created strictly before this UTC instant are "aged" (null when disabled).
candidateCountinteger (int32)
candidateSizeBytesinteger (int64)Total bytes the candidates occupy.
excludedCountinteger (int32)
candidatesarray of DocumentRetentionItemDtoCan be null.
excludedarray of DocumentRetentionExcludedItemDtoCan be null.

Driver​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
driverIdinteger (int32)
userIdstringCan be null.
companyIdinteger (int32)
tenantIdstring (uuid)
outsourceCompanyIdinteger (int32)Can be null.
countryIdinteger (int32)Can be null.
companyCompany
outsourceCompanyobject
tenantobject
driverImagestringCan be null.
firstNamestringCan be null.
middleNamestringCan be null.
lastNamestringCan be null.
phoneNumberstringCan be null.
phoneCountryCodestringCan be null. Up to 4 characters.
phoneCountryIsostringCan be null. Up to 3 characters.
cellNumberstringCan be null.
cellCountryCodestringCan be null. Up to 4 characters.
cellCountryIsostringCan be null. Up to 3 characters.
emailstringCan be null.
addressLine1stringCan be null.
citystringCan be null.
statestringCan be null.
cityIdinteger (int32)Can be null.
stateIdinteger (int32)Can be null.
zipstringCan be null.
ssnstringCan be null.
genderstringCan be null. One of: Male, Female.
dobstring (date-time)Can be null.
licenseImagestringCan be null.
licenseNumberstringCan be null.
licenseTypestringCan be null.
licenseExpiresstring (date-time)Can be null.
licenseCountrystringCan be null.
licenseStatestringCan be null.
statusstringOne of: Active, Inactive, Deleted, Draft, New, Invited, Disabled.
quickBooksClassNamestringCan be null.
telegramUserIdstringCan be null.
experienceinteger (int32)
languagestringCan be null.
registationCardImagestringCan be null.
insurancenCardImagestringCan be null.
vehicleBrandstringCan be null.
plateNumberstringCan be null.
vehicleToDisplaystringCan be null.
ratingsinteger (int32)
countryobject
routesarray of RouteCan be null.
driverStatusChecksarray of DriverStatusCheckCan be null.
sentEmailStatusinteger (int32)One of: 1 (Sent), 2 (NotSent), 4 (Edited). Values can be combined by adding them together.
driverTypestringOne of: Default, Outsource, Mixed.
driverStatusstringOne of: New, Approved, Blocked, Deactivated.
employmentstringCan be null. One of: FullTime, PartTime, OneTime.
payoutstringCan be null. One of: Hourly, FixedSalary, Distance, FixDistance, FixHourly, Percent, DistanceAndPercent, FixedCost, Pallets.
openBalancenumber (double)
deactivatedAtstring (date-time)Can be null.
deactivatedReasonstringCan be null.
erasureRequestedAtstring (date-time)Can be null.
erasedAtstring (date-time)Can be null. UTC instant at which the erasure actually completed.
driverRouteViewOverrideEnabledboolean
driverRouteViewModestringOne of: Full, Restricted.
fullNamestringRead-only. Can be null.
companyNamestringCan be null.
isAssignedbooleanCan be null.
chatIdinteger (int32)Can be null.
isChatboolean
unreadCountinteger (int32)

DriverApplicationSettings​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
requireDvirStartOfShiftboolean
requireDvirEndOfShiftboolean
requireSignatureOnDeliveryboolean
requirePhotosOnDeliveryboolean
blockCompletionOnMissingRequirementsboolean
distanceUnitinteger (int32)One of: 0 (Miles), 1 (Kilometers).
mapProviderinteger (int32)One of: 0 (Google), 1 (PlatformDefault).
locationTrackingIntervalSecondsinteger (int32)
routeRefreshMinutesinteger (int32)
stopProximityNotificationKmnumber (double)
lateArrivalThresholdMinsinteger (int32)
attemptTransferHandlinginteger (int32)How a stop attempt ("Retry later today" / "Can't pickup today") affects planned transfer legs that depend on the attempted stop. One of: 0 (RemoveAndNotify), 1 (RemoveSilently), 2 (KeepTransferLegs).
enableHosFeatureboolean
enableNearbyAmenitiesboolean
enableIssueReportingboolean
enableViolationsViewboolean
enableChargesCollectionboolean
enablePaperworkScanningboolean

DriverPagedList​

A page of results. See Pagination and filtering.

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

DriversStats​

PropertyTypeDescription
driverIdinteger (int32)
totalOrdersinteger (int32)
totalHoursinteger (int32)
violationsinteger (int32)
lateDeliveriesinteger (int32)

DriverStatusCheck​

PropertyTypeDescription
idinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
driverIdinteger (int32)
isActiveboolean
headlightsCheckboolean
turnSignalsCheckboolean
brakeLightsCheckboolean
fluidLeaksCheckboolean
hornCheckboolean
mirrorsCheckboolean
breaksCheckboolean
breaksLightsCheckboolean
reverseLightsBackupAlarmCheckboolean
datestring (date-time)
createdAtstring (date-time)
typeinteger (int32)One of: 0 (StartDay), 1 (EndDay).
inspectionStatusinteger (int32)One of: 1 (Pending), 2 (Failed), 3 (Maintenance), 4 (Completed).
truckIdinteger (int32)Can be null.
routeIdinteger (int32)Can be null.
plateNumberstringCan be null.
frontTruckImagestringCan be null.
backTruckImagestringCan be null.
headlightsCheckCommentstringCan be null.
turnSignalsCheckCommentstringCan be null.
brakeLightsCheckCommentstringCan be null.
fluidLeaksCheckCommentstringCan be null.
hornCheckCommentstringCan be null.
mirrorsCheckCommentstringCan be null.
breaksCheckCommentstringCan be null.
breaksLightsCheckCommentstringCan be null.
reverseLightsBackupAlarmCheckCommentstringCan be null.
inspectionSignatureImagestringCan be null.
notesstringCan be null.
customChecksJsonstringCan be null.
truckTruck
driverDriver
companyCompany
tenantobject
attachmentsarray of AttachmentCan be null.

DriverStatusCheckPagedList​

A page of results. See Pagination and filtering.

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

EditableCompanyDocumentDto​

PropertyTypeDescription
formatstringOne of: Markdown, Html, Pdf, Word.
contentMarkdownstringCan be null.
contentHtmlstringCan be null.

EmailAttachmentDto​

PropertyTypeDescription
idinteger (int32)
fileNamestringCan be null.
mimeTypestringCan be null.
sizeBytesinteger (int64)
companyDocumentIdinteger (int32)Can be null.
hasBlobboolean

EmailCompanyDocumentDto​

PropertyTypeDescription
toarray of stringCan be null.
ccarray of stringCan be null.
subjectstringCan be null.
messagestringCan be null.

EmailMessageDetailDto​

PropertyTypeDescription
idinteger (int32)
directionstringOne of: Inbound, Outbound.
statusstringOne of: Received, Sent, Failed, SkippedNonProduction, Draft, Suppressed, SkippedNoRecipient.
sensitivitystringOne of: None, SecretRedacted.
fromAddressstringCan be null.
fromNamestringCan be null.
toAddressesstringCan be null.
subjectstringCan be null.
snippetstringCan be null.
isReadboolean
sentAtstring (date-time)Can be null.
receivedAtstring (date-time)Can be null.
createdTimestring (date-time)
hasAttachmentsboolean
attachmentCountinteger (int32)
orderIdinteger (int32)Can be null.
invoiceIdinteger (int32)Can be null.
customerIdinteger (int32)Can be null.
quoteIdinteger (int32)Can be null.
htmlBodystringCan be null.
textBodystringCan be null.
rawHeadersstringCan be null.
providerMessageIdstringCan be null.
statusDetailstringCan be null.
toarray of stringCan be null.
ccarray of stringCan be null.
bccarray of stringCan be null.
attachmentsarray of EmailAttachmentDtoCan be null.

EmailMessageListDto​

PropertyTypeDescription
idinteger (int32)
directionstringOne of: Inbound, Outbound.
statusstringOne of: Received, Sent, Failed, SkippedNonProduction, Draft, Suppressed, SkippedNoRecipient.
sensitivitystringOne of: None, SecretRedacted.
fromAddressstringCan be null.
fromNamestringCan be null.
toAddressesstringCan be null.
subjectstringCan be null.
snippetstringCan be null.
isReadboolean
sentAtstring (date-time)Can be null.
receivedAtstring (date-time)Can be null.
createdTimestring (date-time)
hasAttachmentsboolean
attachmentCountinteger (int32)
orderIdinteger (int32)Can be null.
invoiceIdinteger (int32)Can be null.
customerIdinteger (int32)Can be null.
quoteIdinteger (int32)Can be null.

EmailMessageListDtoPagedList​

A page of results. See Pagination and filtering.

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

EmailRecipient​

PropertyTypeDescription
emailstringCan be null.
customerIdinteger (int32)Can be null.
addNewContactbooleanCan be null.

EmailSendRequest​

PropertyTypeDescription
emailarray of stringCan be null.
emailRecipientarray of EmailRecipientCan be null.
messagestringCan be null.
tagsarray of CustomerMessageTagDtoCan be null.

EmailTypeInfo​

PropertyTypeDescription
valueinteger (int32)
namestringCan be null.
kindinteger (int32)One of: 0 (Regular), 1 (Static).
isStaticboolean

ExpandUrlRequestDto​

PropertyTypeDescription
linkstringCan be null.

ExpandUrlResponseDto​

PropertyTypeDescription
fullLinkstringCan be null.

Expense​

A single recorded operating cost.

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
expenseIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
companyCompany
tenantobject
typeinteger (int32)One of: 0 (Trucks), 1 (DriverRoutePayout), 2 (OutsourceCompanyRoutePayout), 3 (Office).
subtypeinteger (int32)One of: 0 (TruckGas), 1 (TruckInsurance), 2 (TruckMaintenance), 3 (TruckPayment), 4 (TruckTrailer), 5 (TruckLicense), 6 (TruckTool), 7 (TruckOther), 8 (TruckMiles), 9 (OdometerStart), 10 (OdometerEnd), 100 (OfficeGPS), 101 (OfficeInternet), 102 (OfficeOther).
amountnumber (double)
truckIdinteger (int32)Can be null.
truckTruck
datestring (date-time)
statusstringOne of: Active, Inactive, Deleted.
namestringCan be null.
deletionDatestring (date-time)Can be null.
isDefaultbooleanIndicates that this expense is default for a month that has no actual record but draws from a previous real expense.
categoryIdinteger (int32)Can be null.
categoryobject
vendorIdinteger (int32)Can be null.
vendorobject
vendorNameSnapshotstringCan be null. Up to 255 characters.
driverIdinteger (int32)Can be null.
orderIdinteger (int32)Can be null.
routeIdinteger (int32)Can be null.
outsourceCompanyIdinteger (int32)Can be null. Set when the payee is a known carrier/subcontractor rather than a free vendor.
currencyCodestringCan be null. Iso-4217, null = the company default. Up to 3 characters.
quantitynumber (double)Can be null.
uomstringCan be null. Up to 20 characters.
unitPricenumber (double)Can be null.
fuelTypestringCan be null. One of: Diesel, DieselExhaustFluid, ReeferDiesel, Gasoline, Cng, Lng, Propane, Electric, Biodiesel, Other.
jurisdictionStatestringCan be null. Jurisdiction the fuel was bought in. Up to 10 characters.
odometerReadingnumber (double)Can be null. Odometer at the time of purchase.
isIftaEligibleboolean
isBillableToOrderboolean
rebillStatusstringOne of: NotBillable, Pending, Invoiced, Absorbed.
invoiceLineIdinteger (int32)Can be null. The invoice line this cost was recovered on, once it has been billed.
approvalStatusstringOne of: Approved, Draft, Submitted, Rejected.
approvedByUserIdstringCan be null. Up to 450 characters.
approvedAtstring (date-time)Can be null.
rejectionReasonstringCan be null. Up to 500 characters.
submittedByUserIdstringCan be null. Up to 450 characters.
submittedAtstring (date-time)Can be null.
sourcestringOne of: MonthlyGrid, Manual, Mobile, Receipt, FuelCardImport, Recurring, Api, Import.
sourceDocumentIdinteger (int32)Can be null.
paymentMethodstringCan be null. One of: Unspecified, Cash, CreditCard, FuelCard, Check, Ach, Comchek, DriverAdvance, Other.
isCapitalbooleanTrue when the purchase should be capitalised to a fixed-asset register rather than expensed.
notesstringCan be null. Up to 1000 characters.
referenceNumberstringCan be null. Vendor invoice number, trip number or fuel-card transaction reference. Up to 100 characters.
externalIdstringCan be null. Stable key from the originating system. Up to 128 characters.
recurringScheduleIdinteger (int32)Can be null.
isAccrualbooleanTrue when the amount is a periodic slice of a larger prepaid outlay (an annual insurance premium spread over 12 months) rather than a cash event in this period.

ExpenseAmountByCategoryDto​

PropertyTypeDescription
categoryIdinteger (int32)
namestringCan be null.
amountnumber (double)
percentOfTotalnumber (double)Percent of the period's total spend.
costBehaviorstringOne of: Variable, Fixed, SemiVariable.
rowCountinteger (int32)

ExpenseAmountByTypeDto​

PropertyTypeDescription
typeinteger (int32)One of: 0 (Trucks), 1 (DriverRoutePayout), 2 (OutsourceCompanyRoutePayout), 3 (Office).
typeNamestringCan be null.
amountnumber (double)
rowCountinteger (int32)

ExpenseAnalyticsSummaryDto​

PropertyTypeDescription
startDatestring (date-time)
endDatestring (date-time)End of the window actually used.
totalSpendnumber (double)
currencyCodestringCan be null. The company's default iso-4217 code.
rowCountinteger (int32)
byTypearray of ExpenseAmountByTypeDtoCan be null.
byCategoryarray of ExpenseAmountByCategoryDtoCan be null.
fixedSpendnumber (double)
variableSpendnumber (double)
semiVariableSpendnumber (double)
uncategorizedSpendnumber (double)Spend with no readable category.
totalMilesnumber (double)
costPerMileobjectTotal-mile cost per mile.
fixedCostPerMileobjectFixed spend ÷ total miles.
variableCostPerMileobject
truckOnlyCostPerMileobject
activeTruckCountinteger (int32)
costPerTruckobject
priorPeriodStartDatestring (date-time)
priorPeriodEndDatestring (date-time)
priorPeriodTotalSpendnumber (double)
deltaPercentnumber (double)Can be null. Percent change vs the prior window.
pendingApprovalCountinteger (int32)
pendingApprovalAmountnumber (double)
missingReceiptCountinteger (int32)

ExpenseAssignOrderDto​

PropertyTypeDescription
orderIdinteger (int32)Can be null. The order to attach the cost to, or null to detach it.

ExpenseBenchmarkDto​

PropertyTypeDescription
sourcestringCan be null. Full citation of the publication these figures come from.
asOfYearinteger (int32)The year the underlying operational data describes (not the publication year).
currencyCodestringCan be null.
linesarray of ExpenseBenchmarkLineDtoCan be null. The nine line items.
totalPerMilenumber (double)Average marginal cost, usd per mile.
totalExcludingFuelPerMilenumber (double)Total less the fuel line.
costPerHournumber (double)Average marginal cost, usd per hour.
deadheadPercentNonTanknumber (double)Industry empty-mile share for non-tank operations, percent.
disclaimerstringCan be null. Human-readable "this is not your data" warning, safe to render verbatim.

ExpenseBenchmarkLineDto​

One published industry per-mile line item.

PropertyTypeDescription
keystringCan be null.
namestringCan be null.
perMilenumber (double)Industry average, usd per mile.
mapsToSubtypeinteger (int32)Can be null. One of: 0 (TruckGas), 1 (TruckInsurance), 2 (TruckMaintenance), 3 (TruckPayment), 4 (TruckTrailer), 5 (TruckLicense), 6 (TruckTool), 7 (TruckOther), 8 (TruckMiles), 9 (OdometerStart), 10 (OdometerEnd), 100 (OfficeGPS), 101 (OfficeInternet), 102 (OfficeOther).
mapsToSubtypeNamestringCan be null.
notestringCan be null. Definition caveats that change what a fair comparison is.

ExpenseBulkActionDto​

Body of the bulk approve / reject / categorize endpoints.

PropertyTypeDescription
expenseIdsarray of integer (int32)Can be null.
reasonstringCan be null.
categoryIdinteger (int32)Can be null. Required by bulk categorize.

ExpenseBulkItemResultDto​

One id's outcome inside a bulk operation.

PropertyTypeDescription
expenseIdinteger (int32)
successboolean
errorCodestringCan be null.
messagestringCan be null.

ExpenseBulkResultDto​

Outcome of a bulk operation.

PropertyTypeDescription
succeededCountinteger (int32)
failedCountinteger (int32)
resultsarray of ExpenseBulkItemResultDtoCan be null.

ExpenseBySubtypeStats​

PropertyTypeDescription
subtypeinteger (int32)One of: 0 (TruckGas), 1 (TruckInsurance), 2 (TruckMaintenance), 3 (TruckPayment), 4 (TruckTrailer), 5 (TruckLicense), 6 (TruckTool), 7 (TruckOther), 8 (TruckMiles), 9 (OdometerStart), 10 (OdometerEnd), 100 (OfficeGPS), 101 (OfficeInternet), 102 (OfficeOther).
amountnumber (double)

ExpenseByTruckDto​

One truck's cost line.

PropertyTypeDescription
truckIdinteger (int32)
truckNamestringCan be null.
plateNumberstringCan be null.
totalSpendnumber (double)
milesnumber (double)
costPerMileobject
fuelSpendnumber (double)
maintenanceSpendnumber (double)
insuranceSpendnumber (double)
rowCountinteger (int32)

ExpenseCategoryDto​

PropertyTypeDescription
expenseCategoryIdinteger (int32)0 or absent creates a new category.
namestringCan be null.
parentIdinteger (int32)Can be null.
parentNamestringCan be null.
costBehaviorstringOne of: Variable, Fixed, SemiVariable.
defaultCostObjectstringOne of: Overhead, Truck, Driver, Order.
mapsToTypeinteger (int32)One of: 0 (Trucks), 1 (DriverRoutePayout), 2 (OutsourceCompanyRoutePayout), 3 (Office).
mapsToSubtypeinteger (int32)One of: 0 (TruckGas), 1 (TruckInsurance), 2 (TruckMaintenance), 3 (TruckPayment), 4 (TruckTrailer), 5 (TruckLicense), 6 (TruckTool), 7 (TruckOther), 8 (TruckMiles), 9 (OdometerStart), 10 (OdometerEnd), 100 (OfficeGPS), 101 (OfficeInternet), 102 (OfficeOther).
isIftaFuelbooleanCounts toward IFTA taxable gallons.
isBillableDefaultboolean
requiresReceiptbooleanBlocks approval until a receipt document is attached.
approvalThresholdOverridenumber (double)Can be null.
glAccountCodestringCan be null.
qbAccountNamestringCan be null.
isSystemboolean
isActiveboolean
sortOrderinteger (int32)
descriptionstringCan be null.

ExpenseCategoryTrendDto​

PropertyTypeDescription
categoryIdinteger (int32)
categoryNamestringCan be null.
costBehaviorstringOne of: Variable, Fixed, SemiVariable.
currencyCodestringCan be null.
pointsarray of ExpenseCategoryTrendPointDtoCan be null.

ExpenseCategoryTrendPointDto​

PropertyTypeDescription
monthstringCan be null.
totalnumber (double)
rowCountinteger (int32)

ExpenseCommittedSpendAmountDto​

One currency's slice of a bucket.

PropertyTypeDescription
currencyCodestringCan be null. Up to 3 characters.
cashAmountnumber (double)
accruedAmountnumber (double)
occurrenceCountinteger (int32)Occurrences whose cash lands in this bucket.

ExpenseCommittedSpendDto​

PropertyTypeDescription
fromstring (date-time)
tostring (date-time)The effective window end.
defaultCurrencyCodestringCan be null. Up to 3 characters.
isMultiCurrencybooleanTrue when the schedules in scope span more than one currency.
monthsarray of ExpenseCommittedSpendMonthDtoCan be null. One entry per calendar month in the window, oldest first.
totalsarray of ExpenseCommittedSpendAmountDtoCan be null. Whole-window totals, one entry per currency.
schedulesConsideredinteger (int32)Schedules that contributed nothing (finished, or nothing due inside the window).
schedulesContributinginteger (int32)Schedules that contributed at least one amount to the window.

ExpenseCommittedSpendMonthDto​

One calendar month of the forecast.

PropertyTypeDescription
monthStartstring (date-time)
yearinteger (int32)
monthinteger (int32)
amountsarray of ExpenseCommittedSpendAmountDtoCan be null. Per-currency amounts for this month.

ExpenseDto​

PropertyTypeDescription
expenseIdinteger (int32)
typeinteger (int32)One of: 0 (Trucks), 1 (DriverRoutePayout), 2 (OutsourceCompanyRoutePayout), 3 (Office).
subtypeinteger (int32)One of: 0 (TruckGas), 1 (TruckInsurance), 2 (TruckMaintenance), 3 (TruckPayment), 4 (TruckTrailer), 5 (TruckLicense), 6 (TruckTool), 7 (TruckOther), 8 (TruckMiles), 9 (OdometerStart), 10 (OdometerEnd), 100 (OfficeGPS), 101 (OfficeInternet), 102 (OfficeOther).
amountnumber (double)
datestring (date-time)
statusstringOne of: Active, Inactive, Deleted.
namestringCan be null.
deletionDatestring (date-time)Can be null.
categoryIdinteger (int32)Can be null.
categoryNamestringCan be null.
vendorIdinteger (int32)Can be null.
vendorNamestringCan be null.
vendorNameSnapshotstringCan be null.
truckIdinteger (int32)Can be null.
truckNamestringCan be null.
driverIdinteger (int32)Can be null.
driverNamestringCan be null.
orderIdinteger (int32)Can be null.
orderNumberstringCan be null.
routeIdinteger (int32)Can be null.
outsourceCompanyIdinteger (int32)Can be null.
currencyCodestringCan be null.
quantitynumber (double)Can be null.
uomstringCan be null.
unitPricenumber (double)Can be null.
fuelTypestringCan be null. One of: Diesel, DieselExhaustFluid, ReeferDiesel, Gasoline, Cng, Lng, Propane, Electric, Biodiesel, Other.
jurisdictionStatestringCan be null. Two-letter US state / Canadian province the fuel was bought in.
odometerReadingnumber (double)Can be null.
isIftaEligiblebooleanCan be null.
isBillableToOrderboolean
rebillStatusstringOne of: NotBillable, Pending, Invoiced, Absorbed.
invoiceLineIdinteger (int32)Can be null.
approvalStatusstringOne of: Approved, Draft, Submitted, Rejected.
approvedByUserIdstringCan be null.
approvedAtstring (date-time)Can be null.
rejectionReasonstringCan be null.
submittedByUserIdstringCan be null.
submittedAtstring (date-time)Can be null.
sourcestringOne of: MonthlyGrid, Manual, Mobile, Receipt, FuelCardImport, Recurring, Api, Import.
sourceDocumentIdinteger (int32)Can be null.
hasReceiptboolean
paymentMethodstringCan be null. One of: Unspecified, Cash, CreditCard, FuelCard, Check, Ach, Comchek, DriverAdvance, Other.
isCapitalboolean
notesstringCan be null.
referenceNumberstringCan be null.
externalIdstringCan be null.
recurringScheduleIdinteger (int32)Can be null.
isAccrualboolean
isMeasurementRowboolean
createdTimestring (date-time)
updatedTimestring (date-time)Can be null.

ExpenseMonthlyTrendPointDto​

PropertyTypeDescription
monthstringCan be null.
totalnumber (double)
rowCountinteger (int32)
byTypearray of ExpenseAmountByTypeDtoCan be null.

ExpensePagedList​

A page of results. See Pagination and filtering.

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

ExpenseRecurringRunResultDto​

Result of posting a schedule's occurrences on demand ("run now").

PropertyTypeDescription
expenseRecurringScheduleIdinteger (int32)
rowsCreatedinteger (int32)
occurrencesProcessedinteger (int32)Occurrences the run walked past (posted or already-posted).
nextRunDatestring (date-time)Can be null. The schedule's next unposted occurrence after this run.

ExpenseRecurringScheduleDto​

PropertyTypeDescription
expenseRecurringScheduleIdinteger (int32)
namestringCan be null. Up to 200 characters.
categoryIdinteger (int32)Can be null.
categoryNamestringCan be null. Up to 150 characters.
vendorIdinteger (int32)Can be null.
vendorNamestringCan be null. Up to 255 characters.
amountnumber (double)Amount of one occurrence, before any amortisation split.
currencyCodestringCan be null. Up to 3 characters.
frequencystringOne of: Monthly, Weekly, BiWeekly, Quarterly, SemiAnnual, Annual.
startDatestring (date-time)
endDatestring (date-time)Can be null.
dayOfMonthinteger (int32)
truckIdinteger (int32)Can be null.
truckNamestringCan be null. Up to 255 characters.
driverIdinteger (int32)Can be null.
amortizeMonthsinteger (int32)Can be null.
autoPostboolean
nextRunDatestring (date-time)Can be null.
lastRunDatestring (date-time)Can be null.
nextOccurrenceDatestring (date-time)Can be null.
varianceAlertPercentnumber (double)Can be null.
isActiveboolean
notesstringCan be null. Up to 1000 characters.

ExpenseRejectDto​

PropertyTypeDescription
reasonstringCan be null.

ExpensesByTypeStats​

PropertyTypeDescription
amountnumber (double)
typeinteger (int32)One of: 0 (Trucks), 1 (DriverRoutePayout), 2 (OutsourceCompanyRoutePayout), 3 (Office).
subtypeStatsarray of ExpenseBySubtypeStatsCan be null.

ExpenseSearchResultDto​

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

ExpenseTruckDetailDto​

PropertyTypeDescription
truckIdinteger (int32)
truckNamestringCan be null.
plateNumberstringCan be null.
vinstringCan be null.
truckTypestringCan be null.
truckStatusstringOne of: Active, Inactive, Deleted.
truckMissingboolean
excludedForPeriodboolean
startDatestring (date-time)
endDatestring (date-time)
currencyCodestringCan be null.
totalSpendnumber (double)
rowCountinteger (int32)
milesnumber (double)
costPerMileobject
fleetCostPerMileobjectThe whole fleet's rate over the same window, for context.
priorPeriodTotalSpendnumber (double)
deltaPercentnumber (double)Can be null. Null when the prior window had no spend.
bySubtypearray of ExpenseTruckSubtypeDtoCan be null.
byCategoryarray of ExpenseAmountByCategoryDtoCan be null.
monthlyTrendarray of ExpenseMonthlyTrendPointDtoCan be null. Trailing months for this truck alone, oldest first.

ExpenseTruckSubtypeDto​

PropertyTypeDescription
subtypeinteger (int32)One of: 0 (TruckGas), 1 (TruckInsurance), 2 (TruckMaintenance), 3 (TruckPayment), 4 (TruckTrailer), 5 (TruckLicense), 6 (TruckTool), 7 (TruckOther), 8 (TruckMiles), 9 (OdometerStart), 10 (OdometerEnd), 100 (OfficeGPS), 101 (OfficeInternet), 102 (OfficeOther).
subtypeNamestringCan be null.
amountnumber (double)
rowCountinteger (int32)

ExpenseVendorDto​

PropertyTypeDescription
expenseVendorIdinteger (int32)
namestringCan be null. Up to 255 characters.
addressLine1stringCan be null. Up to 255 characters.
citystringCan be null. Up to 100 characters.
statestringCan be null. Up to 50 characters.
zipstringCan be null. Up to 20 characters.
countrystringCan be null. Up to 50 characters.
phonestringCan be null. Up to 50 characters.
emailstringCan be null. Up to 255 characters.
taxIdstringCan be null. Up to 50 characters.
is1099VendorbooleanMarks the payee as 1099-nec reportable.
defaultCategoryIdinteger (int32)Can be null. Pre-selects a category when this vendor is chosen.
defaultCategoryNamestringCan be null. Up to 150 characters.
paymentTermsInDaysinteger (int32)Can be null. Net-N terms, for AP aging.
qbVendorNamestringCan be null. Up to 150 characters.
outsourceCompanyIdinteger (int32)Can be null.
vendorCodestringCan be null. Fuel-network vendor code (Pilot, Loves, TA…). Up to 50 characters.
isActivebooleanCan be null.
notesstringCan be null. Up to 1000 characters.
createdTimestring (date-time)Can be null. When the vendor was first recorded.
totalSpendnumber (double)Can be null. Total expensed to this vendor inside the requested window, for the spend-concentration and 1099-prep views.
expenseCountinteger (int32)Can be null.

ExpenseVendorDtoPagedList​

A page of results. See Pagination and filtering.

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

ExportContactsRequestModel​

PropertyTypeDescription
idsarray of integer (int32)Can be null.
selectedColumnsarray of stringCan be null.

File​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
fileIdinteger (int32)
companyIdinteger (int32)
tenantIdstring (uuid)
tenantobject
companyCompany
fileDatastringCan be null.
searchstringCan be null.

FreightPayment​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
freightPaymentIdinteger (int32)
tenantIdstring (uuid)
companyIdinteger (int32)
payerCustomerIdinteger (int32)
receiverCustomerIdinteger (int32)
orderStopIdinteger (int32)
isActiveboolean
paymentTypestringOne of: Cardknox, Stripe, PayPal, Cash, Check, ACH, Other.
paymentProviderTypestringOne of: Cardknox, Stripe, PayPal, Manual, Other.
totalAmountnumber (double)
paymentEmailstringCan be null.
sentEmailStatusinteger (int32)One of: 1 (Sent), 2 (NotSent), 4 (Edited). Values can be combined by adding them together.
sentEmailsarray of SentEmailCan be null.
transactionsarray of FreightPaymentTransactionCan be null.
amountPaidnumber (double)Read-only.
paymentStatusstringRead-only. One of: Pending, Authorized, Paid, PartialPaid, Failed.

FreightPaymentTransaction​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
freightPaymentTransactionIdinteger (int32)
tenantIdstring (uuid)
companyIdinteger (int32)
freightPaymentIdinteger (int32)
amountnumber (double)
statusstringOne of: Pending, Authorized, Paid, PartialPaid, Failed.
paymentProviderTypestringOne of: Cardknox, Stripe, PayPal, Manual, Other.
manualReferencestringCan be null. Human-entered receipt, check, or other reference for Manual payments only.
manualReferenceTypestringCan be null. One of: Receipt, CheckNumber, Other.
emailstringCan be null.

FullAddressInfo​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
addressIdinteger (int32)
tenantIdstring (uuid)
companyIdinteger (int32)
outsourceCompanyIdinteger (int32)Can be null.
customerIdinteger (int32)Can be null.
countryIdinteger (int32)Can be null.
autoCountryIdinteger (int32)Can be null.
tenantobject
entityTypeinteger (int32)One of: 1 (Customer), 2 (Order), 3 (OrderItem), 4 (OrderStop), 5 (CustomerContact), 6 (CustomerPaymentMethod), 7 (RouteTransfer), 8 (Quotes), 9 (Orders), 10 (Warehouse), 11 (Driver), 12 (TenantPaymentMethod), 13 (Payment), 14 (Invoice), 15 (Route), 16 (Truck), 17 (OutsourceCompany), 18 (OutsourceCompanyContact), 19 (Goods), 20 (Document), 21 (DrivingLog), 22 (Barcode), 23 (Check), 24 (DriverLicense), 25 (InsuranceCard), 26 (RegistrationCard: use the number), 27 (LoadUnit), 28 (LoadUnitContent), 29 (Violation), 30 (DriverStatusCheck), 31 (DriverIssue), 32 (Damage), 33 (FreightPayment).
extstringCan be null.
startTimeHoursOfOperationstring (date-time)Can be null.
endTimeHoursOfOperationstring (date-time)Can be null.
taginteger (int32)One of: 0 (Tag).
namestringCan be null.
addressLine1stringCan be null.
addressLine2stringCan be null.
citystringCan be null.
statestringCan be null.
cityIdinteger (int32)Can be null.
stateIdinteger (int32)Can be null.
zipstringCan be null.
isActiveboolean
gatestringCan be null.
companyTypestringOne of: Customer, Outsource.
companyLocationstringOne of: Office, House.
phoneNumberstringCan be null.
phoneCountryCodestringCan be null. Up to 4 characters.
phoneCountryIsostringCan be null. Up to 3 characters.
appointmentNeededboolean
companyNamestringCan be null.
companyPhonestringCan be null.
notesstringCan be null.
cityOnlyboolean
instructionsstringCan be null.
isHiddenboolean
deactivatedByCustomerDeleteboolean
hiddenBeforeCustomerDeleteboolean
pipelineinteger (int32)One of: 0 (Prospect), 1 (Customer), 2 (Lead).
countryobject
fullAddressstringRead-only. Can be null.
googlePlaceIdstringCan be null.
frontEndGroupstringRead-only. Can be null.
addressDetailsstringCan be null.
latitudenumber (double)Can be null.
longitudenumber (double)Can be null.
googleMapsLinkstringCan be null.
useZipInNormalizedAddressFieldsboolean
countryNameFromGooglestringCan be null.
normalizedKeystringRead-only. Can be null.
normalizedFullAddressstringRead-only. Can be null.

FullAddressInfoPagedList​

A page of results. See Pagination and filtering.

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

FxRate​

PropertyTypeDescription
createdTimestring (date-time)
createdUserstringCan be null.
updatedTimestring (date-time)Can be null.
updatedUserstringCan be null.
createdCompanyUserCompanyUser
updatedCompanyUserCompanyUser
idinteger (int32)
tenantIdstring (uuid)
companyIdinteger (int32)
fromCurrencyCodestringCan be null. Up to 3 characters.
destinationCurrencyCodestringCan be null. Up to 3 characters.
rateDatestring (date-time)The day this rate applies from, as a date (the time component is not meaningful).
ratenumber (double)
sourcestringCan be null. Up to 200 characters.