GET api/ProductVariant/GetProductDropDownDatawithVariantInfo
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ProductDropDownModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DropDownData | Collection of ProductDropDownData |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"DropDownData": [
{
"ProductID": 1,
"ProductName": "sample string 2",
"ProductVariantID": 3,
"ProducVariantName": "sample string 4",
"Barcode": "sample string 5"
},
{
"ProductID": 1,
"ProductName": "sample string 2",
"ProductVariantID": 3,
"ProducVariantName": "sample string 4",
"Barcode": "sample string 5"
}
],
"ResponseCode": 1,
"ResponseText": "sample string 2"
}
application/xml, text/xml
Sample:
<ProductDropDownModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
<ResponseCode>1</ResponseCode>
<ResponseText>sample string 2</ResponseText>
<DropDownData>
<ProductDropDownData>
<Barcode>sample string 5</Barcode>
<ProducVariantName>sample string 4</ProducVariantName>
<ProductID>1</ProductID>
<ProductName>sample string 2</ProductName>
<ProductVariantID>3</ProductVariantID>
</ProductDropDownData>
<ProductDropDownData>
<Barcode>sample string 5</Barcode>
<ProducVariantName>sample string 4</ProducVariantName>
<ProductID>1</ProductID>
<ProductName>sample string 2</ProductName>
<ProductVariantID>3</ProductVariantID>
</ProductDropDownData>
</DropDownData>
</ProductDropDownModel>