albis.ping - ALBIS-GROUP/LeaseKitSDK-JS GitHub Wiki
albis.ping(albisToken) ⇒ ResponsePing
ping(albisToken) checks the connection with Albis API and shop credentials
Kind: instance method of Albis
Returns: ResponsePing - response object
| Param | Type | Description |
|---|---|---|
| albisToken | Object |
object with Albis token, which lets to communicate with Albis API |
Example
Albis.ping({ token: '1234' })Kind: global typedef
Properties
| Name | Type | Description |
|---|---|---|
| response.id | string |
json rpc lib id |
| response.jsonrpc | string |
json rpc version number ("2.0") |
| response.result | string |
'pong' |