GET api/ReportServer/produc_info/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfProductInfoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | ProductInfoModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": {
"Code": 1,
"PTC": 2,
"ClusterName": "sample string 3",
"GroupName": "sample string 4",
"Division": "sample string 5",
"SkuName": "sample string 6",
"Style": "sample string 7",
"PrintName": "sample string 8",
"Vendor": "sample string 9",
"BrandName": "sample string 10",
"SalesPrice1": 11.1,
"flatDiscAmt": 12.1,
"AvgCost": 13.1,
"StockRate": 14.1,
"LastInwardDOT": "sample string 15",
"LastPQty": 16.1,
"Remark1": "sample string 17",
"Remark2": "sample string 18",
"Remark3": "sample string 19",
"PurchaseQty": 20.1,
"SalesQty": 21.1,
"Stock": 22.1,
"ImageLink": "sample string 23"
}
}
application/xml, text/xml
Sample:
<ResultModelOfProductInfoModelC6pxiZC7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v2SeApi.Models">
<Data>
<AvgCost>13.1</AvgCost>
<BrandName>sample string 10</BrandName>
<ClusterName>sample string 3</ClusterName>
<Code>1</Code>
<Division>sample string 5</Division>
<GroupName>sample string 4</GroupName>
<ImageLink>sample string 23</ImageLink>
<LastInwardDOT>sample string 15</LastInwardDOT>
<LastPQty>16.1</LastPQty>
<PTC>2</PTC>
<PrintName>sample string 8</PrintName>
<PurchaseQty>20.1</PurchaseQty>
<Remark1>sample string 17</Remark1>
<Remark2>sample string 18</Remark2>
<Remark3>sample string 19</Remark3>
<SalesPrice1>11.1</SalesPrice1>
<SalesQty>21.1</SalesQty>
<SkuName>sample string 6</SkuName>
<Stock>22.1</Stock>
<StockRate>14.1</StockRate>
<Style>sample string 7</Style>
<Vendor>sample string 9</Vendor>
<flatDiscAmt>12.1</flatDiscAmt>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfProductInfoModelC6pxiZC7>