POST api/ProductApi/Post_itemmaster_for_save_update

Request Information

URI Parameters

None.

Body Parameters

clsProduct
NameDescriptionTypeAdditional information
ItemId

string

None.

ItemName

string

None.

BinNo

string

None.

GroupId

string

None.

GroupName

string

None.

SubGroupId

string

None.

SubGroupName

string

None.

CommodityId

string

None.

CommodityName

string

None.

MakeId

string

None.

MakeName

string

None.

ShName1

string

None.

ShName2

string

None.

cgstper

string

None.

sgstper

string

None.

CstPer

string

None.

UnitPerCase

string

None.

UnitPerBox

string

None.

WtInKg

string

None.

ShadeWise

boolean

None.

Remarks

string

None.

SerialNo

string

None.

IsActive

boolean

None.

MrpDisc

string

None.

TaxId

string

None.

TaxName

string

None.

PrintName

string

None.

PackName

string

None.

HSNCODE

string

None.

BarCode

string

None.

WholeSellerMargin

string

None.

RetailerMargin

string

None.

Mrp

string

None.

Stock

string

None.

rate

string

None.

Batchno

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemId": "sample string 1",
  "ItemName": "sample string 2",
  "BinNo": "sample string 3",
  "GroupId": "sample string 4",
  "GroupName": "sample string 5",
  "SubGroupId": "sample string 6",
  "SubGroupName": "sample string 7",
  "CommodityId": "sample string 8",
  "CommodityName": "sample string 9",
  "MakeId": "sample string 10",
  "MakeName": "sample string 11",
  "ShName1": "sample string 12",
  "ShName2": "sample string 13",
  "cgstper": "sample string 14",
  "sgstper": "sample string 15",
  "CstPer": "sample string 16",
  "UnitPerCase": "sample string 17",
  "UnitPerBox": "sample string 18",
  "WtInKg": "sample string 19",
  "ShadeWise": true,
  "Remarks": "sample string 21",
  "SerialNo": "sample string 22",
  "IsActive": true,
  "MrpDisc": "sample string 24",
  "TaxId": "sample string 25",
  "TaxName": "sample string 26",
  "PrintName": "sample string 27",
  "PackName": "sample string 28",
  "HSNCODE": "sample string 29",
  "BarCode": "sample string 30",
  "WholeSellerMargin": "sample string 31",
  "RetailerMargin": "sample string 32",
  "Mrp": "sample string 33",
  "Stock": "sample string 34",
  "rate": "sample string 35",
  "Batchno": "sample string 36",
  "Database": "sample string 37",
  "Compcode": "sample string 38",
  "EventType": "sample string 39"
}

application/xml, text/xml

Sample:
<clsProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <BarCode>sample string 30</BarCode>
  <Batchno>sample string 36</Batchno>
  <BinNo>sample string 3</BinNo>
  <CommodityId>sample string 8</CommodityId>
  <CommodityName>sample string 9</CommodityName>
  <Compcode>sample string 38</Compcode>
  <CstPer>sample string 16</CstPer>
  <Database>sample string 37</Database>
  <EventType>sample string 39</EventType>
  <GroupId>sample string 4</GroupId>
  <GroupName>sample string 5</GroupName>
  <HSNCODE>sample string 29</HSNCODE>
  <IsActive>true</IsActive>
  <ItemId>sample string 1</ItemId>
  <ItemName>sample string 2</ItemName>
  <MakeId>sample string 10</MakeId>
  <MakeName>sample string 11</MakeName>
  <Mrp>sample string 33</Mrp>
  <MrpDisc>sample string 24</MrpDisc>
  <PackName>sample string 28</PackName>
  <PrintName>sample string 27</PrintName>
  <Remarks>sample string 21</Remarks>
  <RetailerMargin>sample string 32</RetailerMargin>
  <SerialNo>sample string 22</SerialNo>
  <ShName1>sample string 12</ShName1>
  <ShName2>sample string 13</ShName2>
  <ShadeWise>true</ShadeWise>
  <Stock>sample string 34</Stock>
  <SubGroupId>sample string 6</SubGroupId>
  <SubGroupName>sample string 7</SubGroupName>
  <TaxId>sample string 25</TaxId>
  <TaxName>sample string 26</TaxName>
  <UnitPerBox>sample string 18</UnitPerBox>
  <UnitPerCase>sample string 17</UnitPerCase>
  <WholeSellerMargin>sample string 31</WholeSellerMargin>
  <WtInKg>sample string 19</WtInKg>
  <cgstper>sample string 14</cgstper>
  <rate>sample string 35</rate>
  <sgstper>sample string 15</sgstper>
</clsProduct>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>