OptimoRoute
App · 10 actions
Create and look up orders, pull route plans and monitor dispatch and driver activity.
Actions
| Action | What it does |
|---|---|
| Create order | Create order. |
| Delete order | Delete order. |
| Get dispatch status | Get dispatch status. |
| Get mobile events | Get mobile events. |
| Get order scheduling information | Get order scheduling information. |
| Get planning status | Get planning status. |
| Get routes for a date | Get routes for a date. |
| Merge fields into order | Merge fields into order. |
| Search orders | Search orders. |
| Stop route planning | Stop route planning. |
Create order
Create order.
Inputs
- Order no
order_notextRequired - Order no.
- Date
datedateRequired - Date.
- Type
typetextRequired - Type.One of:
D,P,T. - Address
addresstextRequired - Address.
- Location name
location_nametext - Location name.
- Duration
durationnumber - Duration.
- Notes
notestext - Notes.
- Time windows
time_windowslist - Time windows.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"id": "example",
"success": false
}
}Delete order
Delete order.
Inputs
- Order no
order_notextRequired - Order no.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"success": false
}
}Get dispatch status
Get dispatch status.
Inputs
- Date
datedate - Date.
- Include route changes
include_route_changestrue/false - Include route changes.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"date": "example",
"live": false,
"routes": {
"state": "example"
},
"success": false
}
}Get mobile events
Get mobile events.
Inputs
- After tag
after_tagtext - After tag.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"events": [],
"remainingEvents": 1,
"success": false,
"tag": "example"
}
}Get order scheduling information
Get order scheduling information.
Inputs
- Order no
order_notext - Order no.
- Id
idtext - Id.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"orderScheduled": false,
"scheduleInformation": {
"driverExternalId": "example",
"driverSerial": "example"
},
"success": false
}
}Get planning status
Get planning status.
Inputs
- Planning ID
planning_idnumberRequired - Planning ID.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"success": false
}
}Get routes for a date
Get routes for a date.
Inputs
- Date
datedateRequired - Date.
- Driver external ID
driver_external_idtext - Driver external ID.
- Driver serial
driver_serialtext - Driver serial.
- Vehicle registration
vehicle_registrationtext - Vehicle registration.
- Include route polyline
include_route_polylinetrue/false - Include route polyline.
- Include route start end
include_route_start_endtrue/false - Include route start end.
- Include dispatch status
include_dispatch_statustrue/false - Include dispatch status.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"routes": [],
"success": false
}
}Merge fields into order
Merge fields into order.
Inputs
- Order no
order_notextRequired - Order no.
- Date
datedateRequired - Date.
- Type
typetextRequired - Type.One of:
D,P,T. - Address
addresstextRequired - Address.
- Location name
location_nametext - Location name.
- Duration
durationnumber - Duration.
- Notes
notestext - Notes.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"id": "example",
"success": false
}
}Search orders
Search orders.
Inputs
- Orders
orderslist - Orders.
- Start date
start_datedate - Start date.
- End date
end_datedate - End date.
- Order status
order_statuslist - Order status.One or more of:
unscheduled,scheduled,on_route(On route),servicing,success,failed,rejected,cancelled. - Include order data
include_order_datatrue/false - Include order data.
- Include schedule information
include_schedule_informationtrue/false - Include schedule information.
- After tag
after_tagtext - After tag.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"after_tag": "example",
"orders": [],
"success": false
}
}Stop route planning
Stop route planning.
Inputs
- Planning ID
planning_idnumberRequired - Planning ID.
Outputs
dataobject- The response from OptimoRoute.
Example output
{
"data": {
"success": false
}
}