XML GET EXAMPLE

These values are accessible through ClickaPost’s Get Methods. For example, to get a list of all countries in the system, you would call up the following URL (replacing 12345 for the TOKEN variable with your own 64bit TOKEN ID):

This would in turn give you back an XML formatted data set like this:

<?xml version="1.0" encoding="UTF-8"?>
<response>
	<countries>
		<country>
			<id>184</id>
			<name>United States</name>
			<isoA2>US</isoA2>
			<isoA3>USA</isoA3>
		</country>
	</countries>
</response>

As you can see, it’s quite easy to get all the information you need to know in order to set the <country> tag of your Post XML correctly.

Next Step

 
xml_get_example.txt · Last modified: 2008/12/04 00:48 by peconi
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki