POST api/ProductManagement/Update
Update Product Details using UserProfile Model
Request Information
URI Parameters
None.
Body Parameters
User Profile Model
mlProductName | 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. |
|
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. |
|
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 20", "CreatedDate": "sample string 21", "IsDeleted": true, "UpdatedBy": "sample string 22", "UpdatedDate": "sample string 23", "AffiliateCategorySysID": 6, "BranchSysId": 19, "CGST": 12, "CourierCharge": 17, "DiscountAmount": 16, "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": 18, "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 20</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 21</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 22</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 23</UpdatedDate> <AffiliateCategorySysID>6</AffiliateCategorySysID> <BranchSysId>19</BranchSysId> <CGST>12</CGST> <CourierCharge>17</CourierCharge> <DiscountAmount>16</DiscountAmount> <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>18</ReorderLevel> <SGST>13</SGST> <SalesCost>14</SalesCost> <SalesType>sample string 7</SalesType> </mlProduct>
response Information
Resource description
"Product Updated Successfully
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |