GET api/Admin/Sales/Get?fromDateTime={fromDateTime}&toDateTime={toDateTime}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromDateTime

string

Required

toDateTime

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SaleDto
NameDescriptionTypeAdditional information
RetailerCode

string

None.

EventDate

string

None.

EventDescription

string

None.

ProductSku

string

None.

WarrantyCardNumber

string

None.

SerialNumber

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RetailerCode": "sample string 1",
    "EventDate": "sample string 2",
    "EventDescription": "sample string 3",
    "ProductSku": "sample string 4",
    "WarrantyCardNumber": "sample string 5",
    "SerialNumber": "sample string 6"
  },
  {
    "RetailerCode": "sample string 1",
    "EventDate": "sample string 2",
    "EventDescription": "sample string 3",
    "ProductSku": "sample string 4",
    "WarrantyCardNumber": "sample string 5",
    "SerialNumber": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSaleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AitLuxe.Common.PortableModels">
  <SaleDto>
    <EventDate>sample string 2</EventDate>
    <EventDescription>sample string 3</EventDescription>
    <ProductSku>sample string 4</ProductSku>
    <RetailerCode>sample string 1</RetailerCode>
    <SerialNumber>sample string 6</SerialNumber>
    <WarrantyCardNumber>sample string 5</WarrantyCardNumber>
  </SaleDto>
  <SaleDto>
    <EventDate>sample string 2</EventDate>
    <EventDescription>sample string 3</EventDescription>
    <ProductSku>sample string 4</ProductSku>
    <RetailerCode>sample string 1</RetailerCode>
    <SerialNumber>sample string 6</SerialNumber>
    <WarrantyCardNumber>sample string 5</WarrantyCardNumber>
  </SaleDto>
</ArrayOfSaleDto>