/
Close a Session

Since July 6, 2023, Atlassian has no longer been used for Release Notes or knowledge base articles.
* Find Release Notes here (https://support.mycontactcenter.net/app/articles/detail/a_id/23378/) and articles here (https://support.mycontactcenter.net/app/main).
* Authenticated Partners can access content here (https://support.mycontactcenter.net/cc/sso/authenticator/oauth/authorize/imcontrolpanel?redirect=main&source=mycontactcenter)


Close a Session

This method should be called to close an existing session. Once the session is closed the session Id becomes invalid.
The method returns an object of type CloseAPISessionResponse containing information about the transaction, including the session Id if successful.
Signature:
CloseAPISessionResponse CloseAPISession(string sessionId)
Parameters:
sessionIdId the session to be closed
Returns:
CloseAPISessionResponse
{
Int32 ErrorCode
String Description
}
Sample code (C#):
RealTimeDataClient rdc = new RealTimeDataClient();
CloseAPISessionResponse capi = rdc.CloseAPISession(sessionId);
int errorCode = capi.ErrorCode;
string description = capi.Description;

Related content

Open a Session
Open a Session
More like this
CloseSession Method
CloseSession Method
More like this
CloseSession Method0
CloseSession Method0
More like this
Exit Chat Session
Exit Chat Session
More like this
OpenSession Method
OpenSession Method
More like this
Retrieve Current Agent Status
Retrieve Current Agent Status
More like this

Since July 6, 2023, Atlassian has no longer been used for Release Notes or knowledge base articles.
* Find Release Notes here (https://support.mycontactcenter.net/app/articles/detail/a_id/23378/) and articles here (https://support.mycontactcenter.net/app/main).
* Authenticated Partners can access content here (https://support.mycontactcenter.net/cc/sso/authenticator/oauth/authorize/imcontrolpanel?redirect=main&source=mycontactcenter)