GET a/PosOrdersTransactions/GetTransactionLines/{id}
Get a list of sales lines for the specified sales header.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Base64 encoded PosIdentifier for this transaction |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Transaction Lines for the given transaction
Collection of OrderTransactionLineDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemPosIdentifier |
Gets or sets the POS identifier of the item ordered. |
string |
None. |
| ItemName |
Gets or sets the Item Name. |
string |
None. |
| Quantity |
Gets or sets quantity ordered. |
decimal number |
None. |
| OrderAmount |
Gets or sets the dollar value ordered. |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"itemPosIdentifier": "sample string 1",
"itemName": "sample string 2",
"quantity": 3.1,
"orderAmount": 4.0
},
{
"itemPosIdentifier": "sample string 1",
"itemName": "sample string 2",
"quantity": 3.1,
"orderAmount": 4.0
}
]
application/xml, text/xml
Sample:
<ArrayOfOrderTransactionLineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loaded.WebApi.Models.POS.Transactions">
<OrderTransactionLineDTO>
<ItemName>sample string 2</ItemName>
<ItemPosIdentifier>sample string 1</ItemPosIdentifier>
<OrderAmount>4</OrderAmount>
<Quantity>3.1</Quantity>
</OrderTransactionLineDTO>
<OrderTransactionLineDTO>
<ItemName>sample string 2</ItemName>
<ItemPosIdentifier>sample string 1</ItemPosIdentifier>
<OrderAmount>4</OrderAmount>
<Quantity>3.1</Quantity>
</OrderTransactionLineDTO>
</ArrayOfOrderTransactionLineDTO>