Differences

This shows you the differences between two versions of the page.

Link to this comparison view

phpdevsdk:general_api_info [2011/12/29 22:10] (current)
Line 1: Line 1:
 +=====General:=====
 +The API usually returns an xml structure containing return data.  This layout may vary from command to command, but this is generally what I have found.
 +  <commands>
 +     <command>
 +       <type>Name of command</type>
 +       <result>usually 1 or 0</result>
 +       <message>Some additional return data</message>
 +     </command>
 +  </commands>
 +  
 +other kinds of XML returns
 +  <records>
 +    <metarecord>
 +    // contains some meta information about result set
 +    </metarecord>
 +    <record>
 +    // data
 +    </record>
 +    <record>
 +    // data
 +    </record>
 +  </records>