POST api/ProductManagement/ProductCreate

Request Information

URI Parameters

None.

Body Parameters

mlProduct1
NamedescriptionTypeAdditional information
VendorSysID

integer

None.

ProductSysID

integer

None.

ProductCode

string

None.

ProductName

string

None.

ProductType

string

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.

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 19",
  "CreatedDate": "sample string 20",
  "IsDeleted": true,
  "UpdatedBy": "sample string 21",
  "UpdatedDate": "sample string 22",
  "BranchSysId": 18,
  "CGST": 12,
  "CourierCharge": 17,
  "DiscountAmount": 16,
  "DiscountPerc": 8,
  "IGST": 11,
  "Locked": {
    "IsLocked": true,
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3"
  },
  "MRP": 9,
  "MiniStock": 7,
  "PointValue": 15,
  "ProductCode": "sample string 3",
  "ProductCost": 10,
  "ProductName": "sample string 4",
  "ProductSysID": 2,
  "ProductType": "sample string 5",
  "SGST": 13,
  "SalesCost": 14,
  "SalesType": "sample string 6",
  "VendorSysID": 1
}

application/xml, text/xml

Sample:
<mlProduct1 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 19</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 20</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 21</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 22</UpdatedDate>
  <BranchSysId>18</BranchSysId>
  <CGST>12</CGST>
  <CourierCharge>17</CourierCharge>
  <DiscountAmount>16</DiscountAmount>
  <DiscountPerc>8</DiscountPerc>
  <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>
  <MiniStock>7</MiniStock>
  <PointValue>15</PointValue>
  <ProductCode>sample string 3</ProductCode>
  <ProductCost>10</ProductCost>
  <ProductName>sample string 4</ProductName>
  <ProductSysID>2</ProductSysID>
  <ProductType>sample string 5</ProductType>
  <SGST>13</SGST>
  <SalesCost>14</SalesCost>
  <SalesType>sample string 6</SalesType>
  <VendorSysID>1</VendorSysID>
</mlProduct1>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.