Documentation
Send your request
usage
<QUERY [languageID="language code"]> ...commands... </QUERY>
retourne
<RESPONSE>
xSushee general syntax
A xSushee request is a XML which root node is a QUERY node.
The request is composed of commands (SEARCH, GET, CREATE, UPDATE, DELETE, KILL, etc) inside the QUERY node.
The request can be send
- through PHP Sushee_Shell object
- by calling the sushee/private/request.php and giving the XML in the url (NQL parameter)
A command can be named (name attribute) and this name be reported in the Sushee response. The response root node is RESPONSE.
exemples
<?xml version="1.0"?>
<QUERY>
<SEARCH name="navigation">
<MEDIA mediatype="menu"/>
</SEARCH>
<CREATE name="user_creation">
<CONTACT>
<INFO><FIRSTNAME>John</FIRSTNAME></INFO>
</CONTACT>
</CREATE>
</QUERY>
<?xml version="1.0"?>
<RESPONSE>
<RESULTS name="navigation">
<MEDIA ID="345">...</MEDIA>
<MEDIA ID="356">...</MEDIA>
</RESULTS>
<MESSAGE msgType="0" elementID="315" name="user_creation"> Creation successfully processed. </MESSAGE>
</RESPONSE>