Kasutaja tarvikud

Lehe tööriistad



lt:xmlcore

Skirtumai

Čia matote skirtumus tarp pasirinktos versijos ir esamo dokumento.

Lõlita võrdlemise vaatele

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
lt:xmlcore [2021/12/16 16:20]
ignas [2.3. Informacijos siuntimas į Directo (IN)]
lt:xmlcore [2022/04/08 13:28]
modesta [3. Atsakymų kodai]
Linija 158: Linija 158:
 </​code>​ </​code>​
  
-==== 2.4. HTML forma ====+=== 2.4. HTML forma ===
  
 Parametrai, kuriuos reikia nurodyti: Parametrai, kuriuos reikia nurodyti:
Linija 187: Linija 187:
  
  
-==== 2.4. Pavyzdys PHP kalba ====+=== 2.5. Pavyzdys PHP kalba ===
  
 Į servisą ​ galima kreiptis bet kokia kalba, jeigu ta programavimo kalba yra galimybė padaryti https request‘ą,​ pateikiame pavyzdį PHP kalba: Į servisą ​ galima kreiptis bet kokia kalba, jeigu ta programavimo kalba yra galimybė padaryti https request‘ą,​ pateikiame pavyzdį PHP kalba:
Linija 257: Linija 257:
  
 </​code>​ </​code>​
 +
 +=== 2.6. Postman ===
 +[[https://​www.postman.com/​|Postman]] aplinkos išvestį ir įvestį galima atsisiųsti [[https://​wiki.directo.ee/​_media/​et/​directo.demo.postman_collection.json|čia]],​ tada importuoti kaip kolekciją į Postman ir ten išbandyti.
 +
 +==== 3. Atsakymų kodai ====
 +
 +| **kodas** |**Atsakymo tekstas** |**Pastaba**|**Paaiškinimas**|Description |
 +| 0 | Created | |Dokumentas sėkmingai sukurtas |Document successfully created|
 +| 0 | Updated | (if document update feature is used) |Dokumentas sėkmingai atnaujintas (jei naudojamas automatinis dokumentų atnaujinimas)| Document successfully updated (if document update feature is used)|
 +| 0 | Confirmed | (if auto document confirmation is used) |Dokumentas sėkmingai patvirtintas (jei naudojamas automatinis dokumentų patvirtinimas)|Document successfully confirmed (if auto document confirmation is used)|
 +|  | 
 +| 2 | Too secure location | | Informuokite Directo|Please inform Directo|
 +| 3 | Database is moved to a new server. Takes about 15 minutes |  |Duomenų bazė perkelta į kitą serverį, prašome palaukti 15 minučių|Database has been transferred to another server, please wait 15 minutes|
 +| 4 | Database is closed - user count is zero | |Duomenų bazė uždaryta | Database closed|
 +| 5 | Unauthorized | | Neteisingas raktas ar neteisingai paduotas raktas (key)|Incorrect key or incorrect given key|
 +| 6 | Invalid user given | | Neegzistuojantis darbuotojas| Non-existent user|
 +| 7 | Invalid IP source given | | Neegzistuojantis arba apribotas darbuotojas|Non-existent or restricted user|
 +| 8 | Invalid xml given: ... | | Klaidingas ar neteisingos struktūros XML (skaityti pranešimo tekstą)|Invalid,​ incorrectly structured XML (please read the message | 
 +| 9 | Error on import: ... | | Klaida susijusi su procedūra, informuokite Directo|An error is related to the procedure, please inform Directo|
 +| 11 | Duplicate | | Toks dokumentas jau egzistuoja| Document already exists|
 +| 12 | Missing document identificator | | Nenustatytas dokumento unikalus laukas|Document unique field has not been set |
 +| 13 | Missing customer code / Missing customer regno | (if code is not used) | Nenusiųstas arba nenustatytas pirkėjo unikalus laukas|Customer unique field has not been sent or set|
 +| 14 | Update not allowed | (if document is commited or has related documents) | Negalima atnaujinti dokumento (greičiausiai su dokumentu yra kitų susijusių dokumentų)|Unable to renew document (it is possible the document has been linked with other documents)| ​
 +|  | 
 +| 17 | Document insert failed ​ | |Dokumentas nesukurtas, nes nerasta numeracija (nenurodyta,​ nenustatyta,​ pasibaigusi,​...) |Document not created, this is because the numbering has not been found (not identified, not set up, expired...)|
 +| 18 | uniqueid field not found | (needs to be set up correctly in transport parameters) | Nenustatytas unikalus laukas| ​
 +| 19 | Removal of document not allowed | | Dokumento ištrinti nepavyko (gali būti patvirtintas,​ yra susijusių dokumentų,​...)| ​
 +| 29 | Not confirmed: ... | (if auto document confirmation is used) | Dokumentas nepatvirtintas,​ priežastis pateikta atsakyme| ​
 +|  | 
 +| 30 | Created | (creation of related document like customer, payment etc.) | Antrinis dokumentas sukurtas sėkmingai| ​
 +| 30 | Updated | (update of related document like customer, payment etc.) | Antrinis dokumentas atnaujintas sėkmingai | 
 +| 30 | Confirmed | (confirmed related document like payment etc.) | Antrinis dokumentas patvirtintas sėkmingai| ​
 +| 31 | ... not found | (prerequisite of creation of related document like customer, payment etc. not met) |(item IN) klaidos priežastis nurodyta atsakyme | 
 +| 39 | ... not confirmed: ... | (if auto document confirmation for related document is in use) | Antrinio dokumento patvirtinti nepavyko, priežastis nurodyrta atsakyme| ​
 +|  | 
 +| 99 | No processable XML data found for document: ​ ... | |Informuokite Directo| ​
lt/xmlcore.txt · Keista: 2023/09/15 15:27 vartotojo jaroslav