Get Login
For the given session id, the API provides data like username, data usage acceptance status and whether an HTTP proxy has been setup.
Request
URI
GET
/login
COPY
Path Parameters
string
sessionid
Required
The authentication token obtained from login API response
Responses
200
OK
Returns GetLoginResponse of type(s) application/json
{
"data_usage_acceptance": true,
"http_proxy": true,
"user": "user"
}
boolean
data_usage_acceptance
Optional
data_usage_acceptance
boolean
http_proxy
Optional
http_proxy
string
user
Optional
user
401
Returns 401Unauthorized_sessionID of type(s) application/json
{
"errCode": "GW_LOGIN_REQUIRED",
"errMessage": "Your session not found or already expired. Please login"
}
string
errCode
Optional
errCode
string
errMessage
Optional
errMessage