REST-API (getorderinfo / getorderdetails)
Process:
Order-List
{partnerNumber} muss durch die entsprechende Zugangsnummer ersetzt werden
für responseType kann entweder der Wert json oder xml übergeben werden - je nachdem in welchem Format die Response erfolgen soll
GET als XML
https://api-orchestra.platform.simplesystem.com/orc-extern/ERP/v1.0/partner/{simple system ID}/open-orders?responseType=XML
Beispiel:
<?xml version="1.0" encoding="UTF-8"?>
<Orders isArrayElement="true">
<Order>
<OrderNumber>143611</OrderNumber>
</Order>
<Order>
<OrderNumber>143610</OrderNumber>
</Order>
<Order>
<OrderNumber>143609</OrderNumber>
</Order>
</Orders>
GET als JSON
https://api-orchestra.platform.simplesystem.com/orc-extern/ERP/v1.0/partner/{simple system ID}/open-orders?responseType=JSON
Beispiel:
{
"Order": [
{
"OrderNumber": "143611"
},
{
"OrderNumber": "143610"
},
{
"OrderNumber": "143609"
}
]
}
Order-Details
{partnerNumber} muss durch die entsprechende Zugangsnummer ersetzt werden
{orderNumber} muss durch die entsprechende Nummer aus der ersten Abfrage ersetzte werden
für responseType kann entweder der Wert json oder xml übergeben werden - je nachdem in welchem Format die Response erfolgen soll.
GET als XML
https://api-orchestra.platform.simplesystem.com/orc-extern/ERP/v1.0/partner/{simple system ID}/order/{orderID}?responseType=XML
Beispiel (Bitte beachten Sie auch die Dokumentation unseres S2XML Formats: Data Transfer Format S2XML )
<?xml version="1.0" encoding="UTF-8"?>
<S2XML>
<supplierId>100999999</supplierId>
<supplierName>Test International GmbH</supplierName>
<timeOfTransfer>2024-09-05T08:01:15+02:00</timeOfTransfer>
<s2customerNumber>1234567</s2customerNumber>
<supplierCustomerNumber>1254486</supplierCustomerNumber>
<s2orderNumber>152693</s2orderNumber>
<buyerGivenName>Christiane Test</buyerGivenName>
<buyerLastName>MLU</buyerLastName>
<buyerEmailAddress>christiane.test@testfirma.com</buyerEmailAddress>
<buyerPhoneNumber>+49 2677 99999</buyerPhoneNumber>
<plantId></plantId>
<deliveryAddress>
<line1>Test GmbH</line1>
<line2>z. Hd. Frau Test</line2>
<line3>Verwaltung</line3>
<street>Am Werk 7</street>
<country>DE</country>
<zipCode>99997</zipCode>
<city>Teststadt</city>
</deliveryAddress>
<orderText></orderText>
<additionalInfoLine1></additionalInfoLine1>
<additionalInfoLine2></additionalInfoLine2>
<currency>EUR</currency>
<classificationType>eclass</classificationType>
<classificationVersion>5.1</classificationVersion>
<desiredDeliveryDate>0</desiredDeliveryDate>
<reciever></reciever>
<positions>
<position>
<number>1</number>
<accountingInformation>
<accountType>K</accountType>
<accountValue>6833-04</accountValue>
<additionalAccountingInfo></additionalAccountingInfo>
<generalLedger>631391</generalLedger>
</accountingInformation>
<amount>1</amount>
<uomISO>C62</uomISO>
<uomSupplier></uomSupplier>
<supplierArticleNumber>TEST6935.1/43</supplierArticleNumber>
<customerArticleNumber></customerArticleNumber>
<name>STIEFEL TREND2 6935.1 S3 SRC W10 GR.43</name>
<priceUnit>1</priceUnit>
<pricePerUnit>79.74</pricePerUnit>
<positionPrice>79.74</positionPrice>
<VAT>0.19</VAT>
<leadTime>1</leadTime>
<classification>40011304</classification>
<additionalInformation1></additionalInformation1>
<additionalInformation2></additionalInformation2>
<ociCustField1></ociCustField1>
<ociCustField2></ociCustField2>
<ociCustField3></ociCustField3>
<ociCustField4></ociCustField4>
<ociCustField5></ociCustField5>
<weight></weight>
<volume>0</volume>
<countryOfOrigin></countryOfOrigin>
<statisticalLotNumber></statisticalLotNumber>
</position>
</positions>
</S2XML>
GET als JSON
https://api-orchestra.platform.simplesystem.com/orc-extern/ERP/v1.0/partner/{simple system ID}/order/{orderID}?responseType=JSON
Beispiel (Bitte beachten Sie für eine Beschreibung der Felder Data Transfer Format S2XML):
YAML-File: