Operations location
Postal address of the location
External reference for the location
External reference for the location.
Reference to a Operations Location Group this location belongs to
Name of the location.
point object
Longitude and latitude of the location in this order.
Type of the location
Postal code of the location.
project objectrequired
Injected project data this location belongs to.
Timestamp when the object has been created
data object
Optional arbitrary project data, primarily used by consuming applications (such as the web UI).
logistics_settings object
Settings for logistics applications.
If true, allows bookings to be uploaded even after the simulation has started.
falseUI setting to control vehicle management.
UI setting to require all orders to be marked.
UI setting to use the solver for booking assignments.
List of public holidays applicable to the project. Used to manage (and exclude) recurring simulation templates from recurrence for milk-run operations.
Arbitrary object ID.
Project identifier
Approximate latitude of the project to establish correct mapping and routing profiles for the project region
Approximate longitutde of the project to establish correct mapping and routing profiles for the project region
Last time the object was modified.
Project name
Timezone of the project
notifications object
Flag allowing to enable notifications like SMS for the user for this project
Delivery on the way notification. Triggered when a booking's state changes to: PREPARED, QUEUED, CALCULATION, ASSIGNED, or SENT_OFFER.
Timestamp for notifications to be sent out from
Occurs when the system finds an offer after the user presses the 'Book' button.
Occurs when the driver presses the 'Arrive' button for the pickup stop.
Occurs when the driver presses 'Go to the next stop', but the passenger did not board.
Occurs the passenger accepts the offer
settings object
If the geocoding engine returns multiple options for the same address, this setting controls the behavior. If set to true, multiple resolutions will fail the request. If set to false, the resolution with the highest score will be selected.
This configuration is applied during booking upload as part of the automatic geocoding process.
falseConfigures the quality score threshold for geocoding. If the score is above the threshold, the geocoding will be successful; otherwise, it will fail. This configuration is applied during booking upload as part of the automatic geocoding process.
Possible values: >= 0 and <= 1
Enables or disables anonymous access to order tracking information for the project.
falsemapbox_style_url object
Defines map styles to be used by SWAT Driver App
Mapbox URL style for light theme, e.g. mapbox://styles/njachowski/cledzgtfw000v01mlfquerbox
Mapbox URL style for dark theme, e.g. mapbox://styles/njachowski/cledzgtfw000v01mlfquerbox
time_windows object[]
time_window object
Closing time for the time window
Name of the time window.
Opening time for the time window
Project reference this time window belongs to.
Flag is true if this time window is applicable during a public holiday from the associated project data.
Recurrence iCal-compatible expression for this time window.
Flag specifying if this is a strict time window that the optimizer must respect.
Creation timestamp of an object
id object
Identifier of the object
- integer
- uuid
Can be integer
Can be UUID
Last modification timestampo of the object
URI of the object instance
calculation_params object
Calculation parameters that should be used for calculation in case this operations location object is used.
enter_time object
If the location belongs to a compound zone (fixed time is required to enter the zone where the location is based), fixed field will represent second required to enter the zone.
This is converted into compound zone in the Optimization API.
Fixed component of the service time at the location (or the time required to pass the gates to get to the location).
exit_time object
If the location belongs to a compound zone (fixed time is required to exit the zone where the location is based), fixed field will represent second required to exit the zone.
This is converted into compound zone in the Optimization API.
Fixed component of the service time at the location (or the time required to pass the gates to get to the location).
service_time object
Per order service time managemenet for orders being dropped off at this location. It is calculated the total order service time for a given location, considering both a fixed service time and dynamic adjustments based on product kind and booking demand. It uses predefined coefficients to weigh different demand types. The final service time is returned as an integer, rounded up to the nearest whole number.
Fixed per-order service time for this location in seconds.
coefficients object
Coefficients for dynamic service time calculation with the result in seconds. For example:
{
"coefficients": {
"AMBIENT": {
"cbcm": 0.000018
}
},
"service_time": {
"fixed": 10
}
}
where AMBIENT should match the booking.product_kind field.
cumulative_limitations object
Dispatch per hour limitation for this location when used as pickup location.
Service time for one vehicle at this location in seconds.
Maximum number of vehicles that can be serviced at this location at the same time.
Arbitrary data that can be associated with the location.
Creation timestamp of an object
id object
Identifier of the object
- integer
- uuid
Can be integer
Can be UUID
Last modification timestampo of the object
URI of the object instance
{
"address": "string",
"code": "string",
"external_id": "string",
"group": "string",
"h3": "string",
"name": "string",
"point": {
"coordinates": [
0
],
"type": "string"
},
"postal_code": "string",
"project": {
"created_at": "2024-07-29T15:51:28.071Z",
"data": {
"logistics_settings": {
"allow_upload_after_simulation_start_time": false,
"can_manage_vehicles": true,
"require_mark_all_orders": true,
"use_solver_for_booking_assignments": true
},
"public_holidays": {}
},
"external_id": "null",
"id": 0,
"is_invalidated": true,
"lat": 0,
"lon": 0,
"modified_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"timezone": "string",
"notifications": {
"delivery_on_the_way": true,
"operation_start_time": "string",
"found_a_ride": true,
"vehicle_arrival": true,
"failed_to_board": true,
"offer_acceptance": true,
"vehicle_eta_pickup": true,
"vehicle_eta_dropoff": true
},
"settings": {
"logistics_geocoding_reject_multiple_results_per_address": false,
"logistics_geocoding_score_threshold": 0,
"bookingprogress_v2_order_tracking_enabled": false,
"mapbox_style_url": {
"light_theme": "string",
"dark_theme": "string"
}
}
},
"time_windows": [
{
"created_at": "2024-07-29T15:51:28.071Z",
"id": 0,
"modified_at": "2024-07-29T15:51:28.071Z",
"project": "string",
"resource_uri": "string",
"time_window": {
"close_time_ts": "2024-07-29T15:51:28.071Z",
"name": "string",
"open_time_ts": "2024-07-29T15:51:28.071Z",
"project": "string",
"public_holiday": true,
"recurrences": "string",
"strict": true,
"created_at": "2024-07-29T15:51:28.071Z",
"id": 0,
"modified_at": "2024-07-29T15:51:28.071Z",
"resource_uri": "string"
}
}
],
"calculation_params": {
"enter_time": {
"fixed": 0
},
"exit_time": {
"fixed": 0
},
"service_time": {
"fixed": 0
},
"coefficients": {},
"cumulative_limitations": {
"depot_service_time": 0,
"max_cumulative_vehicles": 0
}
},
"data": {},
"created_at": "2024-07-29T15:51:28.071Z",
"id": 0,
"modified_at": "2024-07-29T15:51:28.071Z",
"resource_uri": "string"
}