POST API/AdminAPI/PostIncomingProducts

Request Information

URI Parameters

None.

Body Parameters

PostIncomingProductsRequestModel
NameDescriptionTypeAdditional information
LoginId

string

None.

ProductId

string

None.

WarehouseId

string

None.

SupplierName

string

None.

InvoiceNumber

string

None.

LotNo

string

None.

ExpiryDate

date

None.

Quantity

integer

None.

ReceivedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginId": "sample string 1",
  "ProductId": "sample string 2",
  "WarehouseId": "sample string 3",
  "SupplierName": "sample string 4",
  "InvoiceNumber": "sample string 5",
  "LotNo": "sample string 6",
  "ExpiryDate": "2026-03-12T03:46:34.8187083+00:00",
  "Quantity": 8,
  "ReceivedDate": "2026-03-12T03:46:34.8187083+00:00"
}

application/xml, text/xml

Sample:
<PostIncomingProductsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UpstockAPIModels">
  <ExpiryDate>2026-03-12T03:46:34.8187083+00:00</ExpiryDate>
  <InvoiceNumber>sample string 5</InvoiceNumber>
  <LoginId>sample string 1</LoginId>
  <LotNo>sample string 6</LotNo>
  <ProductId>sample string 2</ProductId>
  <Quantity>8</Quantity>
  <ReceivedDate>2026-03-12T03:46:34.8187083+00:00</ReceivedDate>
  <SupplierName>sample string 4</SupplierName>
  <WarehouseId>sample string 3</WarehouseId>
</PostIncomingProductsRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.