POST api/ProductManagement/Update
Update Product Details using UserProfile Model
Request Information
URI Parameters
None.
Body Parameters
User Profile Model
mlProduct| Name | description | Type | Additional information |
|---|---|---|---|
| ProductSysID | integer |
None. |
|
| ProductCode | string |
None. |
|
| HSNCode | string |
None. |
|
| ProductName | string |
None. |
|
| ProductType | string |
None. |
|
| AffiliateCategorySysID | integer |
None. |
|
| SalesType | string |
None. |
|
| MiniStock | integer |
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. |
|
| DiscountAmount | decimal number |
None. |
|
| CourierCharge | decimal number |
None. |
|
| ReorderLevel | integer |
None. |
|
| BranchSysId | integer |
None. |
|
| VendorSysID | integer |
None. |
|
| Locked | mlLockedDetails |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | string |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | string |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CreatedBy": "sample string 22",
"CreatedDate": "sample string 23",
"IsDeleted": true,
"UpdatedBy": "sample string 24",
"UpdatedDate": "sample string 25",
"AffiliateCategorySysID": 6,
"BranchSysId": 20,
"CGST": 13,
"CourierCharge": 18,
"DiscountAmount": 17,
"DiscountPerc": 9,
"HSNCode": "sample string 3",
"IGST": 12,
"Locked": {
"IsLocked": true,
"LockedBy": "sample string 1",
"LockedDate": "sample string 2",
"LockedReason": "sample string 3"
},
"MRP": 10,
"MiniStock": 8,
"PointValue": 16,
"ProductCode": "sample string 2",
"ProductCost": 11,
"ProductName": "sample string 4",
"ProductSysID": 1,
"ProductType": "sample string 5",
"ReorderLevel": 19,
"SGST": 14,
"SalesCost": 15,
"SalesType": "sample string 7",
"VendorSysID": 21
}
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 22</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 23</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 24</UpdatedBy>
<UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 25</UpdatedDate>
<AffiliateCategorySysID>6</AffiliateCategorySysID>
<BranchSysId>20</BranchSysId>
<CGST>13</CGST>
<CourierCharge>18</CourierCharge>
<DiscountAmount>17</DiscountAmount>
<DiscountPerc>9</DiscountPerc>
<HSNCode>sample string 3</HSNCode>
<IGST>12</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>10</MRP>
<MiniStock>8</MiniStock>
<PointValue>16</PointValue>
<ProductCode>sample string 2</ProductCode>
<ProductCost>11</ProductCost>
<ProductName>sample string 4</ProductName>
<ProductSysID>1</ProductSysID>
<ProductType>sample string 5</ProductType>
<ReorderLevel>19</ReorderLevel>
<SGST>14</SGST>
<SalesCost>15</SalesCost>
<SalesType>sample string 7</SalesType>
<VendorSysID>21</VendorSysID>
</mlProduct>
response Information
Resource description
"Product Updated Successfully
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |