Returns the WDR Reports that match the given parameters.
Successful response
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.Wireless.list_detail_records_report.list(page={"number":1,"size":20})
{- "data": [
- {
- "created_at": "2018-02-02T22:25:27.521Z",
- "end_time": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "detail_records_report",
- "start_time": "2018-02-02T22:25:27.521Z",
- "status": "pending",
- "updated_at": "2018-02-02T22:25:27.521Z"
}
]
}
Asynchronously create a report containing Wireless Detail Records (WDRs) for the SIM cards that consumed wireless data in the given time period.
Successful response
object (WdrReport) | |||||||||||||||||
|
Unprocessable entity. Check the 'detail' field in response for details.
{- "end_time": "2018-02-02T22:25:27.521Z",
- "start_time": "2018-02-02T22:25:27.521Z"
}
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "end_time": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "detail_records_report",
- "start_time": "2018-02-02T22:25:27.521Z",
- "status": "pending",
- "updated_at": "2018-02-02T22:25:27.521Z"
}
}
Deletes one specific WDR report
Successful response
object (WdrReport) | |||||||||||||||||
|
Resource not found
const telnyx = require('telnyx')('YOUR_API_KEY'); await telnyx.wirelessDetailRecordReports.del('123');
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "end_time": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "detail_records_report",
- "start_time": "2018-02-02T22:25:27.521Z",
- "status": "pending",
- "updated_at": "2018-02-02T22:25:27.521Z"
}
}
Returns one specific WDR report
Successful response
object (WdrReport) | |||||||||||||||||
|
Resource not found
const telnyx = require('telnyx')('YOUR_API_KEY'); const {data: report} = await telnyx.wirelessDetailRecordReports.retrieve('123');
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "end_time": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "detail_records_report",
- "start_time": "2018-02-02T22:25:27.521Z",
- "status": "pending",
- "updated_at": "2018-02-02T22:25:27.521Z"
}
}