Get Subscriber Attachment Attempts
Warning: Beta software This API is in beta stage and may be subject to change. Therefore, we do not recommend using this in production.
Interested in this feature? Please reach out to mobility-services-developer@cisco.com
Overview
Retrieve network attachment attempts, both successful and failed, by providing the subscriber phone number. Historical data from up to ten days ago can be included.
Prerequisites
Required Scope
subscription.network_information:read
Code
grpcurl \
-d '{
"phoneNumber": {
"e164": "+441632960907"
},
"filterByInterval": {
"after": "1970-03-05T00:00:00.000Z"
},
"maxAttempts": 1000
}' \
sandbox.api.shamrock.wgtwo.com:443 \
wgtwo.subscription.v0.NetworkInfoService/GetAttachmentAttemptsForSubscriber
Example Results
{
"attachment_attempts": [
{
"iccid": { "value": "89234200562437720523" },
"imsi": { "value": "082904401144897281" },
"timestamp": "2022-12-19T13:48:02.848Z",
"network_identity": { "mcc": "302", "mnc": "490" },
"network_generation": "NETWORK_GENERATION_4G",
"tadig": { "value": "CANGW" },
"status": {
"code": "CODE_OK",
"description": ""
}
},
{
"iccid": { "value": "89234200562437720523" },
"imsi": { "value": "082904401144897281" },
"timestamp": "2022-12-19T13:43:02.851Z",
"network_identity": { "mcc": "732", "mnc": "123" },
"network_generation": "NETWORK_GENERATION_3G",
"tadig": { "value": "CANGW" },
"status": {
"code": "CODE_ROAMING_NOT_ALLOWED",
"description": "roaming blocked, ROAMING service present but roaming on [732/123] (from SGSN_GLOBAL_TITLE/573160023004/) blocked by roaming profile 90"
}
},
{
"iccid": { "value": "89234200562437720523" },
"imsi": { "value": "082904401144897281"
},
"timestamp": "2022-12-19T13:04:02.851Z",
"network_identity": { "mcc": "466", "mnc": "097" },
"network_generation": "NETWORK_GENERATION_4G",
"tadig": { "value": "CANGW" },
"status": {
"code": "CODE_ROAMING_NOT_ALLOWED",
"description": "roaming blocked, ROAMING service present but roaming on [466/097] (from MME_HOSTNAME/mmec22.mmegi2000.mme.epc.mnc097.mcc466.3gppnetwork.org/) blocked by roaming profile 90"
}
},
{
"iccid": { "value": "89234200562437720523" },
"imsi": { "value": "082904401144897281" },
"timestamp": "2022-12-19T09:58:02.851Z",
"network_identity": { "mcc": "302", "mnc": "490" },
"network_generation": "NETWORK_GENERATION_4G",
"tadig": { "value": "CANGW" },
"status": {
"code": "CODE_ROAMING_NOT_ALLOWED",
"description": "roaming blocked, ROAMING service absent"
}
}
]
}