GET api/PHR/GetMedicationList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseOfCurrentMedicationsName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
Status | integer |
None. |
|
Result | CurrentMedications |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Message": "sample string 2", "Status": 3, "Result": { "MedicationList": [ { "RelationId": 1, "MedicationId": 2, "Medication": "sample string 3" }, { "RelationId": 1, "MedicationId": 2, "Medication": "sample string 3" } ] } }
application/xml, text/xml
Sample:
<ResponseOfCurrentMedicationsQLZlyOoP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PHRDetails"> <d2p1:MedicationList> <d2p1:MedicationModel> <d2p1:Medication>sample string 3</d2p1:Medication> <d2p1:MedicationId>2</d2p1:MedicationId> <d2p1:RelationId>1</d2p1:RelationId> </d2p1:MedicationModel> <d2p1:MedicationModel> <d2p1:Medication>sample string 3</d2p1:Medication> <d2p1:MedicationId>2</d2p1:MedicationId> <d2p1:RelationId>1</d2p1:RelationId> </d2p1:MedicationModel> </d2p1:MedicationList> </Result> <Status>3</Status> </ResponseOfCurrentMedicationsQLZlyOoP>