POST api/ProductManagement/PackageCreation
Package Insertion
Request Information
URI Parameters
None.
Body Parameters
mlPackageInputDataName | description | Type | Additional information |
---|---|---|---|
Packagedata | MLMProductMaster |
None. |
|
PackageTransdata | Collection of MLMProductTrans |
None. |
Request Formats
application/json, text/json
Sample:
{ "PackageTransdata": [ { "CreatedBy": "sample string 14", "CreatedDate": "sample string 15", "IsDeleted": true, "UpdatedBy": "sample string 16", "UpdatedDate": "sample string 17", "CGST": 8, "DiscountPerc": 5, "IGST": 7, "IsFree": true, "MLMProductSysID": 1, "MRP": 4, "OrderBy": 13, "PointValue": 11, "ProductCost": 6, "ProductSysID": 2, "Quantity": 3, "SGST": 9, "SalesCost": 10 }, { "CreatedBy": "sample string 14", "CreatedDate": "sample string 15", "IsDeleted": true, "UpdatedBy": "sample string 16", "UpdatedDate": "sample string 17", "CGST": 8, "DiscountPerc": 5, "IGST": 7, "IsFree": true, "MLMProductSysID": 1, "MRP": 4, "OrderBy": 13, "PointValue": 11, "ProductCost": 6, "ProductSysID": 2, "Quantity": 3, "SGST": 9, "SalesCost": 10 } ], "Packagedata": { "CreatedBy": "sample string 21", "CreatedDate": "sample string 22", "IsDeleted": true, "UpdatedBy": "sample string 23", "UpdatedDate": "sample string 24", "APV": 12, "BranchSysId": 17, "CGST": 8, "Ceiling": 6, "ColorCode": "sample string 15", "Cost": 3, "CourierCharge": 20, "DeductionPerc": 14, "DirectReferral": 13, "IGST": 7, "ImagePath": "sample string 11", "MLMProductID": "sample string 10", "MLMProductName": "sample string 1", "MLMProductType": "sample string 2", "MRP": 18, "OrderLevel": 16, "PV": 4, "PairAmount": 5, "ProductCost": 19, "SGST": 9 } }
application/xml, text/xml
Sample:
<mlPackageInputData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Product"> <PackageTransdata> <MLMProductTrans> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 14</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 15</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 16</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 17</UpdatedDate> <CGST>8</CGST> <DiscountPerc>5</DiscountPerc> <IGST>7</IGST> <IsFree>true</IsFree> <MLMProductSysID>1</MLMProductSysID> <MRP>4</MRP> <OrderBy>13</OrderBy> <PointValue>11</PointValue> <ProductCost>6</ProductCost> <ProductSysID>2</ProductSysID> <Quantity>3</Quantity> <SGST>9</SGST> <SalesCost>10</SalesCost> </MLMProductTrans> <MLMProductTrans> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 14</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 15</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 16</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 17</UpdatedDate> <CGST>8</CGST> <DiscountPerc>5</DiscountPerc> <IGST>7</IGST> <IsFree>true</IsFree> <MLMProductSysID>1</MLMProductSysID> <MRP>4</MRP> <OrderBy>13</OrderBy> <PointValue>11</PointValue> <ProductCost>6</ProductCost> <ProductSysID>2</ProductSysID> <Quantity>3</Quantity> <SGST>9</SGST> <SalesCost>10</SalesCost> </MLMProductTrans> </PackageTransdata> <Packagedata> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 21</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 22</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 23</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 24</UpdatedDate> <APV>12</APV> <BranchSysId>17</BranchSysId> <CGST>8</CGST> <Ceiling>6</Ceiling> <ColorCode>sample string 15</ColorCode> <Cost>3</Cost> <CourierCharge>20</CourierCharge> <DeductionPerc>14</DeductionPerc> <DirectReferral>13</DirectReferral> <IGST>7</IGST> <ImagePath>sample string 11</ImagePath> <MLMProductID>sample string 10</MLMProductID> <MLMProductName>sample string 1</MLMProductName> <MLMProductType>sample string 2</MLMProductType> <MRP>18</MRP> <OrderLevel>16</OrderLevel> <PV>4</PV> <PairAmount>5</PairAmount> <ProductCost>19</ProductCost> <SGST>9</SGST> </Packagedata> </mlPackageInputData>
response Information
Resource description
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |