PTM Waybill
Address: http://tasks.<address>/backend/public/get_waybill_for_pilot
Method: GET
Parameters:
Parameter
|
Description
|
from_ts
|
sampling start time (example: 1536181200)
|
to_ts
|
fetch completion time (example: 1538773200)
|
agents
|
list of agents separated by commas (example: 13128,13130,21055,30701,30702,36830,36921,47984,48096,48162,48750,51590,52145,52493)
|
Response:
Parameter
|
Description
|
success
|
evaluates to true if a result is received, otherwise false
|
msg
|
error description
|
items
|
(array) received data
|
Items:
Parameter
|
Description
|
agent_id
|
agent ID
|
c_begin_time
|
scheduled start time for the task
|
c_end_time
|
actual task completion time
|
c_information
|
(string) job information in json format, set
keys depends on template settings
|
c_initiator
|
applicant
|
c_progress_time
|
actual time of visiting the first point according to the task
|
c_running_time
|
actual departure time for the task
|
c_status_id
|
job status identifier
|
c_status_name
|
job status decoding
|
id
|
task identifier in the PTM system
|
points_info
|
information about visiting waypoints
|