Login
The following operations are supported. For a formal definition, please review the Service Description.
-
getLogin
Description: Gets login information of connected user.
Parameters Sent
token: Key number given upon login to system (string)
Returning Parameters
DataTable: If Token is valid gets information as datatable, else gets null value
-
tryLogin
Description: If there is equivalence of username and password sent to database via TryLogin
method ,userkey is produced as unique. And webservice saves that userkey on itself. After that to reach
other methods, this userkey will be used.
Parameters Sent
Db: 'TVWEB' fixed
Agency: Code of connecting agency (string)
User: User code of connecting user (string)
Pwd: Password of connecting user (string)
Returning Parameters
LoginResult (Struct) Content:
LoginOk: If Login is successful, true, else false (bool)
Message: Returning warning message
UserKey: If user is enlisted, returning unique userkey value (string)
-
tryLoginForAtlas
Description: If there is equivalence of username and password sent to database via TryLogin
method ,userkey is produced as unique. And webservice saves that userkey on itself. After that to reach
other methods, this userkey will be used.
Parameters Sent
Db: 'TVWEB' fixed
User: User code of connecting user (string)
Pwd: Password of connecting user (string)
Returning Parameters
LoginResult (Struct) Content:
LoginOk: If Login is successful, true, else false (bool)
Message: Returning warning message
UserKey: If user is enlisted, returning unique userkey value (string)
-
tryLoginV2
SanTSG -
tryLoginWithCulture
SanTSG -
tryLogout
Description: To logout the application and deny database access by removing userkey in webservices,
key taken in login process is sent to tryLogout method,this method removes this userkey.
Parameters Sent
token: Key number given upon login to system (string)
Returning Parameters
void: As soon as Parameter returns, if there is token it is removed from webservice. (void)
-
tryToken
Description: Token created while Login controls' (userkey) validity. If Token is valid true, if it is not valid
false returns.
Parameters Sent
Token: Key number given upon login to system (string)
Returning Parameters
Boolean: If Token is valid true, if it is not valid false returns.