POST api/OMS/DispatchedNew

Request Information

URI Parameters

None.

Body Parameters

tblDispatched
NameDescriptionTypeAdditional information
StockEntryBy

integer

None.

OMSId

integer

None.

Type

integer

None.

objProductList

Collection of tblDispatchedProduct

None.

Request Formats

application/json, text/json

Sample:
{
  "StockEntryBy": 1,
  "OMSId": 2,
  "Type": 3,
  "objProductList": [
    {
      "BillProductMapId": 1,
      "Stock": 2
    },
    {
      "BillProductMapId": 1,
      "Stock": 2
    }
  ]
}

application/xml, text/xml

Sample:
<OMSEntity.tblDispatched xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Entity">
  <OMSId>2</OMSId>
  <StockEntryBy>1</StockEntryBy>
  <Type>3</Type>
  <objProductList>
    <OMSEntity.tblDispatchedProduct>
      <BillProductMapId>1</BillProductMapId>
      <Stock>2</Stock>
    </OMSEntity.tblDispatchedProduct>
    <OMSEntity.tblDispatchedProduct>
      <BillProductMapId>1</BillProductMapId>
      <Stock>2</Stock>
    </OMSEntity.tblDispatchedProduct>
  </objProductList>
</OMSEntity.tblDispatched>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OMSResponse
NameDescriptionTypeAdditional information
Result

integer

None.

ResponseMessage

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 1,
  "ResponseMessage": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<OMSEntity.OMSResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Entity">
  <Id>3</Id>
  <ResponseMessage>sample string 2</ResponseMessage>
  <Result>1</Result>
</OMSEntity.OMSResponse>