albis.getSalutations - ALBIS-GROUP/LeaseKitSDK-JS GitHub Wiki
albis.getSalutations(albisToken) ⇒ ResponseGetSalutations
getSalutations(albisToken) get an array of all posible salutations (needed for saveApplication in values.lessee.manager.salutation)
Kind: instance method of Albis
Returns: ResponseGetSalutations - response object
| Param | Type | Description |
|---|---|---|
| albisToken | Object |
object with Albis token, which lets to communicate with Albis API |
Example
Albis.getSalutations({ token: '12345' })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 | Array.<Object> |
array with objects like: { id: 1, text: 'Herr' } |