OmniSeller:HTKService4: Unterschied zwischen den Versionen

Aus HTK Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „ == HTKService4 Dokumentation == <div>Der HTKService4 ist eine PHP Schnittstelle zwischen dem Webshop und der OmniSeller Cloud. Über diese findet der Datenaus…“)
 
Keine Bearbeitungszusammenfassung
Zeile 4: Zeile 4:
=== Endpunkte ===
=== Endpunkte ===


<div class="mw-parser-output">
==== Tokenrequest ====
==== Tokenrequest ====


{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
|-
|-
| style="width: 102px;" | URL
| style="width: 102px;" | Route
| style="width: 385px;" | /omniseller/Tokenrequest.php
| style="width: 385px;" | /omniseller/Tokenrequest.php
|-
|-
Zeile 18: Zeile 19:
|-
|-
| 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;&nbsp;&nbsp;"token":&nbsp;{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"token":&nbsp;"410C2DC6-88F0-4DAA-81DF-F3A62299B467",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"user":&nbsp;"omniseller",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"creationdate":&nbsp;"2021-02-17&nbsp;13:50:25",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"expirationdate":&nbsp;"2021-02-17&nbsp;14:20:29",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"timeLeft":&nbsp;900</div> <div>&nbsp;&nbsp;&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;"string",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"token":&nbsp;{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"token":&nbsp;"410C2DC6-88F0-4DAA-81DF-F3A62299B467",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"user":&nbsp;"apiuser",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"creationdate":&nbsp;"2021-02-17&nbsp;13:50:25",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"expirationdate":&nbsp;"2021-02-17&nbsp;14:20:29",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"timeLeft":&nbsp;900</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;}</div> <div>}</div>  
|}
|}


&nbsp;
&nbsp;
</div>


==== Kategoriedownload ====
==== Kategoriedownload ====

Version vom 17. Februar 2021, 13:15 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

Produktdownload

GetOrderIDs

GetOrder

Stock