Path parameters
-
The SID of the Sim resource with the Data Sessions to read.
GET
/v1/Sims/{SimSid}/DataSessions
curl \
--request GET 'https://wireless.twilio.com/v1/Sims/{SimSid}/DataSessions' \
--user "username:password"
Response examples (200)
{
"meta": {
"key": "data_sessions",
"url": "https://wireless.twilio.com/v1/Sims/DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DataSessions?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://wireless.twilio.com/v1/Sims/DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/DataSessions?PageSize=50&Page=0",
"previous_page_url": null
},
"data_sessions": [
{
"end": null,
"sid": "WNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"imei": null,
"start": "2015-07-30T20:00:00Z",
"cell_id": "",
"sim_sid": "DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"radio_link": "LTE",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"last_updated": "2015-07-30T20:00:00Z",
"operator_mcc": "",
"operator_mnc": "",
"operator_name": "",
"operator_country": "",
"packets_uploaded": 0,
"packets_downloaded": 0,
"cell_location_estimate": {}
},
{
"end": "2015-07-30T20:00:00Z",
"sid": "WNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"imei": "014931000129700",
"start": "2015-07-30T20:00:00Z",
"cell_id": "",
"sim_sid": "DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"radio_link": "3G",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"last_updated": "2015-07-30T20:00:00Z",
"operator_mcc": "",
"operator_mnc": "",
"operator_name": "",
"operator_country": "",
"packets_uploaded": 0,
"packets_downloaded": 0,
"cell_location_estimate": {}
}
]
}