GET api/ProductManagement/Read/{KeyValue}
Get Product Details Using a Keyvalue
Request Information
URI Parameters
| Name | description | Type | Additional information |
|---|---|---|---|
| KeyValue |
Identifier Value |
integer |
Required |
Body Parameters
None.
response Information
Resource description
It Returns UserProfile Model
mlProduct| Name | description | Type | Additional information |
|---|---|---|---|
| ProductSysID | integer |
None. |
|
| ProductCode | string |
None. |
|
| HSNCode | string |
None. |
|
| ProductName | string |
None. |
|
| ProductType | string |
None. |
|
| CategorySysID | integer |
None. |
|
| SalesType | string |
None. |
|
| DiscountPerc | decimal number |
None. |
|
| MRP | decimal number |
None. |
|
| ProductCost | decimal number |
None. |
|
| IGST | decimal number |
None. |
|
| CGST | decimal number |
None. |
|
| SGST | decimal number |
None. |
|
| SalesCost | decimal number |
None. |
|
| PointValue | decimal number |
None. |
|
| ReorderLevel | integer |
None. |
|
| BranchSysId | integer |
None. |
|
| Locked | mlLockedDetails |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | string |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | string |
None. |
|
| IsDeleted | boolean |
None. |
response Formats
application/json, text/json
Sample:
{
"CreatedBy": "sample string 18",
"CreatedDate": "sample string 19",
"IsDeleted": true,
"UpdatedBy": "sample string 20",
"UpdatedDate": "sample string 21",
"BranchSysId": 17,
"CGST": 12,
"CategorySysID": 6,
"DiscountPerc": 8,
"HSNCode": "sample string 3",
"IGST": 11,
"Locked": {
"IsLocked": true,
"LockedBy": "sample string 1",
"LockedDate": "sample string 2",
"LockedReason": "sample string 3"
},
"MRP": 9,
"PointValue": 15,
"ProductCode": "sample string 2",
"ProductCost": 10,
"ProductName": "sample string 4",
"ProductSysID": 1,
"ProductType": "sample string 5",
"ReorderLevel": 16,
"SGST": 13,
"SalesCost": 14,
"SalesType": "sample string 7"
}
application/xml, text/xml
Sample:
<mlProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Product">
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 18</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 19</CreatedDate>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">true</IsDeleted>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 20</UpdatedBy>
<UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 21</UpdatedDate>
<BranchSysId>17</BranchSysId>
<CGST>12</CGST>
<CategorySysID>6</CategorySysID>
<DiscountPerc>8</DiscountPerc>
<HSNCode>sample string 3</HSNCode>
<IGST>11</IGST>
<Locked xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">
<d2p1:IsLocked>true</d2p1:IsLocked>
<d2p1:LockedBy>sample string 1</d2p1:LockedBy>
<d2p1:LockedDate>sample string 2</d2p1:LockedDate>
<d2p1:LockedReason>sample string 3</d2p1:LockedReason>
</Locked>
<MRP>9</MRP>
<PointValue>15</PointValue>
<ProductCode>sample string 2</ProductCode>
<ProductCost>10</ProductCost>
<ProductName>sample string 4</ProductName>
<ProductSysID>1</ProductSysID>
<ProductType>sample string 5</ProductType>
<ReorderLevel>16</ReorderLevel>
<SGST>13</SGST>
<SalesCost>14</SalesCost>
<SalesType>sample string 7</SalesType>
</mlProduct>