POST api/OMS/DispatchedByPart
Request Information
URI Parameters
None.
Body Parameters
tblDispatchedByParty| Name | Description | Type | Additional information |
|---|---|---|---|
| StockEntryBy | integer |
None. |
|
| OMSId | Collection of integer |
None. |
|
| objProductList | Collection of tblDispatchedProductByParty |
None. |
Request Formats
application/json, text/json
Sample:
{
"StockEntryBy": 1,
"OMSId": [
1,
2
],
"objProductList": [
{
"BillProductMapId": [
1,
2
],
"QCStock": 1,
"BillStock": 2
},
{
"BillProductMapId": [
1,
2
],
"QCStock": 1,
"BillStock": 2
}
]
}
application/xml, text/xml
Sample:
<OMSEntity.tblDispatchedByParty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Entity">
<OMSId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</OMSId>
<StockEntryBy>1</StockEntryBy>
<objProductList>
<OMSEntity.tblDispatchedProductByParty>
<BillProductMapId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</BillProductMapId>
<BillStock>2</BillStock>
<QCStock>1</QCStock>
</OMSEntity.tblDispatchedProductByParty>
<OMSEntity.tblDispatchedProductByParty>
<BillProductMapId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</BillProductMapId>
<BillStock>2</BillStock>
<QCStock>1</QCStock>
</OMSEntity.tblDispatchedProductByParty>
</objProductList>
</OMSEntity.tblDispatchedByParty>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OMSResponse| Name | Description | Type | Additional 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>