List
API URL | {{url}}/admin-service/medication/list |
Method | POST |
Description | Get medication list |
Input 1:
Field Name | Type | Mandatory | Example |
Authorization(Header) | String | Yes | Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI |
Sample Input 1:
{ "countryId": 4, "searchTerm": "", "tenantId": 156, "sortField": "medication_name", "sortOrder": -1, "limit": 10 }
Output :
Field Name | Type | Comments |
| Number | Medication id |
| Number | Country id for medication |
| Number | Country tenant id |
| String | Medication name |
| Number | Classification id for medication |
| Number | Dosage form id for medication |
| Number | Brand name id |
| String | Classification name |
| String | Brand name |
Sample Output 1:
Sample Input 2:
{ "tenantId": 5, "countryId": 3, "limit": 10, "sortField": "medication_name", "sortOrder": 1, "searchTerm": "Cetrizen" }