OmniSeller:HTKService4: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
<div>Der HTKService4 ist eine PHP Schnittstelle zwischen dem Webshop und der OmniSeller Cloud. Über diese findet der Datenaustausch zwischen Shop und OmniSeller statt.</div> <div> </div> | <div>Der HTKService4 ist eine PHP Schnittstelle zwischen dem Webshop und der OmniSeller Cloud. Über diese findet der Datenaustausch zwischen Shop und OmniSeller statt.</div> <div> </div> | ||
<div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"> | <div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"> | ||
<div class="mw-parser-output"> | |||
<div class="mw-parser-output"> | |||
=== Endpunkte === | === Endpunkte === | ||
<div class="mw-parser-output"> | <div class="mw-parser-output"> | ||
Zeile 23: | Zeile 25: | ||
| | ||
</div> | </div> <div class="mw-parser-output"> | ||
<div class="mw-parser-output"><div class="mw-parser-output"> | |||
<div class="mw-parser-output"> | |||
<div class="mw-parser-output"> | |||
<div class="mw-parser-output"> | |||
==== Kategoriedownload ==== | ==== Kategoriedownload ==== | ||
Zeile 29: | Zeile 35: | ||
|- | |- | ||
| style="width: 102px;" | Route | | style="width: 102px;" | Route | ||
| style="width: 385px;" | /omniseller/ | | style="width: 385px;" | /omniseller/HTKService4.php | ||
|- | |- | ||
| style="width: 102px;" | Request-Tpye | | style="width: 102px;" | Request-Tpye | ||
Zeile 35: | Zeile 41: | ||
|- | |- | ||
| style="width: 102px;" | Request-Json | | style="width: 102px;" | Request-Json | ||
| style="width: 385px;" | <div>{</div> <div> " | | style="width: 385px;" | <div>{</div> <div> "token":"00000000-0000-0000-0000-000000000000",</div> <div> "function":"5",</div> <div> "data":""</div> <div>}</div> | ||
|- | |- | ||
| style="width: 102px;" | Response-Json | | style="width: 102px;" | Response-Json | ||
| style="width: 385px;" | <div>{</div> <div> "status": "OK",</div> <div> "debugMessage": " | | style="width: 385px;" | <div>{</div> <div> "status": "OK",</div> <div> "debugMessage": "Oxid6_GetCategories",</div> <div> "data": [</div> <div> {</div> <div> "ID": "1c59e65e30bcaa3a694b818d0b62adb0",</div> <div> "ParentID": "oxrootID",</div> <div> "Aktiv":true,</div> <div> "Name":"Möbel",</div> <div> "Beschreibung":""</div> <div> },</div> <div> .....</div> <div> ]</div> <div>}</div> | ||
|- | |||
| style="width: 102px;" | | |||
| style="width: 385px;" | | |||
|} | |} | ||
| |||
</div> | |||
</div> | |||
==== Produktupload ==== | |||
<div class="mw-parser-output"> | |||
<div class="mw-parser-output"><div class="mw-parser-output"> | |||
<div class="mw-parser-output"> | |||
==== GetOrderIDs ==== | ==== GetOrderIDs ==== | ||
Zeile 48: | Zeile 64: | ||
|- | |- | ||
| style="width: 102px;" | Route | | style="width: 102px;" | Route | ||
| style="width: 385px;" | /omniseller/ | | style="width: 385px;" | /omniseller/HTKService4.php | ||
|- | |- | ||
| style="width: 102px;" | Request-Tpye | | style="width: 102px;" | Request-Tpye | ||
Zeile 54: | Zeile 70: | ||
|- | |- | ||
| style="width: 102px;" | Request-Json | | style="width: 102px;" | Request-Json | ||
| style="width: 385px;" | <div>{</div> <div> " | | style="width: 385px;" | <div><div>{</div> <div> "token":"00000000-0000-0000-0000-000000000000",</div> <div> "function":"12",</div> <div> "data":""</div> <div>}</div> </div> | ||
|- | |- | ||
| style="width: 102px;" | Response-Json | | style="width: 102px;" | Response-Json | ||
| style="width: 385px;" | <div>{</div> <div> "status": "OK",</div> <div> "debugMessage": "string",</div> <div> " | | style="width: 385px;" | <div>{</div> <div> "status": "OK",</div> <div> "debugMessage": "string",</div> <div><div><div> "data": [</div> <div> {</div> <div> "ID": "6132af04178eabb83271b3c6579431be",</div> <div> "DisplayID": 2,</div> <div> "Paymenttype": "oxidinvoice",</div> <div> "OrderStatus": 0</div> <div> },</div> <div> ......</div> <div> ]</div> </div> </div> <div>}</div> | ||
|} | |} | ||
| |||
| |||
</div> | |||
<div class="mw-parser-output"> | |||
==== GetOrder ==== | ==== GetOrder ==== | ||
Zeile 71: | Zeile 93: | ||
|- | |- | ||
| style="width: 102px;" | Request-Json | | style="width: 102px;" | Request-Json | ||
| style="width: 385px;" | <div>{</div> <div> " | | style="width: 385px;" | <div><div>{</div> <div> "token":"00000000-0000-0000-0000-000000000000",</div> <div> "function":"11",</div> <div> "data":""</div> <div>}</div> </div> | ||
|- | |- | ||
| style="width: 102px;" | Response-Json | | style="width: 102px;" | Response-Json | ||
| style="width: 385px;" | <div>{</div> <div> "status": "OK",</div> <div> "debugMessage": "string",</div> <div> | | style="width: 385px;" | <div>{</div> <div> "status": "OK",</div> <div> "debugMessage": "string",</div> <div> "data":""</div> <div>}</div> | ||
| |||
|} | |} | ||
| |||
| |||
</div> | |||
==== Stock ==== | ==== Stock ==== | ||
Zeile 83: | Zeile 112: | ||
| | ||
| </div> </div> </div> </div> | ||
</div> </div> </div> | </div> |
Aktuelle Version vom 17. August 2021, 10:16 Uhr
HTKService4 Dokumentation
Der HTKService4 ist eine PHP Schnittstelle zwischen dem Webshop und der OmniSeller Cloud. Über diese findet der Datenaustausch zwischen Shop und OmniSeller statt.
Endpunkte
Tokenrequest
Route | /omniseller/Tokenrequest.php |
Request-Tpye | POST |
Request-Json | { "apiuser":"apiuser", "apipass":"apipass" }
|
Response-Json | { "status": "OK", "debugMessage": "string", "token": { "token": "410C2DC6-88F0-4DAA-81DF-F3A62299B467", "user": "apiuser", "creationdate": "2021-02-17 13:50:25", "expirationdate": "2021-02-17 14:20:29", "timeLeft": 900 } }
|
Kategoriedownload
Route | /omniseller/HTKService4.php |
Request-Tpye | POST |
Request-Json | { "token":"00000000-0000-0000-0000-000000000000", "function":"5", "data":"" }
|
Response-Json | { "status": "OK", "debugMessage": "Oxid6_GetCategories", "data": [ { "ID": "1c59e65e30bcaa3a694b818d0b62adb0", "ParentID": "oxrootID", "Aktiv":true, "Name":"Möbel", "Beschreibung":"" }, ..... ] }
|
Produktupload
GetOrderIDs
Route | /omniseller/HTKService4.php |
Request-Tpye | POST |
Request-Json | { "token":"00000000-0000-0000-0000-000000000000", "function":"12", "data":"" } |
Response-Json | { "status": "OK", "debugMessage": "string", "data": [ { "ID": "6132af04178eabb83271b3c6579431be", "DisplayID": 2, "Paymenttype": "oxidinvoice", "OrderStatus": 0 }, ...... ] }
|
GetOrder
Route | /omniseller/Tokenrequest.php |
Request-Tpye | POST |
Request-Json | { "token":"00000000-0000-0000-0000-000000000000", "function":"11", "data":"" } |
Response-Json | { "status": "OK", "debugMessage": "string", "data":"" }
|
Stock