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>1003041164</supplierId> <supplierName>VWR International GmbH</supplierName> <timeOfTransfer>2024-09-05T08:01:15+02:00</timeOfTransfer> <s2customerNumber>7022872</s2customerNumber> <supplierCustomerNumber>49125303</supplierCustomerNumber> <s2orderNumber>143611</s2orderNumber> <buyerGivenName>Marleen Lulay</buyerGivenName> <buyerLastName>MLU</buyerLastName> <buyerEmailAddress>marleen.lulay@kandelium.com</buyerEmailAddress> <buyerPhoneNumber>+49 2635 73423</buyerPhoneNumber> <plantId></plantId> <deliveryAddress> <line1>Kandelium GmbH</line1> <line2>Marleen Lulay</line2> <line3>Verwaltung</line3> <street>Am Güterbahnhof </street> <country>DE</country> <zipCode>53557</zipCode> <city>Bad Hönningen</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>6820-04</accountValue> <additionalAccountingInfo></additionalAccountingInfo> <generalLedger>630391</generalLedger> </accountingInformation> <amount>1</amount> <uomISO>C62</uomISO> <uomSupplier></uomSupplier> <supplierArticleNumber>UVEX6935.1/43</supplierArticleNumber> <customerArticleNumber></customerArticleNumber> <name>STIEFEL TREND2 6935.1 S3 SRC W10 GR.43, UoM: 1 * 1 PAIR</name> <priceUnit>1</priceUnit> <pricePerUnit>77.74</pricePerUnit> <positionPrice>77.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:
{ "supplierId": "100999999", "supplierName": "Test International GmbH", "timeOfTransfer": "2024-09-05T08:01:15+02:00", "s2customerNumber": "1234567", "supplierCustomerNumber": "1254486", "s2orderNumber": "152693", "buyerGivenName": "Christiane Test", "buyerLastName": "MLU", "buyerEmailAddress": "christiane.test@testfirma.com", "buyerPhoneNumber": "+49 2635 73423", "plantId": "", "deliveryAddress": { "line1": "Test GmbH", "line2": "z. Hd. Frau Test", "line3": "Verwaltung", "street": "Am Werk 7", "country": "DE", "zipCode": "99997", "city": "Teststadt" }, "orderText": "", "additionalInfoLine1": "", "additionalInfoLine2": "", "currency": "EUR", "classificationType": "eclass", "classificationVersion": "5.1", "desiredDeliveryDate": "0", "reciever": "", "positions": { "position": { "number": "1", "accountingInformation": { "accountType": "K", "accountValue": "6833-04", "additionalAccountingInfo": "", "generalLedger": "631391" }, "amount": "1", "uomISO": "C62", "uomSupplier": "", "supplierArticleNumber": "TEST6935.1/43", "customerArticleNumber": "", "name": "STIEFEL TREND2 6935.1 S3 SRC W10 GR.43", "priceUnit": "1", "pricePerUnit": "79.74", "positionPrice": "79.74", "VAT": "0.19", "leadTime": "1", "classification": "40011304", "additionalInformation1": "", "additionalInformation2": "", "ociCustField1": "", "ociCustField2": "", "ociCustField3": "", "ociCustField4": "", "ociCustField5": "", "weight": "", "volume": "0", "countryOfOrigin": "", "statisticalLotNumber": "" } } }
YAML-File: