Fetch setup traffic
Fetch the traffic of a setup specified by id in a given time period. The traffic of both dates are included.
The id of the setup for which the traffic should be fetched.
The date indicating the start of the period for which the traffic should be fetched. The format should be YYYY-mm-dd, for example 2019-01-01.
The date indicating the end of the period for which the traffic should be fetched. The format should be YYYY-mm-dd, for example 2019-01-31.
On success, you get the status code 200 and the traffic in bytes of the setup in the given time period. See the following example which shows 1 GB of traffic in the first half of November 2019.
<?xml version="1.0" encoding="UTF-8"?> <setup_traffic> <setup_id>100</setup_id> <date_from>2019-11-01</date_from> <date_to>2019-11-15</date_to> <traffic>1073741824</traffic> </setup_traffic>
If a setup with the given id could not be found, the status code 404 is returned.