GET api/SummaryofSalesbyYear

Returns list of all SummaryofSalesbyYear Data

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SummaryofSalesbyYearData
NameDescriptionTypeAdditional information
ShippedDate

date

None.

OrderID

integer

None.

Subtotal

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ShippedDate": "2025-07-04T14:44:06.0211664-07:00",
    "OrderID": 1,
    "Subtotal": 2.0
  },
  {
    "ShippedDate": "2025-07-04T14:44:06.0211664-07:00",
    "OrderID": 1,
    "Subtotal": 2.0
  }
]

text/xml

Sample:
<ArrayOfSummaryofSalesbyYearData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models">
  <SummaryofSalesbyYearData>
    <OrderID>1</OrderID>
    <ShippedDate>2025-07-04T14:44:06.0211664-07:00</ShippedDate>
    <Subtotal>2</Subtotal>
  </SummaryofSalesbyYearData>
  <SummaryofSalesbyYearData>
    <OrderID>1</OrderID>
    <ShippedDate>2025-07-04T14:44:06.0211664-07:00</ShippedDate>
    <Subtotal>2</Subtotal>
  </SummaryofSalesbyYearData>
</ArrayOfSummaryofSalesbyYearData>