GET r/PosSalesTransactions/{id}

Get a list of sales lines for the specified sales header.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 SaleTransactionLineDTO
NameDescriptionTypeAdditional information
ItemPosIdentifier

Gets or sets the POS identifier of the item sold

string

None.

ItemName

Gets or sets the Item Name

string

None.

Quantity

Gets or sets quantity sold

decimal number

None.

Invoices

Gets or sets the dollar value invoiced

decimal number

None.

Discounts

Gets or sets the dollar value discounted

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "itemPosIdentifier": "sample string 1",
    "itemName": "sample string 2",
    "quantity": 3.1,
    "invoices": 4.0,
    "discounts": 5.0
  },
  {
    "itemPosIdentifier": "sample string 1",
    "itemName": "sample string 2",
    "quantity": 3.1,
    "invoices": 4.0,
    "discounts": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfSaleTransactionLineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loaded.WebApi.Models.POS.Transactions">
  <SaleTransactionLineDTO>
    <Discounts>5</Discounts>
    <Invoices>4</Invoices>
    <ItemName>sample string 2</ItemName>
    <ItemPosIdentifier>sample string 1</ItemPosIdentifier>
    <Quantity>3.1</Quantity>
  </SaleTransactionLineDTO>
  <SaleTransactionLineDTO>
    <Discounts>5</Discounts>
    <Invoices>4</Invoices>
    <ItemName>sample string 2</ItemName>
    <ItemPosIdentifier>sample string 1</ItemPosIdentifier>
    <Quantity>3.1</Quantity>
  </SaleTransactionLineDTO>
</ArrayOfSaleTransactionLineDTO>