Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.
Both sides previous revision Previous revision Next revision | Previous revision | ||
omega:neon:start [2023/05/16 20:25] Roman Sališ [Table] |
omega:neon:start [2023/05/17 10:45] (aktuálne) Roman Sališ [Príklad NEON požiadavky (NEON Request)] |
||
---|---|---|---|
Riadok 11: | Riadok 11: | ||
"module:tennes/getAllSettings#201", | "module:tennes/getAllSettings#201", | ||
"module:info/getPageInfo#202", | "module:info/getPageInfo#202", | ||
- | "module:info/getPageInfo#203", | + | "module:info/getPageInfo#203" |
], | ], | ||
"module:tennes/getAllSettings#201":{}, | "module:tennes/getAllSettings#201":{}, | ||
Riadok 91: | Riadok 91: | ||
| ''error'' | //object// | Bude existovať v prípade, ak bude ''hasError=TRUE''. Jeho štruktúra je popísaná nižšie. | | | ''error'' | //object// | Bude existovať v prípade, ak bude ''hasError=TRUE''. Jeho štruktúra je popísaná nižšie. | | ||
- | === Popis NEON Response | Response ERROR === | + | === Popis NEON Response.error === |
- | | ''version'' | //int// | hodnota **3** | | + | | ''error.exceptionCode'' | //int// | Kód výnimky. | |
- | | ''timestamp'' | //int// | Čas spracovania na serveri, ako linux timestamp | | + | | ''error.errorDateIdf'' | //string// | Identifikátor dátumu, pre lepšie hľadanie v logoch. | |
- | | ''status'' | //bool// | ''TRUE'' alebo ''FALSE'' | | + | | ''error.exceptionMessage'' | //string// | Text výnimky. | |
- | | ''hasError'' | //bool// | ''TRUE'' | + | | ''error.errorCode'' | //string// | Kód chyby. | |
- | | ''result'' | //object, mixed// | Odpoveď zo služby. Nemusí byť naplnená. | | + | | ''error.errorText'' | //string// | Text chyby. | |
- | | ''exceptionCode'' | //int// | Kód výnimky. | | + | | ''errorExt'' | //object// | Rozšírené informácie o chybe, ak sú k dispozícií. | |
- | | ''exceptionMessage'' | //string// | Text výnimky. | | + | |
- | | ''errorCode'' | //string// | Kód chyby. | | + | |
- | | ''errorExt'' | //object// | Rozšírené informácie o chybe, ak sú k dispozícií. | | + | |
Riadok 109: | Riadok 105: | ||
=== Popis NEON Response | Service ERROR === | === Popis NEON Response | Service ERROR === | ||
- | | ''status'' | //bool// | ''FALSE'' | | + | | ''status'' | //bool// | ''FALSE'' | |
- | | ''result'' | //object, mixed// | Odpoveď zo služby. Nemusí byť naplnená. | | + | | ''result'' | //object, mixed// | Odpoveď zo služby. Nemusí byť naplnená. | |
- | | ''exceptionCode'' | //int// | Kód výnimky. | | + | | ''error'' | //object// | | |
- | | ''exceptionMessage'' | //string// | Text výnimky. | | + | | ''error.exceptionCode'' | //int// | Kód výnimky. | |
- | | ''errorCode'' | //string// | Kód chyby. | | + | | ''error.exceptionMessage'' | //string// | Text výnimky. | |
- | | ''errorExt'' | //object// | Rozšírené informácie o chybe, ak sú k dispozícií. | | + | | ''error.errorCode'' | //string// | Kód chyby. | |
+ | | ''error.errorText'' | //string// | Text chyby. | | ||
+ | | ''error.errorInfo'' | //string// | Iné info o chybe. | | ||
+ | | ''errorExt'' | //object// | Rozšírené informácie o chybe, ak sú k dispozícií. | | ||