WSDL Page: http://<your_domain_here>/affiliates/api/2/account.asmx?op=GetUSStates
Parameter Summary:
api_key / STRING = Affiliate API Key {See auth.asmx > Login}
affiliate_id / INT = Affiliate ID {See auth.asmx > Login}
Parameter Types:
api_key - ID
affiliate_id - ID
Sample GET Call:
Sample XML Response:
<us_state_response>
<success>true</success>
<row_count>23</row_count>
<states>
<state>
<state_id>AK</state_id>
<state_name>Alaska</state_name>
</state>
<state>
<state_id>AL</state_id>
<state_name>Alabama</state_name>
</state>
<state>
<state_id>AR</state_id>
<state_name>Arkansas</state_name>
</state>
<state>
<state_id>AZ</state_id>
<state_name>Arizona</state_name>
</state>
<state>
<state_id>CA</state_id>
<state_name>California</state_name>
</state>
<state>
<state_id>CO</state_id>
<state_name>Colorado</state_name>
</state>
<state>
<state_id>CT</state_id>
<state_name>Connecticut</state_name>
</state>
<state>
<state_id>DC</state_id>
<state_name>District of Columbia</state_name>
</state>
<state>
<state_id>DE</state_id>
<state_name>Delaware</state_name>
</state>
<state>
<state_id>FL</state_id>
<state_name>Florida</state_name>
</state>
<state>
<state_id>GA</state_id>
<state_name>Georgia</state_name>
</state>
<state>
<state_id>HI</state_id>
<state_name>Hawaii</state_name>
</state>
<state>
<state_id>IA</state_id>
<state_name>Iowa</state_name>
</state>
<state>
<state_id>ID</state_id>
<state_name>Idaho</state_name>
</state>
<state>
<state_id>IL</state_id>
<state_name>Illinois</state_name>
</state>
<state>
<state_id>IN</state_id>
<state_name>Indiana</state_name>
</state>
<state>
<state_id>KS</state_id>
<state_name>Kansas</state_name>
</state>
<state>
<state_id>KY</state_id>
<state_name>Kentucky</state_name>
</state>
<state>
<state_id>LA</state_id>
<state_name>Louisiana</state_name>
</state>
<state>
<state_id>MA</state_id>
<state_name>Massachusetts</state_name>
</state>
<state>
<state_id>MD</state_id>
<state_name>Wisconsin</state_name>
</state>
<state>
<state_id>WV</state_id>
<state_name>West Virginia</state_name>
</state>
<state>
<state_id>WY</state_id>
<state_name>Wyoming</state_name>
</state>
</states>
</us_state_response>