GET api/OfferOnCart/GetOfferOnCartById/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OfferOnCart| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductId | integer |
None. |
|
| Product | string |
None. |
|
| SizeId | integer |
None. |
|
| Size | string |
None. |
|
| UnitId | integer |
None. |
|
| Unit | string |
None. |
|
| FromAmount | decimal number |
None. |
|
| ToAmount | decimal number |
None. |
|
| Amount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductId": 2,
"Product": "sample string 3",
"SizeId": 4,
"Size": "sample string 5",
"UnitId": 6,
"Unit": "sample string 7",
"FromAmount": 8.0,
"ToAmount": 9.0,
"Amount": 10.0
}
application/octet-stream
Sample:
{"$id":"1","Id":1,"ProductId":2,"Product":"sample string 3","SizeId":4,"Size":"sample string 5","UnitId":6,"Unit":"sample string 7","FromAmount":8.0,"ToAmount":9.0,"Amount":10.0}