GET api/MedicineList/ListByCompany?companyId={companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MedicineList| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| SearchName | string |
None. |
|
| MedicineForm | string |
None. |
|
| MedicineTypeId | integer |
None. |
|
| GroupId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| MedicinePackSize | integer |
None. |
|
| MeasurementUnitId | integer |
None. |
|
| Dose | string |
None. |
|
| MRP | decimal number |
None. |
|
| ActiveStatus | boolean |
None. |
|
| IsApproved | boolean |
None. |
|
| MedicineUses | Collection of MedicineUs |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"SearchName": "sample string 3",
"MedicineForm": "sample string 4",
"MedicineTypeId": 5,
"GroupId": 6,
"CompanyId": 7,
"MedicinePackSize": 8,
"MeasurementUnitId": 9,
"Dose": "sample string 10",
"MRP": 11.0,
"ActiveStatus": true,
"IsApproved": true,
"MedicineUses": [
{
"Id": 1,
"MedicineListId": 2,
"UsedAt": "2025-12-06T10:23:41.9351684+06:00",
"TotalAmount": 4.0,
"BatchInfoId": 5,
"FarmId": 6,
"OwnerId": 7,
"CreatedAt": "2025-12-06T10:23:41.9351684+06:00",
"UpdatedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedBy": 10,
"CreatedBy": 11,
"UpdatedBy": 12,
"DeletedStatus": true
},
{
"Id": 1,
"MedicineListId": 2,
"UsedAt": "2025-12-06T10:23:41.9351684+06:00",
"TotalAmount": 4.0,
"BatchInfoId": 5,
"FarmId": 6,
"OwnerId": 7,
"CreatedAt": "2025-12-06T10:23:41.9351684+06:00",
"UpdatedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedBy": 10,
"CreatedBy": 11,
"UpdatedBy": 12,
"DeletedStatus": true
}
]
},
{
"Id": 1,
"Name": "sample string 2",
"SearchName": "sample string 3",
"MedicineForm": "sample string 4",
"MedicineTypeId": 5,
"GroupId": 6,
"CompanyId": 7,
"MedicinePackSize": 8,
"MeasurementUnitId": 9,
"Dose": "sample string 10",
"MRP": 11.0,
"ActiveStatus": true,
"IsApproved": true,
"MedicineUses": [
{
"Id": 1,
"MedicineListId": 2,
"UsedAt": "2025-12-06T10:23:41.9351684+06:00",
"TotalAmount": 4.0,
"BatchInfoId": 5,
"FarmId": 6,
"OwnerId": 7,
"CreatedAt": "2025-12-06T10:23:41.9351684+06:00",
"UpdatedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedBy": 10,
"CreatedBy": 11,
"UpdatedBy": 12,
"DeletedStatus": true
},
{
"Id": 1,
"MedicineListId": 2,
"UsedAt": "2025-12-06T10:23:41.9351684+06:00",
"TotalAmount": 4.0,
"BatchInfoId": 5,
"FarmId": 6,
"OwnerId": 7,
"CreatedAt": "2025-12-06T10:23:41.9351684+06:00",
"UpdatedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedAt": "2025-12-06T10:23:41.9351684+06:00",
"DeletedBy": 10,
"CreatedBy": 11,
"UpdatedBy": 12,
"DeletedStatus": true
}
]
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.