Differences
This shows you the differences between two versions of the page.
|
|
en:sidebar:remoteapi:apiref:core:logout [25/01/2013 09:05] zuve |
en:sidebar:remoteapi:apiref:core:logout [29/11/2013 13:31] |
{{indexmenu_n>2}} | |
====== Logout ====== | |
For correct exiting from Wialon you should use command **core/logout**: | |
| |
<code javascript> | |
svc=core/logout¶ms={} | |
</code> | |
| |
:!: The example with this request you can find in chapter [[../../codesamples/login]]. | |
| |
===== Response ===== | |
| |
| |
<code=javascript> | |
{ | |
"error":<int> /* error code */ | |
} | |
</code> | |
| |
===== Errors ===== | |
| |
^ Code ^ Value ^ | |
| 0 | exit success | | |
| 1 | server connecting error | | |
| 4 | user hasn't been authorized | | |