GET api/SalesTotalsbyAmount/{id}
Returns a SalesTotalsbyAmount record based on specified ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of SalesTotalsbyAmount data |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
SalesTotalsbyAmountData| Name | Description | Type | Additional information |
|---|---|---|---|
| SaleAmount | decimal number |
None. |
|
| OrderID | integer |
None. |
|
| CompanyName | string |
None. |
|
| ShippedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"SaleAmount": 1.0,
"OrderID": 2,
"CompanyName": "sample string 3",
"ShippedDate": "2025-10-26T03:21:48.857757-07:00"
}
text/xml
Sample:
<SalesTotalsbyAmountData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models"> <CompanyName>sample string 3</CompanyName> <OrderID>2</OrderID> <SaleAmount>1</SaleAmount> <ShippedDate>2025-10-26T03:21:48.857757-07:00</ShippedDate> </SalesTotalsbyAmountData>