albis.getLegalForms - ALBIS-GROUP/LeaseKitSDK-JS GitHub Wiki
albis.getLegalForms(albisToken) ⇒ ResponseGetLegalForms
getLegalForms(albisToken) get a map of all legal forms (needed for lessee data)
Kind: instance method of Albis
Returns: ResponseGetLegalForms - response object
| Param | Type | Description |
|---|---|---|
| albisToken | Object |
object with Albis token, which lets to communicate with Albis API |
Example
Albis.getLegalForms({ 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 of objects like: { id: 1, text: 'GmbH' } |