POST api/PHR/GetPHRHealthRecords
Request Information
URI Parameters
None.
Body Parameters
CommonRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Request | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Request": "sample string 1"
}
application/xml, text/xml
Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common"> <Request>sample string 1</Request> </CommonRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfHealthRecordData| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Status | integer |
None. |
|
| Result | HealthRecordData |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"Status": 3,
"Result": {
"HealthDetailsList": [
{
"NoOfRecords": 1,
"DoctorName": "sample string 2",
"ContactNumber": "sample string 3",
"CountryCode": 4,
"AddedBy": 1,
"AddedByUserId": 1,
"PhrId": 5,
"GoalsOutcome": "sample string 6",
"Interventions": "sample string 7",
"Evaluations": "sample string 8",
"DoctorReferral": "sample string 9",
"ClinicReferral": "sample string 10",
"PharmacyReferral": "sample string 11",
"LabReferral": "sample string 12",
"LabImage": "sample string 13"
},
{
"NoOfRecords": 1,
"DoctorName": "sample string 2",
"ContactNumber": "sample string 3",
"CountryCode": 4,
"AddedBy": 1,
"AddedByUserId": 1,
"PhrId": 5,
"GoalsOutcome": "sample string 6",
"Interventions": "sample string 7",
"Evaluations": "sample string 8",
"DoctorReferral": "sample string 9",
"ClinicReferral": "sample string 10",
"PharmacyReferral": "sample string 11",
"LabReferral": "sample string 12",
"LabImage": "sample string 13"
}
]
}
}
application/xml, text/xml
Sample:
<ResponseOfHealthRecordDataQLZlyOoP 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:HealthDetailsList>
<d2p1:HealthRecordListModel>
<d2p1:AddedBy>1</d2p1:AddedBy>
<d2p1:AddedByUserId>1</d2p1:AddedByUserId>
<d2p1:ClinicReferral>sample string 10</d2p1:ClinicReferral>
<d2p1:ContactNumber>sample string 3</d2p1:ContactNumber>
<d2p1:CountryCode>4</d2p1:CountryCode>
<d2p1:DoctorName>sample string 2</d2p1:DoctorName>
<d2p1:DoctorReferral>sample string 9</d2p1:DoctorReferral>
<d2p1:Evaluations>sample string 8</d2p1:Evaluations>
<d2p1:GoalsOutcome>sample string 6</d2p1:GoalsOutcome>
<d2p1:Interventions>sample string 7</d2p1:Interventions>
<d2p1:LabImage>sample string 13</d2p1:LabImage>
<d2p1:LabReferral>sample string 12</d2p1:LabReferral>
<d2p1:PharmacyReferral>sample string 11</d2p1:PharmacyReferral>
<d2p1:PhrId>5</d2p1:PhrId>
<d2p1:NoOfRecords>1</d2p1:NoOfRecords>
</d2p1:HealthRecordListModel>
<d2p1:HealthRecordListModel>
<d2p1:AddedBy>1</d2p1:AddedBy>
<d2p1:AddedByUserId>1</d2p1:AddedByUserId>
<d2p1:ClinicReferral>sample string 10</d2p1:ClinicReferral>
<d2p1:ContactNumber>sample string 3</d2p1:ContactNumber>
<d2p1:CountryCode>4</d2p1:CountryCode>
<d2p1:DoctorName>sample string 2</d2p1:DoctorName>
<d2p1:DoctorReferral>sample string 9</d2p1:DoctorReferral>
<d2p1:Evaluations>sample string 8</d2p1:Evaluations>
<d2p1:GoalsOutcome>sample string 6</d2p1:GoalsOutcome>
<d2p1:Interventions>sample string 7</d2p1:Interventions>
<d2p1:LabImage>sample string 13</d2p1:LabImage>
<d2p1:LabReferral>sample string 12</d2p1:LabReferral>
<d2p1:PharmacyReferral>sample string 11</d2p1:PharmacyReferral>
<d2p1:PhrId>5</d2p1:PhrId>
<d2p1:NoOfRecords>1</d2p1:NoOfRecords>
</d2p1:HealthRecordListModel>
</d2p1:HealthDetailsList>
</Result>
<Status>3</Status>
</ResponseOfHealthRecordDataQLZlyOoP>