get_legal_entity_m
Use this API to retrieve a list of existing legal entities for a given client
Input Arguments
Req | Field Name | Field Type | Max Length | Description |
---|---|---|---|---|
![]() |
client_no | long | 22 | Aria-assigned unique identifier indicating the Aria client providing service to this account. |
![]() |
auth_key | string | 32 | Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. |
legal_entity_array | array | Array to specify information pertaining to which legal entity / entities will be returned. REST input arrays should passed in the following format:legal_entity_array[0][legal_entity_no]=123&legal_entity_array[1][legal_entity_no]=234 | ||
![]() |
long | 32 | Aria-assigned legal entity identification number. This field dictates which legal entity data will be displayed below. | |
OR | ||||
![]() |
string | 300 | Client-assigned unique identifier for the legal entity. | |
OR | ||||
![]() |
string | 300 | Client-assigned descriptor of the legal entity. |
Output Arguments
Field Name | Field Type | Description |
---|---|---|
error_code | long | Aria-assigned unique identifier indicating the Aria client providing service to this account. 0 means no error. |
error_msg | string | Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. |
legal_entity | hash | |
![]() |
long | Aria-assigned legal entity identification number. |
![]() |
string | Client-assigned descriptor of the legal entity. |
![]() |
string | Client-assigned unique identifier for the legal entity. |
![]() |
string | Client-defined legal entity registration number. |
![]() |
string | Client-defined value-added tax registration number. |
![]() |
string | Address line one for the legal entity contact. |
![]() |
string | Address line two for the legal entity contact. |
![]() |
string | Address line three for the legal entity contact. |
![]() |
string | City for the legal entity contact. |
![]() |
string | State or Province code for the legal entity contact. |
![]() |
string | Locality for the legal entity contact address. |
![]() |
string | Postal code for the legal entity contact. |
![]() |
string | Country code for the legal entity contact. |
![]() |
string | The currency for the legal entity. This value impacts reporting at the legal entity level as all account currencies are converted into this functional currency for Legal Entity reporting purposes. |