POST api/v1/ItemSave

Request Information

URI Parameters

None.

Body Parameters

ProdSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

GroupID

integer

None.

ItemID

integer

None.

LocID

integer

None.

ItemName

string

None.

ItemType

integer

None.

CalcMethod

string

None.

UOM

string

None.

EffectiveDate

date

None.

HSNNo

string

None.

CGSTPer

decimal number

None.

SGSTPer

decimal number

None.

RestID

integer

None.

UserID

integer

None.

SellingRate

decimal number

None.

StockItem

boolean

None.

DiscAllowed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "GroupID": 2,
  "ItemID": 3,
  "LocID": 4,
  "ItemName": "sample string 5",
  "ItemType": 6,
  "CalcMethod": "sample string 7",
  "UOM": "sample string 8",
  "EffectiveDate": "2025-12-10T12:34:44.8081793+05:30",
  "HSNNo": "sample string 10",
  "CGSTPer": 11.0,
  "SGSTPer": 12.0,
  "RestID": 13,
  "UserID": 14,
  "SellingRate": 15.0,
  "StockItem": true,
  "DiscAllowed": true
}

application/xml, text/xml

Sample:
<ProdSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CGSTPer>11</CGSTPer>
  <CalcMethod>sample string 7</CalcMethod>
  <DiscAllowed>true</DiscAllowed>
  <EffectiveDate>2025-12-10T12:34:44.8081793+05:30</EffectiveDate>
  <GroupID>2</GroupID>
  <HSNNo>sample string 10</HSNNo>
  <ItemID>3</ItemID>
  <ItemName>sample string 5</ItemName>
  <ItemType>6</ItemType>
  <LocID>4</LocID>
  <Mode>sample string 1</Mode>
  <RestID>13</RestID>
  <SGSTPer>12</SGSTPer>
  <SellingRate>15</SellingRate>
  <StockItem>true</StockItem>
  <UOM>sample string 8</UOM>
  <UserID>14</UserID>
</ProdSaveInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProdSaveInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.