POST API/AdminAPI/PostDispatchProducts

Request Information

URI Parameters

None.

Body Parameters

PostDispatchProductsRequestModel
NameDescriptionTypeAdditional information
LoginId

string

None.

StockId

string

None.

ProductId

string

None.

CustomerName

string

None.

InvoiceNumber

string

None.

Quantity

integer

None.

ReceivedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginId": "sample string 1",
  "StockId": "sample string 2",
  "ProductId": "sample string 3",
  "CustomerName": "sample string 4",
  "InvoiceNumber": "sample string 5",
  "Quantity": 6,
  "ReceivedDate": "2026-03-12T03:43:10.8229726+00:00"
}

application/xml, text/xml

Sample:
<PostDispatchProductsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UpstockAPIModels">
  <CustomerName>sample string 4</CustomerName>
  <InvoiceNumber>sample string 5</InvoiceNumber>
  <LoginId>sample string 1</LoginId>
  <ProductId>sample string 3</ProductId>
  <Quantity>6</Quantity>
  <ReceivedDate>2026-03-12T03:43:10.8229726+00:00</ReceivedDate>
  <StockId>sample string 2</StockId>
</PostDispatchProductsRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.