POST api/ProductDetails/InsertProductVariancedetails?ProductId={ProductId}&AdminId={AdminId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
Required |
|
| AdminId | integer |
Required |
Body Parameters
Collection of clientProductVariance| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductVarianceId | integer |
None. |
|
| VarianceType | string |
None. |
|
| VariancePrice | decimal number |
None. |
|
| sellingPrice | decimal number |
None. |
|
| ImageUrl | string |
None. |
|
| VarianceActive | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ProductVarianceId": 1,
"VarianceType": "sample string 2",
"VariancePrice": 3.0,
"sellingPrice": 4.0,
"ImageUrl": "sample string 5",
"VarianceActive": 1
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.