POST api/UserHome/GetPatientUpcomingAppointment

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

ResponseOfUserHomeResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

UserHomeResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "UpcomingAppointmentList": [
      {
        "AppointmentId": 1,
        "DoctorId": 2,
        "DoctorName": "sample string 3",
        "Specialization": "sample string 4",
        "Status": 5,
        "AppointmentDate": "sample string 6",
        "AppointmentTime": "sample string 7",
        "PaymentMode": 8,
        "ProfileImageUrl": "sample string 9",
        "PrescriptionId": 10
      },
      {
        "AppointmentId": 1,
        "DoctorId": 2,
        "DoctorName": "sample string 3",
        "Specialization": "sample string 4",
        "Status": 5,
        "AppointmentDate": "sample string 6",
        "AppointmentTime": "sample string 7",
        "PaymentMode": 8,
        "ProfileImageUrl": "sample string 9",
        "PrescriptionId": 10
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfUserHomeResponsehjs6Oqb9 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">
    <d2p1:UpcomingAppointmentList>
      <d2p1:UserHomeModel>
        <d2p1:AppointmentDate>sample string 6</d2p1:AppointmentDate>
        <d2p1:AppointmentId>1</d2p1:AppointmentId>
        <d2p1:AppointmentTime>sample string 7</d2p1:AppointmentTime>
        <d2p1:DoctorId>2</d2p1:DoctorId>
        <d2p1:DoctorName>sample string 3</d2p1:DoctorName>
        <d2p1:PaymentMode>8</d2p1:PaymentMode>
        <d2p1:PrescriptionId>10</d2p1:PrescriptionId>
        <d2p1:ProfileImageUrl>sample string 9</d2p1:ProfileImageUrl>
        <d2p1:Specialization>sample string 4</d2p1:Specialization>
        <d2p1:Status>5</d2p1:Status>
      </d2p1:UserHomeModel>
      <d2p1:UserHomeModel>
        <d2p1:AppointmentDate>sample string 6</d2p1:AppointmentDate>
        <d2p1:AppointmentId>1</d2p1:AppointmentId>
        <d2p1:AppointmentTime>sample string 7</d2p1:AppointmentTime>
        <d2p1:DoctorId>2</d2p1:DoctorId>
        <d2p1:DoctorName>sample string 3</d2p1:DoctorName>
        <d2p1:PaymentMode>8</d2p1:PaymentMode>
        <d2p1:PrescriptionId>10</d2p1:PrescriptionId>
        <d2p1:ProfileImageUrl>sample string 9</d2p1:ProfileImageUrl>
        <d2p1:Specialization>sample string 4</d2p1:Specialization>
        <d2p1:Status>5</d2p1:Status>
      </d2p1:UserHomeModel>
    </d2p1:UpcomingAppointmentList>
  </Result>
  <Status>3</Status>
</ResponseOfUserHomeResponsehjs6Oqb9>