Open Connection
This method provides a session token when given valid credentials.
info
The token is valid for 60 minutes. If there is a period of inactivity for 30 consecutive minutes at any point after opening the connection, the token will expire and the connection will close automatically.
This is a GET method.
REST WADL
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest?_wadl&_type=xml
REST URL
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/connect/open/{login}/{pwd}/{key}
Input parameters Required parameters | Description | Output parameters | Description |
---|---|---|---|
login | The login provided for API access | return | The token to use in all other API calls |
password | The password API passwords expire after 365 days. | ||
key | The manager key copied from Actito. (For more information, see Connection |
Error messages
- You must fill in the apiName parameter to check rights of client on this API.
- You must fill in the login parameter to authentifiate on this API.
- You must fill in the password parameter to authentifiate on this API.
- You must fill in the managerKey parameter to authentifiate on this API.
- Error while decoding managerKey.
- Your login is not valid !!
- Your password is not valid !!
- No manager retrieved for those login, password.
- No available connection for manager 0.
- 0 doesn't exist or is not activated on client account.
- 0 is not activated for the client.
- This manager does not have authorized access to this API.
- Error while parsing validDate on managerKey.
- Date not valid on managerKey!
- The managerKey is no longer valid. Your API access is closed!
REST Example
Input
REST QS
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/connect/open?login={login}&password={password}&key={key}
REST PI
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/connect/open/br_test/aptrokez/CdX7CrlE_26blFNJOsgfdawh6LJ3y6pwg5PEOvA
Output
<response responseStatus="success">
<result xsi:type="xs:string">
{token}
</result>
</response>