GET api/OMS/GetProductDetailByBill?OMSId={OMSId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OMSId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductNumber | integer |
None. |
|
| ProductId | integer |
None. |
|
| BillProductMappId | integer |
None. |
|
| ProductName | string |
None. |
|
| ProductImage | string |
None. |
|
| Quantity | integer |
None. |
|
| StockQuantity | integer |
None. |
|
| VarificationResult | integer |
None. |
|
| IsCompleted | boolean |
None. |
|
| Bandho | integer |
None. |
|
| HSNNumber | string |
None. |
|
| MRP | decimal number |
None. |
|
| BillDiscount | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| Weight | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductNumber": 1,
"ProductId": 1,
"BillProductMappId": 2,
"ProductName": "sample string 3",
"ProductImage": "sample string 4",
"Quantity": 1,
"StockQuantity": 1,
"VarificationResult": 1,
"IsCompleted": true,
"Bandho": 1,
"HSNNumber": "sample string 5",
"MRP": 1.0,
"BillDiscount": 1.0,
"Amount": 1.0,
"Weight": 1
},
{
"ProductNumber": 1,
"ProductId": 1,
"BillProductMappId": 2,
"ProductName": "sample string 3",
"ProductImage": "sample string 4",
"Quantity": 1,
"StockQuantity": 1,
"VarificationResult": 1,
"IsCompleted": true,
"Bandho": 1,
"HSNNumber": "sample string 5",
"MRP": 1.0,
"BillDiscount": 1.0,
"Amount": 1.0,
"Weight": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfOMSEntity.ProductDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Entity">
<OMSEntity.ProductDetail>
<Amount>1</Amount>
<Bandho>1</Bandho>
<BillDiscount>1</BillDiscount>
<BillProductMappId>2</BillProductMappId>
<HSNNumber>sample string 5</HSNNumber>
<IsCompleted>true</IsCompleted>
<MRP>1</MRP>
<ProductId>1</ProductId>
<ProductImage>sample string 4</ProductImage>
<ProductName>sample string 3</ProductName>
<ProductNumber>1</ProductNumber>
<Quantity>1</Quantity>
<StockQuantity>1</StockQuantity>
<VarificationResult>1</VarificationResult>
<Weight>1</Weight>
</OMSEntity.ProductDetail>
<OMSEntity.ProductDetail>
<Amount>1</Amount>
<Bandho>1</Bandho>
<BillDiscount>1</BillDiscount>
<BillProductMappId>2</BillProductMappId>
<HSNNumber>sample string 5</HSNNumber>
<IsCompleted>true</IsCompleted>
<MRP>1</MRP>
<ProductId>1</ProductId>
<ProductImage>sample string 4</ProductImage>
<ProductName>sample string 3</ProductName>
<ProductNumber>1</ProductNumber>
<Quantity>1</Quantity>
<StockQuantity>1</StockQuantity>
<VarificationResult>1</VarificationResult>
<Weight>1</Weight>
</OMSEntity.ProductDetail>
</ArrayOfOMSEntity.ProductDetail>