Exit permissions

<< Click to Display Table of Contents >>

Current:  System Integration > WebAPI 

Exit permissions

Previous pageReturn to chapter overviewNext page

Request address

http://ip:port/bi/api?action=logout&token=xxxx

Request message

Request parameter

No xml request parameters

parametric description

The request parameter only adds token information on the url or post passes in the token information

Sample

function logout() {

  var token = getXml();

  $.post("http://" + ip + ":" + port + "/" + project + "/api?action=logout",

     {token : token},

     function(result) {

     writeXml(result);

  });

};

}

Response message

Response result

 

<results>

  <result>

     <level>1</level>

     <message>Logout success.</message>

  </result>

</results>

Result description

The response result information is xml. direct parse.

1) level return type, different values represent different return states, see Appendix.

2) message is the interface operation result information.