POST api/PHR/GetPHRHealthRecords

Request Information

URI Parameters

None.

Body Parameters

CommonRequest
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CommonRequest'.

Response Information

Resource Description

ResponseOfHealthRecordData
NameDescriptionTypeAdditional 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
      },
      {
        "NoOfRecords": 1,
        "DoctorName": "sample string 2",
        "ContactNumber": "sample string 3",
        "CountryCode": 4,
        "AddedBy": 1,
        "AddedByUserId": 1,
        "PhrId": 5
      }
    ]
  }
}

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:ContactNumber>sample string 3</d2p1:ContactNumber>
        <d2p1:CountryCode>4</d2p1:CountryCode>
        <d2p1:DoctorName>sample string 2</d2p1:DoctorName>
        <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:ContactNumber>sample string 3</d2p1:ContactNumber>
        <d2p1:CountryCode>4</d2p1:CountryCode>
        <d2p1:DoctorName>sample string 2</d2p1:DoctorName>
        <d2p1:PhrId>5</d2p1:PhrId>
        <d2p1:NoOfRecords>1</d2p1:NoOfRecords>
      </d2p1:HealthRecordListModel>
    </d2p1:HealthDetailsList>
  </Result>
  <Status>3</Status>
</ResponseOfHealthRecordDataQLZlyOoP>