User Tools

Site Tools



en:xml_direct:alustamine:vastused_ja_veakoodid

Responses and error codes

The response is XML; the root element <results> contains one <Result> per document.

<results>
  <Result Type="0" Desc="OK" docid="100034" doctype="ORDER" submit="Orders"/>
</results>
Attribute Meaning
Type 0 = success; other = error
Desc Description
docid Number of the created/updated document
doctype / submit Document type / submit type

Put = create or update. A response is always returned; on failure, retry after >=60 s.

Result codes

Type Description
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 (confirmed/linked)
17 Document insert failed
18 uniqueid field not found
19 Removal not allowed
29 Not confirmed
30 Created/Updated (linked document)
31 … not found (precondition)
39 … not confirmed (linked)
99 No processable XML data found
en/xml_direct/alustamine/vastused_ja_veakoodid.txt · Last modified: 2026/06/25 15:24 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki