get_country_from_ip_m
Summary
| API Name | get_country_from_ip_m |
|---|---|
| Class | system_services_m |
| Update Version | 3.5 |
Description
Returns the county of origin for a specified IP address.
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 | No |
Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call. |
| ip_address | string | 16 | Yes |
IP address of the account holder, derived from their current session. |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| country_code | string | No |
Phone number dialing prefix indicating the country to dial. |
|
| country_name | string | No |
Country name returned from a search using the provided IP address. |
|
| 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. |