Get Login

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
https://{api_host}/login
COPY
Header 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,
    "alert_email": false,
    "user": "user"
}
boolean
data_usage_acceptance
Optional

data_usage_acceptance

boolean
http_proxy
Optional

http_proxy

boolean
alert_email
Optional

alert_email

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