The Logout API Logs the user out of the Asite Platform. It returns the logout status – whether successful or not on execution of the API function. Extract the session id Extract the session id from the xml of the login API Call <Sessionid> tag from the resultant xml to execute logout API.
Usage Rules
User must have been logged in to Asite Platform using Login API
Function
Use the following cURL command to Logout from API application
curl --cacert "<certificate filepath>\AsiteAPI.cer" --cookie ASessionID="<session ID from the resultant XML of Login API call> <URI tag value for Logging out from the resultant XML of Login API call>
Input Parameters
Parameter Name |
Description |
--cacert |
Asite certificate file path |
ASessionID |
session ID from the resultant XML of Login API call> |
<URI> |
URI tag value for Logging out from the resultant XML of Login API call |
Click here for detailed help on Asite API Services.
Useful Links:
Incomplete Form actions API Service