Data Models

Activity

NameTypeDescriptionRequiredUpdatable
datestringISO8601 formatted date
serviceIdstringA user provided ID to associate this activity with a specific service
customerIdstringA user provided ID to associate this activity with a specific customer
customerNamestringThe customer's name
activityTypestringType of activity. Activity Type
materialstringType of material. Material
activityNotesstringComments from the customer or CSR relevant to the activity
nextActivitystringThe activityId of the activity to be performed in sequence after this activity
containerslistList of Containers related to this activity
vehicleTypestringDefault: rolloff
vehicleSizestringThe size of the vehicle needed for the service. Vehicle Sizes
haulerobjectThe hauler assigned to the route
latitudenumberLatitude of the activity start location in Decimal Degrees
longitudenumberLongitude of the activity start location in Decimal Degrees
addressstringStreet address
citystringCity name
statestringState abbreviation
postalCodestringZip Code
timeWindowStartstringISO8601 formatted time representing the start of the allowable arrival time for the vehicle performing the activity.
timeWindowEndstringISO8601 formatted time representing the end of the allowable arrival time for the vehicle performing the activity.
extraTimenumberExtra time in minutes to add to the expected activity duration
siteContactstringThe site Contact information for this particular activity.
routeIdstringThe route the service has been assigned to
routeSequencenumberThe position of this service relative to other services on the same route (e.g. 3 will be the third stop)
zonestringThe assigned zone for the service
plannedStartstringISO8601 formatted time representing the expected start time of the service according to the route plan
plannedEndstringISO8601 formatted time representing the expected completion time of the service according to the route plan
plannedDurationstringTime in minutes representing the expected duration of the service
actualStartstringISO8601 formatted time representing the actual start time of the service
actualEndstringISO8601 formatted time representing the actual end time of the service
actualDurationstringTime in minutes representing the actual duration of the service
statusstringThe current status of the service. Activity Status
updateLatitudenumberLatitude (Decimal Degrees) of the driver when updating the activity
updateLongitudenumberLongitude (Decimal Degrees) of the driver when updating the activity
driverCommentsstringComments from the driver relevant to their completion of the service
createdAtstring
lastUpdatedstring
workOrderIdstringThe ID of a work order populated by the CRM. This will default to a blank string "".

Attachment

NameTypeDescriptionRequiredUpdatable
attachmentIdstringGenerated ID of the Attachment
latitudenumberLatitude in WGS84 Decimal Degrees
longitudenumberLongitude in WGS84 Decimal Degrees
descriptionstringA description of the attachment
filenamestringThe filename of the file in the attachment
originalFilestringThe S3 path were the original file is stored
smallThumbnailstringThe S3 path were a generated small thumbnail file is stored
createdAtstring
createdBystring
updatedAtstring
updatedBystring

Contact

NameTypeDescriptionRequiredUpdatable
namestringThe name of the contact
phonestringPrimary phone to reach the contact at
emailstringEmail address for the contact

Container

NameTypeDescriptionRequiredUpdatable
containerIdstringThe ID of the container
plannedIdstringThe ID of the container expected to be delivered or removed
typestringThe type of container
sizenumberThe size in yards of the container for the service. Values: 10, 12, 15, 20, 24, 30, 40
activitystringThe action associated with this container. Must be either delivery or removal.

Driver

NameTypeDescription
driverIdstringA unique ID generated by rolloff360
namestringThe driver's name
phonestringThe driver's daytime phone number
statusstringControls if the driver is available for operating vehicles. Values: active or inactive
samsara_idnumberA unique ID for the driver generated by Samsara

Facility

NameTypeDescription
facilityIdstringA unique ID generated by rolloff360
namestringA descriptive name for this location
addressstringStreet address
citystringCity name
statestringState abbreviation
zipstringZip code
latitudenumberLatitude of the physical location in Decimal Degrees
longitudenumberLongitude of the physical location in Decimal Degrees
statusstringControls if the location is included in route plans. Values: active or inactive
materialsstringType of materials accepted Material Types
startEndbooleanControls if fleet vehicles can start and end their routes at this location.
penaltynumberAdditional factor to influence the preferredness of using this location as part of a route
durationnumberTime in hours representing the expected duration of a visit at this location
intermediatebooleanControls if fleet vehicles can use this location to dump material or replenish containers
containersbooleanThe location has container inventory

Hauler

NameTypeDescriptionRequiredUpdatable
haulerIdstringA unique ID managed in Rolloff360
namestringThe company name associated with the hauler
routeNamestringDefault route name used by this hauler

Location

NameTypeDescriptionRequiredUpdatable
namestringA descriptive name for the location
latitudenumberLatitude in WGS84 Decimal Degrees
longitudenumberLongitude in WGS84 Decimal Degrees

Route

NameTypeDescriptionRequiredUpdatable
routeIdstringA unique ID generated by rolloff360
datestringISO8601 formatted
namestringA name for the route
vehicleTypestringDefault: rolloff
vehicleSizestringThe size of the vehicle needed for the route Vehicle Sizes
vehicleIdstringThe id of the vehicle assigned to the route
driverIdstringThe id of the driver assigned to the route
haulerobjectThe hauler assigned to the route
startLocationobjectA Location object for the starting location
endLocationobjectA Location object for the end location
plannedActivitiesnumberThe number of activities originally assigned to the route
completedActivitiesnumberThe number of activities completed by the route
plannedStartstringISO8601 formatted time representing the expected start time of the route
plannedEndstringISO8601 formatted time representing the expected completion time of the route
plannedDurationnumberTime in minutes representing the expected duration of the route
actualStartstringISO8601 formatted time representing the actual start time of the route
actualEndstringISO8601 formatted time representing the actual end time of the route
actualDurationnumberTime in minutes representing the actual duration of the route
plannedDistancenumberDistance in miles representing the expected travel distance of the route
actualDistancenumberDistance in miles representing the actual travel distance of the route
statusstringThe current status of the route Route Status
zonestringThe assigned zone for the route
createdAtstring
lastUpdatedstring

Vehicle

NameTypeDescription
vehicleIdstringA unique ID generated by rolloff360
namestringA short designator for the vehicle
sizestringThe vehicle's size Vehicle Sizes
statusstringControls if the vehicle is available for completing activities. Values: active or inactive
samsara_idnumberA unique ID for the vehicle generated by Samsara
settingsobjectAn object containing additional properties for the vehicle
driverstringThe name of the default driver assigned to the vehicle
start_lotstringThe name of the organization's facility that the vehicle will start its day at
end_lotstringThe name of the organization's facility that the vehicle should end its day at
start_timestringISO8601 formatted time representing the earliest time the vehicle is available
end_timestringISO8601 formatted time representing the latest time the vehicle is available
max_timenumberTime in hours representing the maximum duration the vehicle can be operational on a given day