GET api/ShippingMethods/{id}
Returns a ShippingMethods record based on specified ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of ShippingMethods data |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ShippingMethodsData| Name | Description | Type | Additional information |
|---|---|---|---|
| ShippingMethodID | integer |
None. |
|
| Title | string |
None. |
|
| Price | decimal number |
None. |
|
| AddedDate | date |
None. |
|
| AddedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ShippingMethodID": 1,
"Title": "sample string 2",
"Price": 3.0,
"AddedDate": "2026-01-18T14:37:34.2333395-08:00",
"AddedBy": "sample string 4"
}
text/xml
Sample:
<ShippingMethodsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodeBhagat.DAL"> <AddedBy>sample string 4</AddedBy> <AddedDate>2026-01-18T14:37:34.2333395-08:00</AddedDate> <Price>3</Price> <ShippingMethodID>1</ShippingMethodID> <Title>sample string 2</Title> </ShippingMethodsData>