Vastused ja veakoodid

Vastus on XML; juurelement <results> sisaldab üht <Result> iga dokumendi kohta.

<results>
  <Result Type="0" Desc="OK" docid="100034" doctype="ORDER" submit="Orders"/>
</results>
Atribuut Tähendus
Type 0 = õnnestus; muu = viga
Desc Kirjeldus
docid Loodud/uuendatud dokumendi number
doctype / submit Dokumendi tüüp / postituse tüüp

Put = loomine või uuendamine. Vastus tuleb alati; ebaõnnestumisel korda >=60 s järel.

Tulemuskoodid

Type Kirjeldus
0 Created/Updated/Confirmed
5 Unauthorized
8 Invalid xml given
9 Error on import
11 Duplicate
12 Missing document identificator
13 Missing customer code / regno
14 Update not allowed (kinnitatud/seotud)
17 Document insert failed
18 uniqueid field not found
19 Removal not allowed
29 Not confirmed
30 Created/Updated (seotud dokument)
31 … not found (eeltingimus)
39 … not confirmed (seotud)
99 No processable XML data found