POST api/TLSProduct/ProductLock?Mode={Mode}
Request Information
URI Parameters
Name | description | Type | Additional information |
---|---|---|---|
Mode | string |
Required |
Body Parameters
mltlsProductName | description | Type | Additional information |
---|---|---|---|
ProductSysID | integer |
None. |
|
PortalSysId | integer |
None. |
|
ProductCode | string |
None. |
|
TitleDescription | string |
None. |
|
HSNCode | string |
None. |
|
ProductName | string |
None. |
|
CategorySysID | 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. |
|
BranchSysId | integer |
None. |
|
ReorderLevel | 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", "BranchSysId": 18, "CGST": 12, "CategorySysID": 7, "CourierCharge": 17, "DiscountAmount": 16, "DiscountPerc": 8, "HSNCode": "sample string 5", "IGST": 11, "Locked": { "IsLocked": true, "LockedBy": "sample string 1", "LockedDate": "sample string 2", "LockedReason": "sample string 3" }, "MRP": 9, "PointValue": 15, "PortalSysId": 2, "ProductCode": "sample string 3", "ProductCost": 10, "ProductName": "sample string 6", "ProductSysID": 1, "ReorderLevel": 19, "SGST": 13, "SalesCost": 14, "TitleDescription": "sample string 4" }
application/xml, text/xml
Sample:
<mltlsProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.TLSProduct"> <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> <BranchSysId>18</BranchSysId> <CGST>12</CGST> <CategorySysID>7</CategorySysID> <CourierCharge>17</CourierCharge> <DiscountAmount>16</DiscountAmount> <DiscountPerc>8</DiscountPerc> <HSNCode>sample string 5</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> <PortalSysId>2</PortalSysId> <ProductCode>sample string 3</ProductCode> <ProductCost>10</ProductCost> <ProductName>sample string 6</ProductName> <ProductSysID>1</ProductSysID> <ReorderLevel>19</ReorderLevel> <SGST>13</SGST> <SalesCost>14</SalesCost> <TitleDescription>sample string 4</TitleDescription> </mltlsProduct>
response Information
Resource description
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |