POST api/Stock/StockCount

Stock count of an Item

Request Information

URI Parameters

None.

Body Parameters

StockCount model

StockCount
NameDescriptionTypeAdditional information
Itemcode

string

Required

Warehouse

string

Required

WarehouseLocation

string

None.

Quantity

decimal number

Required

EntryNumber

string

None.

Description

string

None.

GLAccountCost

string

None.

Project

string

None.

ProcessDate

date

None.

Status

boolean

None.

ErrorMessages

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Itemcode": "sample string 1",
  "Warehouse": "sample string 2",
  "WarehouseLocation": "sample string 3",
  "Quantity": 4.1,
  "EntryNumber": "sample string 5",
  "Description": "sample string 6",
  "GLAccountCost": "sample string 7",
  "Project": "sample string 8",
  "ProcessDate": "2021-04-15T06:58:00.3485319+02:00",
  "Status": true,
  "ErrorMessages": "sample string 9"
}

application/xml, text/xml

Sample:
<StockCount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Itemcode>sample string 1</Itemcode>
  <Warehouse>sample string 2</Warehouse>
  <WarehouseLocation>sample string 3</WarehouseLocation>
  <Quantity>4.1</Quantity>
  <EntryNumber>sample string 5</EntryNumber>
  <Description>sample string 6</Description>
  <GLAccountCost>sample string 7</GLAccountCost>
  <Project>sample string 8</Project>
  <ProcessDate>2021-04-15T06:58:00.3485319+02:00</ProcessDate>
  <Status>true</Status>
  <ErrorMessages>sample string 9</ErrorMessages>
</StockCount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StockCount

StockCount
NameDescriptionTypeAdditional information
Itemcode

string

Required

Warehouse

string

Required

WarehouseLocation

string

None.

Quantity

decimal number

Required

EntryNumber

string

None.

Description

string

None.

GLAccountCost

string

None.

Project

string

None.

ProcessDate

date

None.

Status

boolean

None.

ErrorMessages

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Itemcode": "sample string 1",
  "Warehouse": "sample string 2",
  "WarehouseLocation": "sample string 3",
  "Quantity": 4.1,
  "EntryNumber": "sample string 5",
  "Description": "sample string 6",
  "GLAccountCost": "sample string 7",
  "Project": "sample string 8",
  "ProcessDate": "2021-04-15T06:58:00.3797842+02:00",
  "Status": true,
  "ErrorMessages": "sample string 9"
}

application/xml, text/xml

Sample:
<StockCount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Itemcode>sample string 1</Itemcode>
  <Warehouse>sample string 2</Warehouse>
  <WarehouseLocation>sample string 3</WarehouseLocation>
  <Quantity>4.1</Quantity>
  <EntryNumber>sample string 5</EntryNumber>
  <Description>sample string 6</Description>
  <GLAccountCost>sample string 7</GLAccountCost>
  <Project>sample string 8</Project>
  <ProcessDate>2021-04-15T06:58:00.3797842+02:00</ProcessDate>
  <Status>true</Status>
  <ErrorMessages>sample string 9</ErrorMessages>
</StockCount>