Send Manual Plan
The "Send Manual Plan" method empowers customers to create and dispatch their logistics plans for monitoring within our system. Through this method, customers can accurately design routes, assign vehicles and drivers, and schedule stops and tasks.
Send Manual Plan Object
This object presents a full representation of manual planning data within a logistics system. It details planned tours, information about assigned vehicles, drivers, routes, trailers, and stops. For each stop, the structure includes specifics about the location, associated orders, expected and actual distances, as well as tasks and events.
Attributes Description
Manual Plan
The "manualPlan" object shows the full plan for handling tours, including intricate details related to vehicles, drivers, stops, and associated events.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| Object | Required | The main object representing a manual plan. |
| List of tours | Required | A list of tours within the manual plan. |
| Integer | Required | The unit of distance used in the plan. |
| Integer | Required | The currency used in the plan. |
Tour
This object represents a logistical route plan, about a sequence of tours each associated with specific details. A tour, identified by a unique ID, contains crucial information such as the assigned vehicle and driver, the creation and modification dates, the route's creation date, and its last modification date.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the tour. |
| Object | Required | Details about the vehicle associated with the tour. |
| Object | Required | Details about the driver associated with the tour. |
| Integer | - | The route mode for the tour. |
| List of trailers | - | A list of trailers associated with the tour. |
| String (Date) | - | The date and time when the tour was created. |
| String (Date) | - | The date and time when the tour was last modified. |
Vehicle
This object shows that each vehicle is uniquely identified by an ID and is associated with essential attributes such as its plate number, a distinct code, and its vehicle type, specifying characteristics like name, weight, and volume.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the vehicle. |
| String | Required | The plate number of the vehicle. |
| String | Required | The code associated with the vehicle. |
| Object | Required | Details about the type of vehicle. |
| Object | Required | Details about the home location of the vehicle. |
| Object | Required | Details about the depot location of the vehicle. |
Vehicle Type
It defines the characteristics and specifications of a particular type of vehicle within the system.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | - | The name of the vehicle type. |
| Number | - | The weight capacity of the vehicle type. |
| Number | - | The volume capacity of the vehicle type. |
Home
It represents a chosen location that serves as the base or starting point for a vehicle in the logistics system.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the home location. |
| String | Required | The name of the home location. |
| Object | Required | Details about the address of the home location. |
| Integer | Required | This property should take one of 6 values: Depot, Warehouse, Customer Location, Store, Home, Any |
| List of time windows | Required | A list of time windows for the home location. |
| Object | Required | Details about the geographical location of the home. |
Address
Represents the details pertaining to a geographical location within the logistics system.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The street of the address. |
| String | Required | The street number of the address. |
| String | - | The ZIP code of the address. |
| String | - | The city of the address. |
| String | - | The country of the address. |
| String | - | The zone of the address. |
Time Window
It plays a crucial role in scheduling and time management within the logistics system.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String (Date) | Required | The date of the time window. |
| List of time slots | Required | A list of time slots within the time window. |
Location
It represents the geographical coordinates of a node within the logistics system.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| Number | Required | The longitude of the location. |
| Number | Required | The latitude of the location. |
Node Details
Each entry in this object consists of a key
and a corresponding value
, allowing for the inclusion of custom information relevant to a particular node.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The key of the node detail. |
| String | Required | The value of the node detail. |
Depot
Shows the details about a logistics depot, serving as a pivotal node within the supply chain.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the depot location. |
| String | Required | The name of the depot location. |
| Object | Required | Details about the address of the depot location. |
| Integer | Required | This property should take one of 6 values: Depot, Warehouse, Customer Location, Store, Home, Any |
| List of time windows | Required | A list of time windows for the depot location. |
| Object | Required | Details about the geographical location of the depot. |
Vehicle Details
This Object offers specific insights into the attributes of a vehicle.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | - | The key of the vehicle detail. |
| String | - | The value of the vehicle detail. |
Driver
This object in the manual plan structure summarizes essential information about the personnel responsible for operating the assigned vehicle.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the driver. |
| String | Required | The code associated with the driver. |
| String | Required | The name of the driver. |
| String | Required | The phone number of the driver. |
| Object | Required | Details about the remaining driving hours for the driver. |
Remaining Driving Hours
It offers the detailed overview of the driver's remaining driving hours.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | - | Timestamp of the latest event related to the driver's hours. |
| String | - | ID associated with the driver's card. |
| Boolean | - | Indicates whether the driver is a co-driver. |
| String | - | ID associated with the co-driver's card, if applicable. |
| Boolean | - | Status of the driver's card. |
| Integer | - | Current activity status of the driver. |
| Integer | - | Duration of the driver's activity. |
| String | - | Timestamp indicating the start of the driver's day. |
| Integer | - | Duration of the driver's break during driving. |
| Integer | - | Duration of continuous driving by the driver. |
| Integer | - | Alarm related to continuous driving by the driver. |
| Integer | - | Duration of driving within a day by the driver. |
| Integer | - | Alarm related to driving within a day by the driver. |
| Integer | - | Disposable duration of driving within a day by the driver. |
| Integer | - | Alarm related to disposable duration of driving within a day by the driver. |
| Integer | - | Duration of rest within a day by the driver. |
| Integer | - | Duration of driving within a week by the driver. |
| Integer | - | Alarm related to driving within a week by the driver. |
| Integer | - | Disposable duration of driving within a week by the driver. |
| Integer | - | Alarm related to disposable duration of driving within a week by the driver. |
| Integer | - | Disposable duration of driving within two weeks by the driver. |
| Integer | - | Duration of labor within a week by the driver. |
| Integer | - | Alarm related to labor within a week by the driver. |
| Integer | - | Extended duration of driving by the driver. |
| Integer | - | Alarm related to extended duration of driving by the driver. |
| Integer | - | Duration of reduced rest within a day by the driver. |
| Integer | - | Alarm related to reduced rest within a day by the driver. |
| Integer | - | Maximum allowed duration of driving within a day by the driver. |
| Integer | - | Maximum allowed duration of driving within a week by the driver. |
| Integer | - | Maximum allowed duration of driving within two weeks by the driver. |
| Integer | - | Remaining time for the driving pause. |
Trailer
Shows details about a trailer associated with a specific tour.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the trailer. |
| String | Required | The plate number of the trailer. |
| List trailer details | - | A list of details about the trailer. |
| Object | - | Details about the type of trailer. |
Trailer Details
Gives more details about a trailer associated with a specific tour.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | - | The key of the trailer detail. |
| String | - | The value of the trailer detail. |
Stops
It represents the various stopping points or locations included in a tour.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| Object | Required | Details about the node associated with the stop. |
| List of orders | Required | A list of orders associated with the stop. |
| Number | Required | The expected distance for the stop. |
| Number | Required | The actual distance for the stop. |
| List of tasks | Required | A list of tasks associated with the stop. |
| List of events | Required | A list of events associated with the stop. |
| Integer | Required | The status of the stop. |
Node
Shows information about locations within the logistics system, serving as waypoints or stops in a tour.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the node. |
| String | Required | The name of the node. |
| Object | Required | Details about the address of the node. |
| Integer | Required | This property should take one of 6 values: Depot, Warehouse, Customer Location, Store, Home, Any |
| List of time windows | Required | A list of time windows for the node. |
| Object | Required | Details about the geographical location of the node. |
Customer
Each customer is uniquely identified by an id
and characterized by a name
. The customer
object provides essential details about the recipient.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the customer. |
| String | Required | The name of the customer. |
Orders
Orders object summarizes information about individual delivery orders within the manual plan. Each order is uniquely identified by an order ID and includes details such as customer information, creation and last modification dates.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Yes | Unique identifier for the order. |
| String | No | Description or details related to the order. |
| Object | Yes | Details about the customer placing the order. |
| String (datetime) | Yes | Date and time when the order was created. |
| String (datetime) | Yes | Date and time when the order was last modified. |
| Integer | Yes | Status of the order (e.g., processing, completed). |
| Object | Yes | Details about the planning group associated with the order. |
| List of objects | No | Additional details related to the order, provided as key-value pairs. |
| List of tasks | No | List of tasks associated with the order. |
| Number | No | Total weight of the order. |
| Number | No | Total volume of the order. |
Order Tasks
This object represents the several tasks associated with fulfilling a specific order within the logistics system. Each task is uniquely identified by an id
and is described by a meaningful name
.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the order task. |
| String | Required | The name of the order task. |
| String (Date) | Required | The requested due date of the order task. |
| Object | Required | The requested time slot for the order task. |
| Integer | Required | enum takes values: Loading, UnLoading |
| Integer | Required | The priority level of the order task. |
| String | Required | The reference associated with the order task. |
| Boolean | Required | Indicates if the order task has been dispatched. |
| Object | Required | Details about the trailer associated with the order task. |
| String (Date) | Required | The expected start time of the order task. |
| String (Date) | Required | The expected end time of the order task. |
| String (Date) | Required | The actual start time of the order task. |
| String (Date) | Required | The actual end time of the order task. |
| Object | Required | Details about the driver associated with the order task. |
Tour Tasks
This object represents the tasks associated with a logistics tour, offering a detailed view of the activities involved in executing the tour.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the tour task. |
| String | Required | The name of the tour task. |
| Object | Required | Details about the node associated with the tour task. |
| Integer | Required | enum takes values: Start, End |
| String (Date) | Required | The expected start time of the tour task. |
| String (Date) | Required | The expected end time of the tour task. |
| String (Date) | Required | The actual start time of the tour task. |
| String (Date) | Required | The actual end time of the tour task. |
| Object | Required | Details about the driver associated with the tour task. |
Tour Live Events
The object captures live events occurring during a logistics tour, providing real-time insights into the tour's progress and status.
Object Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the tour live event. |
| String | Required | The name of the tour live event. |
| String (Date) | Required | The actual start time of the tour live event. |
| String (Date) | Required | The actual end time of the tour live event. |
| Object | Required | Details about the driver associated with the tour live event. |
| Integer | Required | enum takes values: Rest, Traffic Jam, Acciednt, BreakDown, Driving, Tanking, Maintenance, Available, Damage, Empty, Cancelled |
| Object | Required | Details about the geographical location of the tour live event. |
Available Endpoints
Send Manual Plan
POST
https://api.normalive.ai/SendManualPlan
Send Request for manual plan
Headers
Name | Type | Description |
---|---|---|
authentication * | String | Bearer token acquired after authentication |
Request Body
Name | Type | Description |
---|---|---|
Manualplan * | Object | Request manual plan |
Last updated