Use this method to obtain the value of the sessionId
. You can use this value to filter sessions by this id in the Event Tracking page of your Knowledge instance.
client.getSessionId()
This method does not have any mandatory parameters.
This method does not have any options.
This method returns the ID of the session that is active at the time of the request:
{
"sessionId": string
}
The following example saves the sessionId
in a variable.
var sessionId = client.getSessionId()