Delete waybill
This API deletes an existing waybill for a specified time period.
How to get data
Method
GET
Request address
To get the data, use the address: https://<server_address>/api/api.php?
Request parameters
-
cmd=remove_waybill — command to remove a waybill
-
ts — start time (Unix timestamp)
-
te — end time (Unix timestamp)
-
agent_id — agent identifier
-
node — node number where the command should be executed
Example request
https://<server_address>/api/api.php?cmd=remove_waybill&ts=1596022528&te=1596488400&agent_id=44841&node=1
|
Response
{
"code": 0,
"data": 1
}
|
In response to the API request, the following is returned:
-
code — result code (0 = success)
-
data — deletion result (1 = successfully deleted)