Search the Aria Knowledgebase for
User Documentation, APIs, SDKs, and more!

 

Home > Aria Crescendo core api > get_country_from_ip_m

get_country_from_ip_m

Returns the county of origin for a specified IP address.

For information on error messages generated by this API, see get_get_country_from_ip_m error messages.

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.
ip_address string 16 IP address of the account holder, derived from their current session.

Output Arguments

Field Name Field Type Description
country_code string Phone number dialing prefix indicating the country to dial.
country_name string Country name returned from a search using the provided IP address.
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.

You must to post a comment.
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.