Log out/Close Session
On exiting the mobile application, log out or close the remote session.
The XML request to close a session is:
HTTP Headers
ID : TPCLOSESESSION
SOURCE : EA
TARGET : TNS
CONTENT-TYPE:text/xml;charset=utf-16
XML Message
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<REQVERSION>
<TALLYREQUEST>Execute</TALLYREQUEST>
<TYPE>Action</TYPE>
<ID>TPCLOSESESSION</ID>
<TOKEN></TOKEN>
<SESSIONID>{session id}</SESSIONID>
</HEADER>
</ENVELOPE>
The XML response with the status of the session is:
XML Message
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<STATUS>1</STATUS>
</HEADER>
<BODY>
<DATA>
<STATUS.LIST>
<STATUS>
<CODE></CODE>
<DESC></DESC>
</STATUS>
</STATUS.LIST>
</DATA>
</BODY>
</ENVELOPE>
Note: For all permissible XML requests, refer TallyPrime Integration Capabilities. Developers should check if the users have specific rights relating to functionality.