update_contact_m
Summary
| API Name | update_contact_m |
|---|---|
| Class | account_services_m |
| Update Version | 34 |
Description
Updates contact information for Aria accounts or Billing Groups.
Inputs
| Name | Type | Length | Required | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| client_no | long | 22 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
||||||||||||
| auth_key | string | 32 | Yes |
Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call. |
||||||||||||
| acct_no | long | 22 | Yes |
Aria-assigned account identifier. This value is unique across all Aria-managed accounts. Alternative required field: client_acct_id |
||||||||||||
| contact_ind | long | 1 | Yes |
Contact Indicator that indicates contact input type. Allowed values:
|
||||||||||||
| billing_group_no | long | 22 | No |
Billing Group Number Alternative field: client_billing_group_id |
||||||||||||
| client_billing_group_id | string | 100 | No |
Client-defined Master Billing Group ID. Alternative field: billing_group_no |
||||||||||||
| first_name | string | 300 | No |
Contact First Name |
||||||||||||
| middle_initial | string | 2 | No |
Middle Initial of the Contact. |
||||||||||||
| last_name | string | 300 | No |
Contact Last Name |
||||||||||||
| company_name | string | 100 | No |
Company name of the contact |
||||||||||||
| address1 | string | 300 | No |
First address line of the contact. |
||||||||||||
| address2 | string | 300 | No |
Second address line of the contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field. |
||||||||||||
| address3 | string | 300 | No |
The third line of the address |
||||||||||||
| city | string | 300 | No |
City of the contact |
||||||||||||
| locality | string | 32 | No |
Use this field instead of the state_prov field to designate the state, province or other local designation as appropriate for addresses in all countries other than the United States, Australia, and Canada. This field is ignored for all United States, Australia and Canada addresses. |
||||||||||||
| state_prov | string | 10 | No |
State or Province of the contact. The official postal-service codes for all United States, Australia and Canada states, provinces, and territories. This field does not support states, provinces or territories from other countries. Use the locality field for other countries. |
||||||||||||
| country_cd | string | 25 | No |
Country of the contact. The ISO-compliant 2-character country code abbreviation in upper case. |
||||||||||||
| postal_cd | string | 15 | No |
Postal/Zip code for the contact address. |
||||||||||||
| phone | string | 25 | No |
The phone number of the contact |
||||||||||||
| phone_ext | string | 10 | No |
The extension for the contact phone |
||||||||||||
| cell_phone | string | 20 | No |
The contact cell phone. |
||||||||||||
| work_phone | string | 25 | No |
Work phone number of the contact. |
||||||||||||
| work_phone_ext | string | 10 | No |
The extension for the contact work phone |
||||||||||||
| fax | string | 25 | No |
The FAX phone number for the contact. |
||||||||||||
| string | 320 | No |
Email of the contact |
|||||||||||||
| birthdate | string | 10 | No |
Birthdate of the contact in yyyy-mm-dd format. |
||||||||||||
| client_acct_id | string | 50 | Yes |
Client-defined account identifier. Alternative required field: acct_no |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error. |
|
| error_msg | string | No |
Description of any error that occurred. "OK" if there was no error. |
|
| contact_no | long | No |
Note: This field is deprecated. Aria no longer supports contact_no. |
|
| contact_no_2 | long | No |
The Aria-assigned unique identifier for the contact created on this account. |