API | admin/api |
URI | http://portal_url/admin/api where portal_url is the URL of the portal. |
HTTP Method | POST |
Request Content-Type | application/xml |
Request body | <obj> <att id="type"> <val>user-defined</val> </att> <att id="name"> <val>getSessionToken</val> </att> <att id="param"> <obj class="SessionTokenParams"> <att id="portal"> <val>portalName</val> </att> <att id="username"> <val>user</val> </att> </obj> </att> </obj> |
Expected Response status | A base64 encoded token, similar to the following: anVsZXMvdGVhbTYwLDE1MjA4NzI3NzY3MjMsMjI5MCxlYzBkZTEzOTY0ZDhjMDdiZjFlMjc5MDIyNzUwZmZlNzI5ZGQ2MjYz This token is returned as part of the response header in the X-CTERA-TOKEN key. You use this in every request header to perform actions as the user. |
API | ServicesPortal/sso |
URI | https://portal_url/ServicesPortal/sso where portal_url is the URL of a team portal to login to. |
HTTP Method | POST |
Request Content-Type | HTML |
Request Header | X-CTERA-TOKEN key with the base64 encoded token as the value. |
Request Body | <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Login</title> </head> <body> <form action="/ServicesPortal/sso" method="post"> <p> ctera ticket: <b/> <input type="text" name="ctera_ticket" /> </p> <p> target Uri: <b/> <input type="text" name="targeturi"/> </p> <input type="submit" name="submit" value="Login" /> </form> </body> |
Expected Response status | 200 OK |