Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisLogout

int ctMemphisLogout( pRCESJson disconnRequest, ppRCESJson retError )

Description:

In this call, after validating the token, we check if it is the last logout() call for the login connection pool, implemented by a counting that will be incremented by each ctMemphisLogin() call and decremented by each ctMemphisLogout(). If it is the last one, the connection pool will be disconnected and finalized. But this connection pool can also be disconnected and finalized by inactive timeout.

HTTP URL: <baseURL>/ctMemphisLogout/

HTTP Verb: POST

Parameters:

  • retError [OUT] - Error in JSON format. For example:

{

"success": false,

"error":

{

"errorCode": 111,

"message": "Error message"

}

}

Return:

Error code

TOCIndex