GET api/Product/GetProductMappedOptionIncludedValues?productId={productId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OptionValueViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OptionID | integer |
None. |
|
| ValueID | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"OptionID": 1,
"ValueID": 2
},
{
"OptionID": 1,
"ValueID": 2
}
]
application/xml, text/xml
Sample:
<ArrayOfOptionValueViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products">
<OptionValueViewModel>
<OptionID>1</OptionID>
<ValueID>2</ValueID>
</OptionValueViewModel>
<OptionValueViewModel>
<OptionID>1</OptionID>
<ValueID>2</ValueID>
</OptionValueViewModel>
</ArrayOfOptionValueViewModel>