POST api/Stock/InsertItemDetail

Request Information

URI Parameters

None.

Body Parameters

ItemRootObject
NameDescriptionTypeAdditional information
itemDetailList

itemDetailList

None.

Request Formats

application/json, text/json

Sample:
{
  "itemDetailList": {
    "ItemId": 1,
    "ItemName": "sample string 2",
    "Barcode": "sample string 3",
    "ImagePath": "sample string 4",
    "ItemNo": "sample string 5",
    "Size": "sample string 6",
    "CategoryId": 7,
    "SubCategoryId": 8,
    "ItemPrice": 9.0,
    "ItemQuantity": 10,
    "BranchId": 11,
    "UserId": 12,
    "IsActive": true
  }
}

application/xml, text/xml

Sample:
<ItemRootObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <itemDetailList>
    <Barcode>sample string 3</Barcode>
    <BranchId>11</BranchId>
    <CategoryId>7</CategoryId>
    <ImagePath>sample string 4</ImagePath>
    <IsActive>true</IsActive>
    <ItemId>1</ItemId>
    <ItemName>sample string 2</ItemName>
    <ItemNo>sample string 5</ItemNo>
    <ItemPrice>9</ItemPrice>
    <ItemQuantity>10</ItemQuantity>
    <Size>sample string 6</Size>
    <SubCategoryId>8</SubCategoryId>
    <UserId>12</UserId>
  </itemDetailList>
</ItemRootObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.