Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The status of the availability transfer is to be queried. For this purpose, the following data of the media type application/xml are transmitted to the address https://b2b.beispielserver.com/ using the POST method of the HTTP protocol:

<?xml version="1.0" encoding="utf-8"?>
<GetItemStatusStockTransmitB2CRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:veloconnect:stock-B2C-1.4">
 <BuyersID xmlns="urn:veloconnect:transaction-1.0">B127645</BuyersID>
  <Credential xmlns="urn:veloconnect:transaction-1.0">
    <Password>secret</Password>
  </Credential>
  <TransactionID xmlns="urn:veloconnect:transaction-1.0">f9cc5ed9-129d-4a3d-ba99-488073a55c47</TransactionID>
  <IsTest xmlns="urn:veloconnect:transaction-1.0">true</IsTest>
  <StartIndex>0</StartIndex>
  <Count>2</Count>
</GetItemStatusStockTransmitB2CRequest>

Alternatively, the following URL could be accessed:

https://b2b.beispielserver.com/?BuyersID=B127645&Password=secret&IsTest=true&RequestName=GetItemStatusStockTransmitB2CRequest&TransactionId=12392b5e-de98-43eb-b7b2-2103f8b79063&StartIndex=0&Count=0

For example, the server's response looks like this:

<?xml version="1.0" encoding="utf-8"?>
<GetItemStatusStockTransmitB2CResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:veloconnect:stock-B2C-1.4">
  <BuyersID xmlns="urn:veloconnect:transaction-1.0">B127645</BuyersID>
  <ResponseCode xmlns="urn:veloconnect:transaction-1.0">200</ResponseCode>
  <TransactionID xmlns="urn:veloconnect:transaction-1.0">f9cc5ed9-129d-4a3d-ba99-488073a55c47</TransactionID>
  <StatusCode xmlns="urn:veloconnect:transaction-1.0">184</StatusCode>
  <IsTest xmlns="urn:veloconnect:transaction-1.0">true</IsTest>
  <StartIndex>0</StartIndex>
  <Count>2</Count>
  <TotalCount>2</TotalCount>
  <StockTransmitB2CResponseLine>
    <StandardItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
      <ID>42213526600</ID>
    </StandardItemIdentification>
    <BuyersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
      <ID>111</ID>
    </BuyersItemIdentification>
    <Available>false</Available>
  </StockTransmitB2CResponseLine>
  <StockTransmitB2CResponseLine>
    <ManufacturersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
      <ID>42213526600</ID>
    </ManufacturersItemIdentification>
    <MarketPlaceItemIdentification>
      <ID xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">Amaz1111</ID>
    </MarketPlaceItemIdentification>
    <BuyersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
      <ID>111</ID>
    </BuyersItemIdentification>
    <Available>false</Available>
  </StockTransmitB2CResponseLine>
</GetItemStatusStockTransmitB2CResponse>

This shows the following:

  • The created transaction instance has the TransactionID 44f80ce3-05c1-4a28-b981-8b4a0794a7a4.

  • The transaction is in state 184, i.e. the transaction is completed

  • No labels