Now with SMS ! New
or create new account
ANVEO.STATES.LIST - API REQUEST

ANVEO.STATES.LIST - Get a list of states for a country.
Description

ANVEO.STATES.LIST API Action is used to obtain a list of states for a country. This action is only requred for countries with HAS_STATES attribute set.
Arguments

DID_TYPE
Required. A type of DID to be ordered.

COUNTRY_ID
Required. Country ID from ANVEO.COUNTRIES.LIST action for which a list of states is needed.
Example:
<PARAMETER NAME="DID_TYPE">GEOGRAPHIC</PARAMETER>
<PARAMETER NAME="COUNTRY_ID">123.123.123.123.123.123.123.123.123.</PARAMETER>
Response

STATES XML node contains a list of states.
API Request Example
<?xml version="1.0" standalone="no" ?>
<REQUEST>
	<USERTOKEN>
		<USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
	</USERTOKEN>
	<ACTION NAME="ANVEO.STATES.LIST">
		<PARAMETER NAME="DID_TYPE">GEOGRAPHIC</PARAMETER>
		<PARAMETER NAME="COUNTRY_ID">123.123.123.123.123.123.123.123.123</PARAMETER>
	</ACTION>
</REQUEST>
		
Response Example
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
	<RESULT>SUCCESS</RESULT>
	<STATES>
		<STATE STATE_ID="34.34.343" STATE_NAME="New York" STATE_CODE="NY">
	</STATES>
</RESPONSE>

:.:
News Blog About Anveo Terms of Use FAQ Contact Us © 2017 Anveo Inc.