Get Subscriber Details by ID
The Get Subscriber Details by ID API responds with a subscriber's details matching the subscriber ID. You need to pass KSID in URL to receive the subscriber's details.
URL
The HTTP URL for Get Subscriber Details by ID API is:
http://<host>:<port>/api/v1/subscribers/<subscriberId>
This service implements Gateway Filter for Authentication to authenticate access of the service by a user.
Method
GET
Ouput Parameters
The following fields are output parameters:
Sample Response
{ "ksid" : 4927562634448402412, "appId" : "20096-6548262167", "ufid" : "aron.hale@kony.com", "deviceId" : "800ABC1", "deviceName" : "Second Device", "sid" : "9002390C", "osType" : "windows", "phoneNo" : "", "createdDateStr" : "06/22/2016 12:42:20 PM IST", "userAgent" : "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36", "ipAddress" : "10.10.30.89", "subscriptionStatus" : true, "cloudStatus" : true }
Response Status
Code | Description |
---|---|
Status 200 | Subscriber details |
Status 400 | Invalid KSID |
Status 401 | Unauthorized request |
Status 500 | Server failure to process request |