POST api/stockEntry/save-stock-delvery

Request Information

URI Parameters

None.

Body Parameters

StockDeliveryDTO
NameDescriptionTypeAdditional information
SaleOrderId

integer

None.

StockEntryId

integer

None.

Quantity

decimal number

None.

Description

string

None.

Status

boolean

None.

ReasonId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SaleOrderId": 1,
  "StockEntryId": 2,
  "Quantity": 3.0,
  "Description": "sample string 4",
  "Status": true,
  "ReasonId": 6
}

application/xml, text/xml

Sample:
<StockDeliveryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.StockEntries">
  <Description>sample string 4</Description>
  <Quantity>3</Quantity>
  <ReasonId>6</ReasonId>
  <SaleOrderId>1</SaleOrderId>
  <Status>true</Status>
  <StockEntryId>2</StockEntryId>
</StockDeliveryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>