Get Norma Plan
The "Get Normal Plan" method is designed to provide customers with efficient and optimized plans for their specific needs. It shows the capabilities of our intelligent system.
Get Norma Plan Object
Within a working set, the system manages tours, each representing a accurately planned journey with a dedicated vehicle, driver, and associated tasks. The tour details include essential information such as vehicle specifications, driver details, route mode, creation and modification dates, and a breakdown of stops, orders, and tasks.
Attributes Description
The "workingsetID" attribute is a string representing the unique identifier for the working set. It serves as a key to distinguish and reference different sets of working data within the system.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the working set. |
| List of objects | Required | A List of tour objects. |
| Integer | - | The unit of distance for the tours. |
| Integer | - | The currency used for the tours. |
Tours
The "tours" attribute is a list of objects, each contains details about a specific tour. These details include information about the assigned vehicle, driver, route mode, trailers, creation and modification dates, stops, task assignments, and live events.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the tour. |
| Object | Required | Details about the vehicle assigned to the tour. |
| Object | Required | Details about the driver assigned to the tour. |
| Integer | - | The mode of the route. |
| List of objects | - | A List of trailer objects associated with the tour. |
| String | - | The date and time when the tour was created. |
| String | - | The date and time when the tour was last modified. |
| List of objects | - | A list of stops included in the tour. |
| Integer | - | The status of the tour. |
| List of objects | - | A list of tasks associated with the tour. |
| List of objects | - | A list of live events related to the tour. |
Vehicle
It contains detailed information about the assigned vehicle.
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Unique identifier for the vehicle. |
| string | Required | License plate number of the vehicle. |
| string | Required | Code associated with the vehicle. |
| object | Required | Details about the type of vehicle. |
| number | - | Cost associated with the vehicle. |
| number | - | Maximum allowed trip time for the vehicle. |
| number | - | Maximum allowed trip distance for the vehicle. |
| object | - | Planning group associated with the vehicle. |
| List of vehicle details | - | List of additional details about the vehicle. |
Driver
It contains details about the assigned driver. It includes the driver's ID, code, name, phone number, and comprehensive information on remaining driving hours, with various driving-related metrics and limits.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the driver. |
| String | Required | The code associated with the driver. |
| String | - | The name of the driver. |
| String | - | The phone number of the driver. |
| Object | - | Details about the remaining driving hours of the driver. |
Trailers
The "trailers" attribute is a list of objects, each representing a trailer associated with the tour. Details include the trailer's ID, plate number, trailer details, and trailer type.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the trailer. |
| String | Required | The plate number of the trailer. |
| List of objects | Required | List of additional details about the trailer. |
| Object | Required | Details about the type of trailer. |
Stop
It includes details about the stopping node, such as its ID, name, address, and time windows.
Attribute | Data Type | Required | Description |
---|---|---|---|
| Object | Required | Details about the stop node. |
| List of objects | - | A list of orders associated with the stop. |
| Integer | - | The expected distance of the stop. |
| Integer | - | The actual distance of the stop. |
| List of objects | - | A list of tasks associated with the stop. |
| List of objects | - | A list of events associated with the stop. |
| Integer | - | The status of the stop. |
Tour Tasks
The "Tour Task" object represents a specific task within a tour. Each task is uniquely identified by an "id" and is associated with a designated node.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the tour task. |
| String | - | The name of the tour task. |
| Object | - | Details about the node associated with the tour task. |
| Integer | - | Takes values: Start, End |
| String | - | The expected start time of the tour task. |
| String | - | The expected end time of the tour task. |
| String | _ | The actual start time of the tour task. |
| String | - | The actual end time of the tour task. |
| Object | Required | Details about the driver assigned to the tour task. |
Tour Live Events
Each event is uniquely identified by an "id" and includes details about the event type, actual start and end times, and the associated driver. The "location" attribute provides geographical coordinates for the event.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The ID of the live event. |
| String | Required | The name of the live event. |
| String | - | The actual start time of the live event. |
| String | _ | The actual end time of the live event. |
| Object | - | Details about the driver associated with the live event. |
| Integer | - | enum takes values: Rest, Traffic Jam, Acciednt, Break Down, Driving, Tanking, Maintenance, Available, Damage, Empty, Cancelled |
| Object | Required | The location of the live event (latitude and longitude). |
Node
The "node" object summarizes essential details about a location within the system. It includes information such as the node type, indicating its role or characteristics.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | Unique identifier for the node. |
| String | Required | Name associated with the node. |
| Object | Required | Address details, including street, number, zip, city, country, and zone. |
| Number | Required | This property should take one of 6 values: Depot, Warehouse, Customer Location, Store, Home, Any |
| List of time windows | Required | List of time windows specifying available time slots for the node. |
| Object | Required | Geographic coordinates of the node (longitude and latitude). |
| List of details | - | Additional key-value pairs for custom information related to the node. |
Orders
This section represents crucial information about individual orders within the logistics system. Each order is uniquely identified by an "orderID," and optional details, such as a brief description.
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Unique identifier for the order. |
| string | Required | Description of the order. |
| object | Required | Details about the customer associated with the order. |
| string | - | Date and time when the order was created. |
| string | - | Date and time when the order was last modified. |
| number | - | Status of the order. |
| object | - | Planning group associated with the order. |
| List of order details | - | List of additional details about the order. |
| List of order tasks | - | List of order task objects associated with the order. |
| number | - | Total weight of the order. |
| number | - | Total volume of the order. |
Vehicle Type
The "vehicleType" object represents essential information about a specific type of vehicle within the system. It includes the name, which serves as a categorical identifier for the vehicle type.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The name of the vehicle type. |
| Number | Required | The weight associated with the vehicle type. |
| Number | Required | The volume associated with the vehicle type. |
Customer
This object has all the needed information about a customer involved in the logistics process. It includes a unique identifier and the customer name.
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Unique identifier for the customer. |
| string | - | Name of the customer. |
| List of customer details | - | List of additional details about the customer. |
Order Task
It is associated with an order and represents a specific task to be performed.
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Unique identifier for the order task. |
| string | - | Name of the order task. |
| string | - | Due date for the order task. |
| object | - | Time slot for the order task. |
| number | - | enum takes values: Loading, Un Loading |
| number | - | Priority level for alerts related to the order task. |
| string | - | Reference associated with the order task. |
| boolean | - | Indicates whether the order task has been dispatched. |
| object | - | Details about the trailer associated with the order task. |
| string | - | Expected start time for the order task. |
| string | - | Expected end time for the order task. |
| string | - | Actual start time for the order task. |
| string | - | Actual end time for the order task. |
| object | - | Details about the driver associated with the order task. |
Stop Task
This object contains details such as a unique identifier, task name, associated trailer details, expected and actual start and end times, and driver information.
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Unique identifier for the stop task. |
| string | - | Name of the stop task. |
| object | - | Details about the trailer associated with the stop task. |
| number | - | enum takes values: Arriving, Leaving, Disconnect, Connect, Park, Drive Away, Home |
| string | - | Expected start time for the stop task. |
| string | - | Expected end time for the stop task. |
| string | - | Actual start time for the stop task. |
| string | - | Actual end time for the stop task. |
| object | - | Details about the driver associated with the stop task. |
Stop Event
It illustrates the specific event that occurs during a stop. It holds information about the event's unique identifier, name, actual start and end times, associated driver details, event type, and geographic location.
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Unique identifier for the stop event. |
| string | - | Name of the stop event. |
| string | - | Actual start time for the stop event. |
| string | - | Actual end time for the stop event. |
| object | - | Details about the driver associated with the stop event. |
| number | - | Type of the stop event. |
Planning Group
It shows the essential details about a specific planning group. It includes a unique name identifier and an array of key-value pairs, allowing for additional descriptive details related to the planning group
Attribute | Data Type | Required | Description |
---|---|---|---|
| string | Required | Name of the planning group. |
| List of planning group details | - | List of additional details about the planning group. |
Available Endpoints
GET
https://api.normalive.ai/GetManualPlan
Receive the permission for planning.
Headers
Name | Type | Description |
---|---|---|
Authentication * | String | Bearer token acquired after authentication |
Last updated