API
|
admin/api/login
|
URI
|
{BASE_URL}/login
|
HTTP Method
|
POST
|
Request Content-Type
|
application/x-www-form-urlencoded
|
Request Body
|
j_username=username&j_password=password
|
Response Body
|
<val>Login succeed</val>
|
Expected Response Status
|
200 OK and an HTTP session cookie which is then used for the duration of the session.
The session times out after 30 minutes of inactivity.
If a response such as 403 Forbidden is returned, check the user name and password provided.
|
API
|
admin/api/logout
|
URI
|
{BASE_URL}/logout
|
HTTP Method
|
POST
|
Request Body
|
empty
|
Expected Response status
|
200 OK
|
API
|
admin/api/currentPortal
|
URI
|
{BASE_URL}/currentPortal
|
HTTP Method
|
PUT
|
Request Content-Type
|
application/xml
|
Request Body
|
A team or reseller portal: <val>portalName</val>
Global administration portal: <val></val>
|
Expected Response status
|
200 OK
|