GET api/SummaryofSalesbyYear/{id}
Returns a SummaryofSalesbyYear record based on specified ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of SummaryofSalesbyYear data |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
SummaryofSalesbyYearDataName | Description | Type | Additional information |
---|---|---|---|
ShippedDate | date |
None. |
|
OrderID | integer |
None. |
|
Subtotal | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "ShippedDate": "2025-07-04T15:13:44.40243-07:00", "OrderID": 1, "Subtotal": 2.0 }
text/xml
Sample:
<SummaryofSalesbyYearData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models"> <OrderID>1</OrderID> <ShippedDate>2025-07-04T15:13:44.40243-07:00</ShippedDate> <Subtotal>2</Subtotal> </SummaryofSalesbyYearData>