GET Pharmacy/GetBatchesforpharmacydirectbilling/{MaterialId}/{StoreId}/{CenterId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| MaterialId | integer |
Required |
|
| StoreId | integer |
Required |
|
| CenterId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BatchList| Name | Description | Type | Additional information |
|---|---|---|---|
| MATERIAL_ID | integer |
None. |
|
| MATERIAL_STOCK_ID | integer |
None. |
|
| BATCH_NO | string |
None. |
|
| EXP_DATE | string |
None. |
|
| QOH | integer |
None. |
|
| SALE_PRICE | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MATERIAL_ID": 1,
"MATERIAL_STOCK_ID": 2,
"BATCH_NO": "sample string 3",
"EXP_DATE": "sample string 4",
"QOH": 5,
"SALE_PRICE": 6.0
},
{
"MATERIAL_ID": 1,
"MATERIAL_STOCK_ID": 2,
"BATCH_NO": "sample string 3",
"EXP_DATE": "sample string 4",
"QOH": 5,
"SALE_PRICE": 6.0
}
]
text/html
Sample:
[{"MATERIAL_ID":1,"MATERIAL_STOCK_ID":2,"BATCH_NO":"sample string 3","EXP_DATE":"sample string 4","QOH":5,"SALE_PRICE":6.0},{"MATERIAL_ID":1,"MATERIAL_STOCK_ID":2,"BATCH_NO":"sample string 3","EXP_DATE":"sample string 4","QOH":5,"SALE_PRICE":6.0}]
application/xml, text/xml
Sample:
<ArrayOfBatchList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tm.WebAPI.Models.Pharmacy">
<BatchList>
<BATCH_NO>sample string 3</BATCH_NO>
<EXP_DATE>sample string 4</EXP_DATE>
<MATERIAL_ID>1</MATERIAL_ID>
<MATERIAL_STOCK_ID>2</MATERIAL_STOCK_ID>
<QOH>5</QOH>
<SALE_PRICE>6</SALE_PRICE>
</BatchList>
<BatchList>
<BATCH_NO>sample string 3</BATCH_NO>
<EXP_DATE>sample string 4</EXP_DATE>
<MATERIAL_ID>1</MATERIAL_ID>
<MATERIAL_STOCK_ID>2</MATERIAL_STOCK_ID>
<QOH>5</QOH>
<SALE_PRICE>6</SALE_PRICE>
</BatchList>
</ArrayOfBatchList>