Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Um die Beispieldateien übersichtlich zu halten, gehen wir von folgendem Dummy-Beispiel aus: Es gibt zwei Warengruppen, nämlich "Bremsbeläge" und To keep the sample files simple, we will base them on the following dummy example: There are two product groups, namely "brake linings" and "Kool-Stop Cartridge Einschübe", wobei letzter Untergruppe der ersteren ist. Ferner gibt es für Mengenrabatte die Rabattgruppe cartridge inserts", the latter being a sub-group of the former. In addition, there is a "Kool-Stop V-Brake" . Die Abfragediscount group for bulk discounts. The request

Code Block
https://b2.beispielserver.com/?BuyersID=127654&Password=secret&RequestName=GetClassificationSchemeRequest

liefert dann folgendes Ergebnisthen supplies the following result:

Code Block
<?xml version="1.0" encoding="utf-8" ?>
<GetClassificationSchemeResponse xmlns="urn:veloconnect:catalog-1.1" xmlns:vct="urn:veloconnect:transaction-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0">
 <vct:BuyersID>B127645</vct:BuyersID>
 <vct:ResponseCode>200</vct:ResponseCode>
 <ClassificationScheme>
   <ClassificationSchemeID>WG</ClassificationSchemeID>
   <ClassificationSchemeGroup>
       <ID>BRE</ID>
       <Description>Bremsbeläge</Description>
   </ClassificationSchemeGroup>
   <ClassificationSchemeGroup>
       <ID>BRE_KS</ID>
       <ParentID>BRE</ParentID>
       <Description>Kool-Stop Cartridge Einschübe</Description>
   </ClassificationSchemeGroup>
 </ClassificationScheme>
 <ClassificationScheme>
   <ClassificationSchemeID>RG</ClassificationSchemeID>
   <ClassificationSchemeGroup>
       <ID>7114</ID>
       <Description>Kool-Stop V-Brake</Description>
   </ClassificationSchemeGroup>
 </ClassificationScheme>
</GetClassificationSchemeResponse>

Für einen Artikel wird der Bezug zu den Warengruppen hergestellt über das ItemInformation-Element, wie z.B. in diesem Beispielresponse auf einen For an item, a reference to the product group is established via the ItemInformation element, such as in this sample response to a GetItemDetailsRequest.

Code Block
<?xml version="1.0" encoding="utf-8"?>
<vco:GetItemDetailsResponse xmlns:vco="urn:veloconnect:order-1.1" xmlns:vct="urn:veloconnect:transaction-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:vcc="urn:veloconnect:catalog-1.1">
  <vct:BuyersID>B127645</vct:BuyersID>
  <vct:ResponseCode>200</vct:ResponseCode>
  <vct:IsTest>false</vct:IsTest>
  <cac:Item>
    <cbc:Description>KOOL-STOP Tectonic Pads (Chart-Index H4) Nachschub-Bestückung, für Carbon-Felgen</cbc:Description>
    <cac:SellersItemIdentification>
      <cac:ID>209-50</cac:ID>
    </cac:SellersItemIdentification>
    <cac:ManufacturersItemIdentification>
      <cac:ID>RE 518 KS</cac:ID>
    </cac:ManufacturersItemIdentification>
    <cac:BasePrice>
      <cbc:PriceAmount amountCurrencyID="EUR">5.75</cbc:PriceAmount>
      <cbc:BaseQuantity quantityUnitCode="EA">1</cbc:BaseQuantity>
    </cac:BasePrice>
    <cac:BasePrice>
      <cbc:PriceAmount amountCurrencyID="EUR">5.58</cbc:PriceAmount>
      <cbc:BaseQuantity quantityUnitCode="EA">1</cbc:BaseQuantity>
      <cbc:MinimumQuantity quantityUnitCode="EA">25</cbc:MinimumQuantity>
    </cac:BasePrice>
    <cac:BasePrice>
      <cbc:PriceAmount amountCurrencyID="EUR">5.46</cbc:PriceAmount>
      <cbc:BaseQuantity quantityUnitCode="EA">1</cbc:BaseQuantity>
      <cbc:MinimumQuantity quantityUnitCode="EA">50</cbc:MinimumQuantity>
    </cac:BasePrice>
    <cac:BasePrice>
      <cbc:PriceAmount amountCurrencyID="EUR">5.29</cbc:PriceAmount>
      <cbc:BaseQuantity quantityUnitCode="EA">1</cbc:BaseQuantity>
      <cbc:MinimumQuantity quantityUnitCode="EA">100</cbc:MinimumQuantity>
    </cac:BasePrice>
    <vcc:ItemInformation>
     <vcc:InformationURL>
        <vcc:URI>http://www.koolstop.com/brakes/Tectonic.jpg</vcc:URI>
        <vcc:Disposition>picture</vcc:Disposition>
     </vcc:InformationURL>
     <vcc:InformationURL>
        <vcc:URI>http://www.koolstop.com/brakes/index.html#Anchor-international-29754</vcc:URI>
        <vcc:Disposition>tech_spec</vcc:Disposition>
     </vcc:InformationURL>
     <vcc:ClassificationGroupMember>
       <vcc:ClassificationSchemeID>WG</vcc:ClassificationSchemeID>
       <vcc:GroupID>BRE_KS</vcc:GroupID>
     </vcc:ClassificationGroupMember>
     <vcc:ScalePriceGroup>
       <vcc:ClassificationSchemeID>RG</vcc:ClassificationSchemeID>
       <vcc:GroupID>7114</vcc:GroupID>
     </vcc:ScalePriceGroup>
    </vcc:ItemInformation>
  </cac:Item>
  <vco:Availability>
    <vco:Code>available</vco:Code>
  </vco:Availability>
</vco:GetItemDetailsResponse>

...