This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:sidebar:remoteapi:apiref:core:logout [25/01/2013 09:05] zuve |
en:sidebar:remoteapi:apiref:core:logout [12/02/2013 09:17] alek |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>2}} | {{indexmenu_n>2}} | ||
====== Logout ====== | ====== Logout ====== | ||
- | For correct exiting from Wialon you should use command **core/logout**: | + | To exit Wialon correctly, use the command **core/logout**: |
<code javascript> | <code javascript> | ||
Line 7: | Line 7: | ||
</code> | </code> | ||
- | :!: The example with this request you can find in chapter [[../../codesamples/login]]. | + | :!: You can find an example of this request in the sample [[../../codesamples/login]]. |
===== Response ===== | ===== Response ===== | ||
- | |||
<code=javascript> | <code=javascript> | ||
Line 21: | Line 20: | ||
^ Code ^ Value ^ | ^ Code ^ Value ^ | ||
- | | 0 | exit success | | + | | 0 | exit successful | |
- | | 1 | server connecting error | | + | | 1 | server connection error | |
- | | 4 | user hasn't been authorized | | + | | 4 | user not authorized | |
|