FULL XML REQUEST

Here's how a full request should look like (without the // comments of course):

<?xml version="1.0" encoding="UTF-8"?>
<request>
<auth>
	<token> USER UNIQUE TOKEN ID </token>
<strict> true/false </strict>
</auth>
 
<posts>
	<post>
		<customId> int(11) </customId>
		<title> varchar(60) </title>
		<subtitle> varchar(60) </subtitle>
		<category> int(5) </category>
		<description><![CDATA[ text ]]></description>
		<allowComments> true/false </allowComments>
		<allowAnonymousComments> true/false </allowAnonymousComments>
		<duration> 2 weeks | 3 weeks | etc. </duration>
		<showPriceValue> double(10,2) preceded with a currency symbol </showPriceValue>
		<showPriceType> one time | per hour | etc. </showPriceType>		<country> ID | ISO A2 | ISO A3 </country>
		<stateProvince> ID | USA ISO A2 | NAME:varchar(30) </stateProvince>
		<city> ID | NAME:varchar(35) </city>		
		<keywords>
			<keyword> 
				<key></key>
				<value></value>
			</keyword>
</keywords>
 
		<photos>
			<photo> valid url </photo>
<defaultPhoto> varchar(50) </defaultPhoto>
		</photos>
 
		<videos>
			<video> valid url </video>
		</videos>
 
		<embededVideos>
			<video>
				<service></service>
				<link> direct video url </link>
			</video>
		</embededVideos>		
	</post>
</posts>
</request>

Next Step

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