User Tools

Site Tools


pracro:praxisd

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pracro:praxisd [2011/10/11 14:33] devapracro:praxisd [2011/12/08 10:16] deva
Line 451: Line 451:
 </praxisd> </praxisd>
 </code> </code>
 +
  
 ====Update Aftale==== ====Update Aftale====
Line 473: Line 474:
 </praxisd> </praxisd>
 </code> </code>
 +NOTE: All fields are truncated to their respective database column sizes without notice.
 +
 +On success the server replies with the http statuscode 200: OK
 +
 +Some of the fail states are:
 +  * The updated aftale is identical to the one already in the database. This does **not** result in an error, but will leave the database untouched.
 +  * The current aftale in the database is no identical to the aftale marked "original" in the xml. This will result in a http errror 400: Bad Request with the body "Source changed".
 +  * The original does not exist in the database (is was deleted or never added). The server responds with a http err 400: Bad request and body: "IsamError 10200".
  
 ====Add Aftale==== ====Add Aftale====
Line 496: Line 505:
 </praxisd> </praxisd>
 </code> </code>
 +
  
 ====Add File to DokMenu==== ====Add File to DokMenu====
Line 505: Line 515:
     <group>Group text bla</group>     <group>Group text bla</group>
     <subject>Subject text bla</subject>     <subject>Subject text bla</subject>
-    <file [name="88888888.333" | extension="333"] [date="YYYY-MM-DD HH:MM:SS] [base64="true|false"]>file content</file>+    <file [name="88888888.333" | extension="333"] [date="YYYY-MM-DD HH:MM:SS"] [base64="true|false"]>file content</file>
   </dokmenu>   </dokmenu>
 </praxisd> </praxisd>
pracro/praxisd.txt · Last modified: 2011/12/08 10:18 by deva