Perform CRUD actions for runsheet broadcast plannings.
Return the list of plannings
page | integer <int64> >= 1 Default: 1 |
per_page | integer <int64> >= 1 Default: 200 |
order | string Default: "desc" Enum: "asc" "desc" The direction of the sort |
range_start_created_at | string <date-time> Range start (inclusive) of Created At |
range_end_created_at | string <date-time> Range end (inclusive) of Created At |
{- "meta": {
- "page": 1,
- "per_page": 200
}, - "plannings": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "total_runsheets": 1,
- "total_drivers": 1,
- "version_rev": "0-OqQ6QSWl"
}
]
}
Create a planning
name | string |
{- "name": "My Runsheet Broadcast Planning"
}
{- "server_time": "2019-08-24T14:15:22Z",
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
], - "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "total_runsheets": 1,
- "total_drivers": 1,
- "last_executed_at_client_time_utc": "2019-08-24T14:15:22Z",
- "last_executed_at_client_timezone": "Asia/Singapore",
- "last_executed_at_server_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "version_seq": 0,
- "version_rev": "0-OqQ6QSWl"
}
Read an existing planning
planningID required | string ID of the planning to be read |
{- "server_time": "2019-08-24T14:15:22Z",
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
], - "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "total_runsheets": 1,
- "total_drivers": 1,
- "last_executed_at_client_time_utc": "2019-08-24T14:15:22Z",
- "last_executed_at_client_timezone": "Asia/Singapore",
- "last_executed_at_server_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "version_seq": 0,
- "version_rev": "0-OqQ6QSWl"
}
Update planning
planningID required | string ID of the planning to be update |
name | string |
version_rev | string |
{- "name": "My Runsheet Broadcast Planning",
- "version_rev": "9-RnVQTn5z"
}
{- "server_time": "2019-08-24T14:15:22Z",
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
], - "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "total_runsheets": 1,
- "total_drivers": 1,
- "last_executed_at_client_time_utc": "2019-08-24T14:15:22Z",
- "last_executed_at_client_timezone": "Asia/Singapore",
- "last_executed_at_server_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "version_seq": 0,
- "version_rev": "0-OqQ6QSWl"
}
Add a runsheet to an existing planning
planningID required | string ID of the planning to be modified |
required | Array of objects (runsheet) |
{- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
]
}
{- "server_time": "2019-08-24T14:15:22Z",
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
], - "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "total_runsheets": 1,
- "total_drivers": 1,
- "last_executed_at_client_time_utc": "2019-08-24T14:15:22Z",
- "last_executed_at_client_timezone": "Asia/Singapore",
- "last_executed_at_server_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "version_seq": 0,
- "version_rev": "0-OqQ6QSWl"
}
Remove runsheet from Planning
planningID required | string ID of the planning to be modified |
runsheetID required | string ID of the runsheet to be removed |
{- "message": "Successfully deleted the Runsheet from Planning Job"
}
Add drivers to an existing planning
planningID required | string ID of the planning to be modified |
required | Array of objects (driver) |
{- "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
{- "server_time": "2019-08-24T14:15:22Z",
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
], - "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "total_runsheets": 1,
- "total_drivers": 1,
- "last_executed_at_client_time_utc": "2019-08-24T14:15:22Z",
- "last_executed_at_client_timezone": "Asia/Singapore",
- "last_executed_at_server_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "version_seq": 0,
- "version_rev": "0-OqQ6QSWl"
}
Remove driver from Planning
planningID required | string ID of the planning to be modified |
driverID required | string ID of the driver to be removed |
{- "message": "Successfully deleted the Driver from Planning Job"
}
planningID required | string ID of the Runsheet Broadcast Planning Job to be started. |
version_rev required | string |
{- "version_rev": "0-RnVQTn5z"
}
{- "server_time": "2019-08-24T14:15:22Z",
- "id": "000000000000000000000000",
- "name": "My Runsheet Broadcast Planning",
- "runsheets": [
- {
- "id": "000000000000000000000000",
- "name": "My Runsheet",
- "tasks": [
- {
- "id": "000000000000000000000000",
- "total_item_weight": 0,
- "total_weight_unit": "string",
- "total_item_volume": 0,
- "total_volume_unit": "string",
- "total_item_count": 0,
- "client_time_utc": "2019-08-24T14:15:22Z",
- "client_timezone": "Asia/Singapore",
- "from_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "from_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}, - "to_address": {
- "street_address": "201 Henderson Road",
- "city": "Singapore",
- "state": "string",
- "country": "Singapore",
- "zip_code": 159545,
- "building_name": "Apex @ Henderson"
}, - "to_time_window": {
- "start_time_utc": "2019-08-24T14:15:22Z",
- "start_timezone": "Asia/Singapore",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "end_timezone": "Asia/Singapore"
}
}
]
}
], - "drivers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "total_runsheets": 1,
- "total_drivers": 1,
- "last_executed_at_client_time_utc": "2019-08-24T14:15:22Z",
- "last_executed_at_client_timezone": "Asia/Singapore",
- "last_executed_at_server_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "version_seq": 0,
- "version_rev": "0-OqQ6QSWl"
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
planning_job_id required | string <uuid> |
total_pairs_counted required | integer |
total_runsheets_counted required | integer |
total_drivers_counted required | integer |
start_time required | string <date-time> |
end_time required | string <date-time> |
{- "planning_job_id": "ee4c8ab8-4dc8-4ef8-85ba-bc764e3dc779",
- "total_pairs_counted": 100,
- "total_runsheets_counted": 10,
- "total_drivers_counted": 100,
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z"
}
{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "planning_job_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "total_pairs_counted": 2550,
- "total_runsheets_counted": 51,
- "total_drivers_counted": 50,
- "start_time": "2021-01-14 15:42:05.380+07:00",
- "end_time": "2021-01-14 15:42:07.179+07:00",
- "server_time": "2021-01-14 15:42:07.179+07:00"
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
{- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "planning_job_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "total_pairs_counted": 2550,
- "total_runsheets_counted": 51,
- "total_drivers_counted": 50,
- "start_time": "2021-01-14 15:42:05.380+07:00",
- "end_time": "2021-01-14 15:42:07.179+07:00",
- "server_time": "2021-01-14 15:42:07.179+07:00"
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
{- "current_status": "string",
- "server_time": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "planning_job_id": "ee4c8ab8-4dc8-4ef8-85ba-bc764e3dc779",
- "status_updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "status": "completed",
- "set_at_utc": "2019-08-24T14:15:22Z"
}
]
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
{- "current_status": "string",
- "server_time": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "planning_job_id": "ee4c8ab8-4dc8-4ef8-85ba-bc764e3dc779",
- "status_updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "status": "completed",
- "set_at_utc": "2019-08-24T14:15:22Z"
}
]
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
{- "current_status": "string",
- "server_time": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "planning_job_id": "ee4c8ab8-4dc8-4ef8-85ba-bc764e3dc779",
- "status_updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "status": "completed",
- "set_at_utc": "2019-08-24T14:15:22Z"
}
]
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
{- "current_status": "string",
- "server_time": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "planning_job_id": "ee4c8ab8-4dc8-4ef8-85ba-bc764e3dc779",
- "status_updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "status": "completed",
- "set_at_utc": "2019-08-24T14:15:22Z"
}
]
}
planningID required | string ID of the Runsheet Broadcast Planning Job. |
{- "current_status": "string",
- "server_time": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "planning_job_id": "ee4c8ab8-4dc8-4ef8-85ba-bc764e3dc779",
- "status_updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "status": "completed",
- "set_at_utc": "2019-08-24T14:15:22Z"
}
]
}