POST api/v1/SaveItem

Request Information

URI Parameters

None.

Body Parameters

ProductSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

CompID

integer

None.

LocID

integer

None.

FestID

integer

None.

ProdID

integer

None.

UOMID

integer

None.

TaxonomyID

integer

None.

ProdGroupID

integer

None.

ProductName

string

None.

CalcMethod

string

None.

ProdRate

decimal number

None.

OnlineRate

decimal number

None.

TakeawayRate

decimal number

None.

HSNCode

string

None.

CGSTPer

decimal number

None.

SGSTPer

decimal number

None.

effDate

date

None.

StockItem

boolean

None.

Editable

boolean

None.

Unit

string

None.

CorL

string

None.

ItemType

string

None.

json

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "CompID": 2,
  "LocID": 3,
  "FestID": 4,
  "ProdID": 5,
  "UOMID": 6,
  "TaxonomyID": 7,
  "ProdGroupID": 8,
  "ProductName": "sample string 9",
  "CalcMethod": "sample string 10",
  "ProdRate": 11.0,
  "OnlineRate": 12.0,
  "TakeawayRate": 13.0,
  "HSNCode": "sample string 14",
  "CGSTPer": 15.0,
  "SGSTPer": 16.0,
  "effDate": "2025-12-15T02:55:57.9291147+05:30",
  "StockItem": true,
  "Editable": true,
  "Unit": "sample string 20",
  "CorL": "sample string 21",
  "ItemType": "sample string 22",
  "json": "sample string 23"
}

application/xml, text/xml

Sample:
<ProductSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CGSTPer>15</CGSTPer>
  <CalcMethod>sample string 10</CalcMethod>
  <CompID>2</CompID>
  <CorL>sample string 21</CorL>
  <Editable>true</Editable>
  <FestID>4</FestID>
  <HSNCode>sample string 14</HSNCode>
  <ItemType>sample string 22</ItemType>
  <LocID>3</LocID>
  <Mode>sample string 1</Mode>
  <OnlineRate>12</OnlineRate>
  <ProdGroupID>8</ProdGroupID>
  <ProdID>5</ProdID>
  <ProdRate>11</ProdRate>
  <ProductName>sample string 9</ProductName>
  <SGSTPer>16</SGSTPer>
  <StockItem>true</StockItem>
  <TakeawayRate>13</TakeawayRate>
  <TaxonomyID>7</TaxonomyID>
  <UOMID>6</UOMID>
  <Unit>sample string 20</Unit>
  <effDate>2025-12-15T02:55:57.9291147+05:30</effDate>
  <json>sample string 23</json>
</ProductSaveInput>

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 'ProductSaveInput'.

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.