User Tools

Site Tools



en:xmlcore

Differences

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

Link to this comparison view

Next revision
Previous revision
en:xmlcore [2021/12/15 12:24] – created toomasen:xmlcore [2025/12/18 12:43] (current) – [General] toomas
Line 3: Line 3:
 If desired, a data exchange interface can be set up on each Directo base, enabling two-way data traffic. It is important to note that the interface is not present and available by default, but is configured on a case-by-case basis according to the needs of the specific task set. The installation of the interface involves fees and the amount of fee depends on the number of data flows in each direction (in and out). Therefor it is necessary to contact a Directo sales representative and agree on the exact needs and coordinate the cost of the project before starting work. If desired, a data exchange interface can be set up on each Directo base, enabling two-way data traffic. It is important to note that the interface is not present and available by default, but is configured on a case-by-case basis according to the needs of the specific task set. The installation of the interface involves fees and the amount of fee depends on the number of data flows in each direction (in and out). Therefor it is necessary to contact a Directo sales representative and agree on the exact needs and coordinate the cost of the project before starting work.
  
 +
 +====General Technical Requirements ====
 Regardless of the specifics of a particular interface project, there are certain principles that must be followed in any case. Regardless of the specifics of a particular interface project, there are certain principles that must be followed in any case.
  
Line 35: Line 37:
   * ''appkey=PREDEFINEDKEY''   * ''appkey=PREDEFINEDKEY''
  
-and possible additional parameters. The data type verbs used, key values, and additional data type-specific parameters are agreed during each specific installation.+and possible additional parameters. The data type verbs used, key values, and additional data type-specific parameters are agreed during each specific installation. Fields with NULL (empty) in the content base are always excluded from the XML. 
 + 
  
 ===A practical example=== ===A practical example===
Line 43: Line 47:
  
 ==Article output:== ==Article output:==
-Antud näiteks kasutatakse verbi ''what=item'' ja ''get=1''. 
-Kõik filtrid on võimalikud, juhul kui vastav väli on skeemis olemas. Näiteks: 
-"class","code","barcode","supplier","supplieritem","closed","ts" 
-Artiklite struktuuri kirjeldav skeem: 
 In this example, the verbs ''what=item'' and ''get=1'' are used. All filters are possible if the corresponding field is present in the schema. For example, "class", "code", "barcode", "supplier", "supplieritem", "closed", "ts" \\ In this example, the verbs ''what=item'' and ''get=1'' are used. All filters are possible if the corresponding field is present in the schema. For example, "class", "code", "barcode", "supplier", "supplieritem", "closed", "ts" \\
 Schema describing Articles:  [[https://login.directo.ee/xmlcore/demo_ee/ws_artiklid.xsd]] Schema describing Articles:  [[https://login.directo.ee/xmlcore/demo_ee/ws_artiklid.xsd]]
Line 85: Line 85:
 POST with variables „put=1“, „key=[appkey value]“, „what=order“ ( or „what=customer“ or „what=item“ ) and „xmldata=[XML'i content]“\\ POST with variables „put=1“, „key=[appkey value]“, „what=order“ ( or „what=customer“ or „what=item“ ) and „xmldata=[XML'i content]“\\
 The xml input content must match the schema. The xml input content must match the schema.
 +Please avoid sending empty fields as customer_code = "".
  
 ===A practical example=== ===A practical example===
Line 127: Line 128:
 </code> </code>
  
-Ühest pakis võib olla korraga ka mitu tellimust, igaühe kohta tuleb omaette ''Result'': + 
-There can be several orders in one package. Each order will have its own ''Result'':+There can be several orders in one batch. Each order will have its own ''Result'':
 <code xml> <code xml>
 <?xml version="1.0" encoding="UTF-8" ?>  <?xml version="1.0" encoding="UTF-8" ?> 
en/xmlcore.1639563844.txt.gz · Last modified: 2021/12/15 12:24 by toomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki