Zum Inhalt springen

OmniSeller:HTKService4: Unterschied zwischen den Versionen

Aus HTK Wiki
MH (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Korrekturlauf Teil 2: Markup-Reste, abgebrochene Saetze und Doppelungen bereinigt
 
(6 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 14: Zeile 14:
| style="width: 385px;" | /omniseller/Tokenrequest.php
| style="width: 385px;" | /omniseller/Tokenrequest.php
|-
|-
| style="width: 102px;" | Request-Tpye
| style="width: 102px;" | Request-Type
| style="width: 385px;" | POST
| style="width: 385px;" | POST
|-
|-
Zeile 27: Zeile 27:
</div> <div class="mw-parser-output">
</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">
<div class="mw-parser-output">
==== Kategoriedownload ====
==== Kategoriedownload ====
Zeile 35: Zeile 37:
| style="width: 385px;" | /omniseller/HTKService4.php
| style="width: 385px;" | /omniseller/HTKService4.php
|-
|-
| style="width: 102px;" | Request-Tpye
| style="width: 102px;" | Request-Type
| style="width: 385px;" | POST
| style="width: 385px;" | POST
|-
|-
Zeile 42: Zeile 44:
|-
|-
| style="width: 102px;" | Response-Json
| style="width: 102px;" | Response-Json
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"debugMessage":&nbsp;"Oxid6_GetCategories",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"data": [</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ID":&nbsp;"1c59e65e30bcaa3a694b818d0b62adb0",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ParentID":&nbsp;"oxrootID",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Aktiv":&nbsp;1,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Name":&nbsp;"Möbel"</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; },</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; .....</div> <div>&nbsp; &nbsp; ]</div> <div>}</div>  
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"debugMessage":&nbsp;"Oxid6_GetCategories",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"data": [</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ID":&nbsp;"1c59e65e30bcaa3a694b818d0b62adb0",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ParentID":&nbsp;"oxrootID",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Aktiv":true,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Name":"Möbel",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Beschreibung":""</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; },</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; .....</div> <div>&nbsp; &nbsp; ]</div> <div>}</div>  
|-
| style="width: 102px;" | &nbsp;
| style="width: 385px;" | &nbsp;
|}
|}


</div> </div>
&nbsp;
 
&nbsp; </div>
</div>
</div>


Zeile 51: Zeile 58:
<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">
==== GetOrderIDs ====
==== GetOrderIDs ====


Zeile 58: Zeile 66:
| style="width: 385px;" | /omniseller/HTKService4.php
| style="width: 385px;" | /omniseller/HTKService4.php
|-
|-
| style="width: 102px;" | Request-Tpye
| style="width: 102px;" | Request-Type
| style="width: 385px;" | POST
| style="width: 385px;" | POST
|-
|-
Zeile 67: Zeile 75:
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"debugMessage":&nbsp;"string",</div> <div><div><div>&nbsp;&nbsp;&nbsp;&nbsp;"data":&nbsp;[</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"ID":&nbsp;"6132af04178eabb83271b3c6579431be",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"DisplayID":&nbsp;2,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Paymenttype":&nbsp;"oxidinvoice",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"OrderStatus":&nbsp;0</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; ......</div> <div>&nbsp; &nbsp; ]</div> </div> </div> <div>}</div>  
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"debugMessage":&nbsp;"string",</div> <div><div><div>&nbsp;&nbsp;&nbsp;&nbsp;"data":&nbsp;[</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"ID":&nbsp;"6132af04178eabb83271b3c6579431be",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"DisplayID":&nbsp;2,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Paymenttype":&nbsp;"oxidinvoice",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"OrderStatus":&nbsp;0</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; ......</div> <div>&nbsp; &nbsp; ]</div> </div> </div> <div>}</div>  
|}
|}
</div> </div>


&nbsp;
&nbsp;
</div>
<div class="mw-parser-output">
==== GetOrder ====
==== GetOrder ====


Zeile 76: Zeile 89:
| style="width: 385px;" | /omniseller/Tokenrequest.php
| style="width: 385px;" | /omniseller/Tokenrequest.php
|-
|-
| style="width: 102px;" | Request-Tpye
| style="width: 102px;" | Request-Type
| style="width: 385px;" | POST
| style="width: 385px;" | POST
|-
|-
Zeile 84: Zeile 97:
| style="width: 102px;" | Response-Json
| style="width: 102px;" | Response-Json
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"debugMessage":&nbsp;"string",</div> <div>&nbsp; &nbsp; "data":""</div> <div>}</div>  
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"debugMessage":&nbsp;"string",</div> <div>&nbsp; &nbsp; "data":""</div> <div>}</div>  
|-
&nbsp;
| style="width: 102px;" | &nbsp;
 
| style="width: 385px;" | &nbsp;
|}
|}
&nbsp;
&nbsp;
</div>


==== Stock ====
==== Stock ====


==== &nbsp; ====
 


&nbsp;
&nbsp;

Aktuelle Version vom 25. August 2026, 06:20 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-Type 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-Type 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-Type 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-Type POST
Request-Json
{
    "token":"00000000-0000-0000-0000-000000000000",
    "function":"11",
    "data":""
}
Response-Json
{
    "status": "OK",
    "debugMessage": "string",
    "data":""
}

 

 

 

Stock