POST api/SizeRate/AddSizeRate
Request Information
URI Parameters
None.
Body Parameters
SizeRateName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductId | integer |
None. |
|
SizeId | integer |
None. |
|
Size | string |
None. |
|
Rate | string |
None. |
|
Status | string |
None. |
|
Instock | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductId": 2, "SizeId": 3, "Size": "sample string 4", "Rate": "sample string 5", "Status": "sample string 6", "Instock": "sample string 7" }
application/xml, text/xml
Sample:
<SizeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <Id>1</Id> <Instock>sample string 7</Instock> <ProductId>2</ProductId> <Rate>sample string 5</Rate> <Size>sample string 4</Size> <SizeId>3</SizeId> <Status>sample string 6</Status> </SizeRate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.