Download OpenAPI specification:Download
The document assumes native nuDeliverIt field-naming conventions. nuDeliverIt can be used in a wide variety of business delivery application and the field names represented here may not directly represent the use of these fields in your specific application.
It is recommended to read this document along with the understanding of integration of inbound interfaces.
Document Terminology | nuDeliverIt Use | Associated Industry Terminology |
---|---|---|
Stop | Destination for performing work activities such as delivery, pickup, service, field work etc. | Customer location, destination, site. |
Load/Route | A sequence of stops combined and assigned to a person. The load contains all the stops in the sequence. | Work schedule, Route, truck path, delivery run, service run. |
Driver | Represents the personnel deployed for the Load | Driver, trucker, delivery man, technician |
Comments | Set of instructions sent to the driver. Comments can be associated with the stop or the load. Note: Only specific comment types are sent to the driver. | Special instructions, delivery instructions, Customer request. |
Product Identifier | Used to uniquely identify the product during delivery/pickup or use. This could represent the bar code if scanning is used in the system. | SKU barcode, Package barcode, Item barcode, service number, part, pickup tracking number, delivery tracking number. |
Host | This indicates your server from which orders or routes will be sent to nuDeliverIt server | Server |
Events follow a sequence of execution with event codes and event names
Event Code | Description |
---|---|
Route Level Events | |
route.initiated |
Driver has engaged with the route. Also used to assign a driver to the route |
route.origin.arrival |
Driver has Arrived from the Origin location |
route.origin.depart |
Route has departed from the Origin location |
route.depot.arrival |
Route has Arrived at the Return to Depot. Only available when route is configured for it |
Stop Pickup Events | |
stop.pickup.arrival |
Driver has arrived at the location of the stop |
stop.pickup.confirmation |
Driver has confirmed items at location |
stop.pickup.closed |
Stop execution cannot be performed for a reason |
stop.pickup.departure |
Stop Depart event. Not required if autoDepart is sent in events above |
Stop Dropoff Events | |
stop.dropoff.arrival |
Driver has arrived at the location for the stop |
stop.dropoff.confirmation |
Driver has confirmed of items at location |
stop.dropoff.closed |
Stop execution cannot be performed for a reason |
stop.dropoff.departure |
Stop Departure at drop off. Not required if autoDepart is turned on |
Events are used to communicate the journey of the route from the beginning to its completion. Events have a EventCode, Route & GeoStamp associated with them.
Some events are optional such as
stop.pickup.depart
orroute.depot.arrive
. These are controlled by Configuration and message level overrides
companyCode required | string Company code to which the Route belongs |
eventCode required | string <= 50 characters Event Code corresponding to the event being reported. Valid Event Names are specified in the Summary above
|
geoStamp required | object (GeoStamp) |
routeNbr required | string <= 30 characters Unique Route Nbr that the Driver is working on |
stop | object (Stop level event Data) |
Success
Bad request; request contains invalid data
You are not authorized to access the resource
The resource you were trying to reach is not found
No information available for the provided request parameters.
Internal server error
{- "eventCode": "route.initiated",
- "geoStamp": {
- "eventDTTM": "2020-10-15T13:10:00",
- "eventTz": "GMT",
- "latitude": "34.22134",
- "longitude": "-42.2234"
}, - "routeNbr": "RTE0032"
}
{- "Reasons": [
- {
- "description": "Driver is required.",
- "reasonCode": 1505
}
]
}
GPS Event Endpoint is used to receive the current location of the route as the driver travels. The route location is used to calculate ETA updates and send customer communication.
All gps events must have a
routeNbr
andgeoStamp
attached. Geo Location is tagged between route start and route end. Any updates sent outside of these times are ignored.
companyCode required | string Company code to which the Route belongs |
GPS API. To see examples look at the sample code to see examples of each event
geoStamp required | object (GeoStamp) |
routeNbr required | string <= 30 characters Unique Route Nbr that the Driver is working on |
Success
Bad request; request contains invalid data
You are not authorized to access the resource
The resource you were trying to reach is not found
No information available for the provided request parameters.
Internal server error
{- "geoStamp": {
- "eventDTTM": "2020-04-21T12:00:00",
- "eventTz": "US/Eastern",
- "latitude": 34.34232,
- "longitude": -40.22342
}, - "routeNbr": "RTE00233"
}
{- "Reasons": [
- {
- "description": "Driver is required.",
- "reasonCode": 1505
}
]
}