User Tools

Site Tools



en:xmlcore

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
en:xmlcore [2021/12/28 09:27] – [A practical example] toomasen:xmlcore [2022/03/14 10:05] (current) – [Sending data to Directo (or input)] toomas
Line 35: Line 35:
   * ''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 45:
  
 ==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 83:
 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===
en/xmlcore.1640676431.txt.gz · Last modified: 2021/12/28 09:27 by toomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki