Availability status message (Transaction B2CStock, Operation GetItemStatusStockTransmitB2C)

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>

 

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