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 revisionBoth sides next revision
pracro:praxisd [2011/10/20 15:26] – Fix fra Bertho 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====
pracro/praxisd.txt · Last modified: 2011/12/08 10:18 by deva