User Tools

Site Tools


en:public:developer:template_system:tags:api:add_lead

Differences

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

Link to this comparison view

en:public:developer:template_system:tags:api:add_lead [2013/01/20 19:28]
admin [<#Add_Lead>]
en:public:developer:template_system:tags:api:add_lead [2013/03/30 18:08] (current)
svanderclock [CfgPages configuration]
Line 8: Line 8:
  
 <code xml> <code xml>
-  <page name="My_Add_lead_Api_Function"> +<page name="add_lead"> 
-    <cfg> +  <cfg> 
-      <userrights> +    <userrights> 
- <userright name="ALLUSER"/> +      <userright name="ALLUSER"/> 
-      </userrights> +    </userrights> 
-      <frames> +    <frames> 
- <frame name="mainframe" processname="Add_leadpreload=&quot;1&quot;/> +      <frame name="content" processname="add_lead"/&gt; 
-      </frames+    &lt;/frames
-    </cfg+    <maintemplate>maintemplates\maintemplate_empty.html</maintemplate
-  </page>+    <content_type>&lt;#content_type&gt;</content_type
 +  </cfg> 
 +</page>
 </code> </code>
  
-==== RESTFUL API ====+==== Parameters ====
  
-The ArKadia API currently supports a [[http://en.wikipedia.org/wiki/REST|RESTful]] interface, that essentially  +Parameters are taken from tag (default) or from HTTP GET/Post
-means you can send an HTTP GET or POST to call exposed methods, and you'll get back an XML document  +
-in return. +
- +
-When you call this function, you'll get a response in XML that looks like this: +
- +
-<code xml> +
-<rsp stat="ok" version="1.0"> +
-  [Data in XML format - see individual method docs] +
-</rsp> +
-</code> +
- +
-If there's an error, you'll get a response with an error message about the problem. +
- +
-<code xml> +
-<rsp stat="fail"> +
-  <error msg="Error Message" /> +
-<rsp> +
-</code> +
- +
-==== HTTP Get/Post Parameters ====+
  
 ^ Name                                                        ^ Mandatory ^ Default             ^ Description       ^        ^ Name                                                        ^ Mandatory ^ Default             ^ Description       ^       
en/public/developer/template_system/tags/api/add_lead.1358695711.txt.gz · Last modified: 2013/01/20 19:28 by admin