Login

This method has to be called before every other administrative task. When successful, returns a string containing a token.

Parameters

Parameter

Description

userName (string)

username (In the form Client/Username/Department) which should be used.

secret (string)

Password of the user or a token.

Used Return Values

Name

Description

LoginResult (String)

String containing the code, message and the token when no error occurred; Separated by a comma.

Example 1: 0,Success,19d4d938-675b-4aaf-bbb8-ef16e881005e

Example 2: 4, Authentication Error