ListAggregatedTrafficReports
GEThttps://api.iot.telenor.com/iot-connect/reports/v1/traffic/aggregated/:domainId
List available aggregated traffic reports.
Request
Path Parameters
Possible values: Value must match regular expression ^([A-Za-z0-9]{8}-){0,6}[A-Za-z0-9]{8}$
Domain the resource belongs to. Used to determine which users have access to the resource.
Query Parameters
Start date, written in YYYY-MM-DD or YYYY-MM format.
End date, written in YYYY-MM-DD or YYYY-MM format.
Responses
- 200
- 400
- 401
- 500
List of aggregated traffic reports.
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
The period the report covers.
2019-01
Path where the report can be downloaded.
/reports/traffic/aggregated/2019-01
The file format of the report.
gzip
Size of the report in bytes.
1024
[
{
"period": "2019-01",
"resource": "/reports/traffic/aggregated/2019-01",
"fileFormat": "gzip",
"size": 1024
}
]
Bad request. The server cannot process the request.
- application/json
- Schema
- Example (auto)
Schema
Human readable description of the error
Invalid parameter.
String constant describing the error.
INVALID_REQUEST
ISO 8601 timestamp specifying when error occurred.
{
"description": "Invalid parameter.",
"errorCode": "INVALID_REQUEST",
"timestamp": "2024-07-29T15:51:28.071Z"
}
Invalid or missing ID Token (JWT).
Internal server error.
- application/json
- Schema
- Example (auto)
Schema
Human readable description of the error
Internal server error.
String constant describing the error.
UNKNOWN_ERROR
ISO 8601 timestamp specifying when error occurred.
{
"description": "Internal server error.",
"errorCode": "UNKNOWN_ERROR",
"timestamp": "2024-07-29T15:51:28.071Z"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.iot.telenor.com/iot-connect/reports/v1/traffic/aggregated/:domainId");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());