POST api/ProductManagement/Update

Update Product Details using UserProfile Model

Request Information

URI Parameters

None.

Body Parameters

User Profile Model

mlProduct
NamedescriptionTypeAdditional information
MLMProductSysID

integer

None.

MLMProductID

string

None.

MLMProductName

string

None.

MLMProductType

string

None.

MRP

decimal number

None.

ProductCost

decimal number

None.

IGST

decimal number

None.

CGST

decimal number

None.

SGST

decimal number

None.

Cost

decimal number

None.

PV

decimal number

None.

APV

decimal number

None.

PairAmount

decimal number

None.

Ceiling

decimal number

None.

DirectReferral

decimal number

None.

DeductionPerc

decimal number

None.

OrderLevel

integer

None.

Description

string

None.

ColorCode

string

None.

ImagePath

string

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 22",
  "CreatedDate": "sample string 23",
  "IsDeleted": true,
  "UpdatedBy": "sample string 24",
  "UpdatedDate": "sample string 25",
  "APV": 12,
  "BranchSysId": 21,
  "CGST": 8,
  "Ceiling": 14,
  "ColorCode": "sample string 19",
  "Cost": 10,
  "DeductionPerc": 16,
  "Description": "sample string 18",
  "DirectReferral": 15,
  "IGST": 7,
  "ImagePath": "sample string 20",
  "Locked": {
    "IsLocked": true,
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3"
  },
  "MLMProductID": "sample string 2",
  "MLMProductName": "sample string 3",
  "MLMProductSysID": 1,
  "MLMProductType": "sample string 4",
  "MRP": 5,
  "OrderLevel": 17,
  "PV": 11,
  "PairAmount": 13,
  "ProductCost": 6,
  "SGST": 9
}

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>
  <APV>12</APV>
  <BranchSysId>21</BranchSysId>
  <CGST>8</CGST>
  <Ceiling>14</Ceiling>
  <ColorCode>sample string 19</ColorCode>
  <Cost>10</Cost>
  <DeductionPerc>16</DeductionPerc>
  <Description>sample string 18</Description>
  <DirectReferral>15</DirectReferral>
  <IGST>7</IGST>
  <ImagePath>sample string 20</ImagePath>
  <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>
  <MLMProductID>sample string 2</MLMProductID>
  <MLMProductName>sample string 3</MLMProductName>
  <MLMProductSysID>1</MLMProductSysID>
  <MLMProductType>sample string 4</MLMProductType>
  <MRP>5</MRP>
  <OrderLevel>17</OrderLevel>
  <PV>11</PV>
  <PairAmount>13</PairAmount>
  <ProductCost>6</ProductCost>
  <SGST>9</SGST>
</mlProduct>

response Information

Resource description

"Product Updated Successfully

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.