update_legal_entity_m
Use this API to update any existing legal entity. The required fields are used to select the legal entity that is intended to be updated, and all additional fields will be updated with the new values sent with this call. Any fields left blank will result in a null value being updated in the system
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_no | long | 32 | Aria-assigned legal entity identification number. This field dictates which legal entity will be update using the additional fields below. | |
OR | ||||
client_legal_entity_id | string | 300 | Client-assigned unique identifier for the legal entity. | |
legal_entity_name | string | 300 | Client-assigned descriptor of the legal entity. | |
legal_entity_registration_no | string | 30 | Client-defined legal entity registration number. | |
legal_entity_vat_registration_no | string | 30 | Client-defined value-added tax registration number. | |
legal_entity_address1 | string | 300 | Address line one for the legal entity contact. | |
legal_entity_address2 | string | 300 | Address line two for the legal entity contact. | |
legal_entity_address3 | string | 300 | Address line three for the legal entity contact. | |
legal_entity_city | string | 300 | City for the legal entity contact. | |
legal_entity_state_prov | string | 10 | State or Province code for the legal entity contact. | |
legal_entity_locality | string | 300 | Locality for the legal entity contact address. | |
legal_entity_postal_code | string | 15 | Postal code for the legal entity contact. | |
legal_entity_country | string | 3 | Country code for the legal entity contact. |
Output Arguments
Field Name | Field Type | Description |
---|---|---|
error_code | long | Aria-assigned error identifier. 0 indicates no error. |
error_msg | string | Description of any error that occurred. "OK" if there was no error. |
legal_entity_no | long | The Aria-assigned identification number for the newly created legal entity. |