Sales status message ('Transaction B2BSale, Operation GetStatusSaleTransmitB2B)
The status of the sales transmission is to be queried. For this purpose, the following data of the media type application/xml
is transferred to the address https://b2b.beispielserver.com/ using the POST method of the HTTP protocol:
<?xml version="1.0" encoding="utf-8"?>
<GetStatusSaleTransmitB2BRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:veloconnect:sale-B2B-1.6">
<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">44f80ce3-05c1-4a28-b981-8b4a0794a7a4</TransactionID>
<IsTest xmlns="urn:veloconnect:transaction-1.0">true</IsTest>
<StartIndex>0</StartIndex>
<Count>2</Count>
</GetStatusSaleTransmitB2BRequest>
The response from the server looks like this, for example:
<?xml version="1.0" encoding="utf-8"?>
<GetStatusSaleTransmitB2BResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:veloconnect:sale-B2B-1.6">
<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">44f80ce3-05c1-4a28-b981-8b4a0794a7a4</TransactionID>
<StatusCode xmlns="urn:veloconnect:transaction-1.0">85</StatusCode>
<IsTest xmlns="urn:veloconnect:transaction-1.0">true</IsTest>
<StartIndex>0</StartIndex>
<Count>2</Count>
<TotalCount>3</TotalCount>
<SaleTransmitB2BResponseLine>
<ID>72458d29-2c31-4b99-8df5-9d25e3eadbdb</ID>
<SellersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
<ID>12345</ID>
</SellersItemIdentification>
<BuyersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
<ID>111</ID>
</BuyersItemIdentification>
<QuantityFraction>1</QuantityFraction>
<SaleDate>2021-04-28T10:40:42.3168812+02:00</SaleDate>
</SaleTransmitB2BResponseLine>
<SaleTransmitB2BResponseLine>
<ID>d870ee25-c1b2-4d90-84ac-704ae5be8cb3</ID>
<SellersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
<ID>6789</ID>
</SellersItemIdentification>
<BuyersItemIdentification xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0">
<ID>111</ID>
</BuyersItemIdentification>
<QuantityFraction>1</QuantityFraction>
<SaleDate>2021-04-28T10:45:42.3168812+02:00</SaleDate>
</SaleTransmitB2BResponseLine>
</GetStatusSaleTransmitB2BResponse>
This shows the following:
The generated transaction instance has the TransactionID
44f80ce3-05c1-4a28-b981-8b4a0794a7a4
.The transaction is in state 85, i.e. the sales have been imported
, multiple selections available,