Add the waybill

 
Example:
https://db.<address>/api/api.php?cmd=add_waybill
 
Parameters:
cmd : add_waybill
ts: start time
te: stop time
agent_id: agent id
name: name of waybill
 
Request:
https://db.<address>/api/api.php?cmd=add_waybill&ts=1596022528&te=1596488400&agent_id=44841&name=test+bill1
 
Answer:
{"code":0,"data":{"ts":1596022528,"te":1596488400,"agent_id":44841,"account_id":3934,"waybill":{"name":"test bill1"}}}