POST api/InsertStockEntry

Request Information

URI Parameters

None.

Body Parameters

tblStockEntry
NameDescriptionTypeAdditional information
StockEntryID

integer

None.

ItemID

integer

None.

Qty

decimal number

None.

EntryDate

date

None.

StoreID

integer

None.

UserID

integer

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "StockEntryID": 1,
  "ItemID": 1,
  "Qty": 2.0,
  "EntryDate": "2026-02-03T13:08:34.9356473+05:30",
  "StoreID": 4,
  "UserID": 1,
  "CreatedDate": "2026-02-03T13:08:34.9356473+05:30"
}

application/xml, text/xml

Sample:
<tblStockEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory">
  <CreatedDate>2026-02-03T13:08:34.9356473+05:30</CreatedDate>
  <EntryDate>2026-02-03T13:08:34.9356473+05:30</EntryDate>
  <ItemID>1</ItemID>
  <Qty>2</Qty>
  <StockEntryID>1</StockEntryID>
  <StoreID>4</StoreID>
  <UserID>1</UserID>
</tblStockEntry>

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

Response Information

Resource Description

JsonResponse
NameDescriptionTypeAdditional information
Status_Code

string

None.

Status

string

None.

Message

string

None.

Data

Object

None.

Error_Field

string

None.

Api_Type

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_Code": "sample string 1",
  "Status": "sample string 2",
  "Message": "sample string 3",
  "Data": {},
  "Error_Field": "sample string 5",
  "Api_Type": "sample string 6"
}

application/xml, text/xml

Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory.Models">
  <Api_Type>sample string 6</Api_Type>
  <Data />
  <Error_Field>sample string 5</Error_Field>
  <Message>sample string 3</Message>
  <Status>sample string 2</Status>
  <Status_Code>sample string 1</Status_Code>
</JsonResponse>