GET api/Product?prdid={prdid}&custid={custid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| prdid | integer |
Required |
|
| custid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AppProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| PrdID | integer |
None. |
|
| CatId | integer |
None. |
|
| SubCatId | integer |
None. |
|
| Category | string |
None. |
|
| SubCategory | string |
None. |
|
| PrdName | string |
None. |
|
| ShortDesc | string |
None. |
|
| LongDesc | string |
None. |
|
| SKU | string |
None. |
|
| MfgPartNumber | string |
None. |
|
| MRP | decimal number |
None. |
|
| FactoryPrice | decimal number |
None. |
|
| SalePrice | decimal number |
None. |
|
| PrdHSNCode | string |
None. |
|
| GstRate | decimal number |
None. |
|
| Unit | string |
None. |
|
| Active | boolean |
None. |
|
| BrandId | integer |
None. |
|
| Weight | string |
None. |
|
| Length | string |
None. |
|
| Width | string |
None. |
|
| Height | string |
None. |
|
| PrdType | string |
None. |
|
| Color | string |
None. |
|
| Trend | string |
None. |
|
| Design | string |
None. |
|
| Fabric | string |
None. |
|
| Stock | decimal number |
None. |
|
| MinOdr | decimal number |
None. |
|
| DistPrdImg | Collection of byte |
None. |
|
| StdDiscount | decimal number |
None. |
|
| SplDiscount | decimal number |
None. |
|
| SecCatId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PrdID": 1,
"CatId": 1,
"SubCatId": 1,
"Category": "sample string 2",
"SubCategory": "sample string 3",
"PrdName": "sample string 4",
"ShortDesc": "sample string 5",
"LongDesc": "sample string 6",
"SKU": "sample string 7",
"MfgPartNumber": "sample string 8",
"MRP": 1.0,
"FactoryPrice": 1.0,
"SalePrice": 1.0,
"PrdHSNCode": "sample string 9",
"GstRate": 1.0,
"Unit": "sample string 10",
"Active": true,
"BrandId": 1,
"Weight": "sample string 12",
"Length": "sample string 13",
"Width": "sample string 14",
"Height": "sample string 15",
"PrdType": "sample string 16",
"Color": "sample string 17",
"Trend": "sample string 18",
"Design": "sample string 19",
"Fabric": "sample string 20",
"Stock": 1.0,
"MinOdr": 1.0,
"DistPrdImg": "QEA=",
"StdDiscount": 1.0,
"SplDiscount": 1.0,
"SecCatId": 1
},
{
"PrdID": 1,
"CatId": 1,
"SubCatId": 1,
"Category": "sample string 2",
"SubCategory": "sample string 3",
"PrdName": "sample string 4",
"ShortDesc": "sample string 5",
"LongDesc": "sample string 6",
"SKU": "sample string 7",
"MfgPartNumber": "sample string 8",
"MRP": 1.0,
"FactoryPrice": 1.0,
"SalePrice": 1.0,
"PrdHSNCode": "sample string 9",
"GstRate": 1.0,
"Unit": "sample string 10",
"Active": true,
"BrandId": 1,
"Weight": "sample string 12",
"Length": "sample string 13",
"Width": "sample string 14",
"Height": "sample string 15",
"PrdType": "sample string 16",
"Color": "sample string 17",
"Trend": "sample string 18",
"Design": "sample string 19",
"Fabric": "sample string 20",
"Stock": 1.0,
"MinOdr": 1.0,
"DistPrdImg": "QEA=",
"StdDiscount": 1.0,
"SplDiscount": 1.0,
"SecCatId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfAppProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SatcapIndiaWebAPI.ViewModel">
<AppProduct>
<Active>true</Active>
<BrandId>1</BrandId>
<CatId>1</CatId>
<Category>sample string 2</Category>
<Color>sample string 17</Color>
<Design>sample string 19</Design>
<DistPrdImg>QEA=</DistPrdImg>
<Fabric>sample string 20</Fabric>
<FactoryPrice>1</FactoryPrice>
<GstRate>1</GstRate>
<Height>sample string 15</Height>
<Length>sample string 13</Length>
<LongDesc>sample string 6</LongDesc>
<MRP>1</MRP>
<MfgPartNumber>sample string 8</MfgPartNumber>
<MinOdr>1</MinOdr>
<PrdHSNCode>sample string 9</PrdHSNCode>
<PrdID>1</PrdID>
<PrdName>sample string 4</PrdName>
<PrdType>sample string 16</PrdType>
<SKU>sample string 7</SKU>
<SalePrice>1</SalePrice>
<SecCatId>1</SecCatId>
<ShortDesc>sample string 5</ShortDesc>
<SplDiscount>1</SplDiscount>
<StdDiscount>1</StdDiscount>
<Stock>1</Stock>
<SubCatId>1</SubCatId>
<SubCategory>sample string 3</SubCategory>
<Trend>sample string 18</Trend>
<Unit>sample string 10</Unit>
<Weight>sample string 12</Weight>
<Width>sample string 14</Width>
</AppProduct>
<AppProduct>
<Active>true</Active>
<BrandId>1</BrandId>
<CatId>1</CatId>
<Category>sample string 2</Category>
<Color>sample string 17</Color>
<Design>sample string 19</Design>
<DistPrdImg>QEA=</DistPrdImg>
<Fabric>sample string 20</Fabric>
<FactoryPrice>1</FactoryPrice>
<GstRate>1</GstRate>
<Height>sample string 15</Height>
<Length>sample string 13</Length>
<LongDesc>sample string 6</LongDesc>
<MRP>1</MRP>
<MfgPartNumber>sample string 8</MfgPartNumber>
<MinOdr>1</MinOdr>
<PrdHSNCode>sample string 9</PrdHSNCode>
<PrdID>1</PrdID>
<PrdName>sample string 4</PrdName>
<PrdType>sample string 16</PrdType>
<SKU>sample string 7</SKU>
<SalePrice>1</SalePrice>
<SecCatId>1</SecCatId>
<ShortDesc>sample string 5</ShortDesc>
<SplDiscount>1</SplDiscount>
<StdDiscount>1</StdDiscount>
<Stock>1</Stock>
<SubCatId>1</SubCatId>
<SubCategory>sample string 3</SubCategory>
<Trend>sample string 18</Trend>
<Unit>sample string 10</Unit>
<Weight>sample string 12</Weight>
<Width>sample string 14</Width>
</AppProduct>
</ArrayOfAppProduct>