POST api/TotalAyushCare/GetAppointmentById

Documentation for 'GetAppointmentById'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "AppointDetail": {
    "AppointmentId": "sample string 1",
    "PatientId": "sample string 2",
    "AppointmentDate": "sample string 3",
    "AppointmentTime": "sample string 4",
    "Category": "sample string 5",
    "PreferredDoctor": "sample string 6",
    "SubCategory": "sample string 7",
    "Note": "sample string 8",
    "AppointmentType": "sample string 9",
    "AppointmentFor": "sample string 10",
    "Action": "sample string 11",
    "Source": "sample string 12",
    "AppointmentStatus": "sample string 13",
    "SessionId": "sample string 14",
    "TokenId": "sample string 15",
    "APIKey": "sample string 16",
    "VideoCallStatus": "sample string 17",
    "TimeZone": "sample string 18",
    "Fees": "sample string 19",
    "DoctorName": "sample string 20",
    "DoctorEmail": "sample string 21",
    "CurrentDateTime": "sample string 22",
    "IsHavePrescription": "sample string 23"
  }
}

application/xml, text/xml

Sample:
<AppointmentDteailsByIdRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <AppointDetail>
    <APIKey>sample string 16</APIKey>
    <Action>sample string 11</Action>
    <AppointmentDate>sample string 3</AppointmentDate>
    <AppointmentFor>sample string 10</AppointmentFor>
    <AppointmentId>sample string 1</AppointmentId>
    <AppointmentStatus>sample string 13</AppointmentStatus>
    <AppointmentTime>sample string 4</AppointmentTime>
    <AppointmentType>sample string 9</AppointmentType>
    <Category>sample string 5</Category>
    <CurrentDateTime>sample string 22</CurrentDateTime>
    <DoctorEmail>sample string 21</DoctorEmail>
    <DoctorName>sample string 20</DoctorName>
    <Fees>sample string 19</Fees>
    <IsHavePrescription>sample string 23</IsHavePrescription>
    <Note>sample string 8</Note>
    <PatientId>sample string 2</PatientId>
    <PreferredDoctor>sample string 6</PreferredDoctor>
    <SessionId>sample string 14</SessionId>
    <Source>sample string 12</Source>
    <SubCategory>sample string 7</SubCategory>
    <TimeZone>sample string 18</TimeZone>
    <TokenId>sample string 15</TokenId>
    <VideoCallStatus>sample string 17</VideoCallStatus>
  </AppointDetail>
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
</AppointmentDteailsByIdRequests>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2",
  "Response": "sample string 3",
  "AppointDetail": {
    "AppointmentId": "sample string 1",
    "PatientId": "sample string 2",
    "AppointmentDate": "sample string 3",
    "AppointmentTime": "sample string 4",
    "Category": "sample string 5",
    "PreferredDoctor": "sample string 6",
    "SubCategory": "sample string 7",
    "Note": "sample string 8",
    "AppointmentType": "sample string 9",
    "AppointmentFor": "sample string 10",
    "Action": "sample string 11",
    "Source": "sample string 12",
    "AppointmentStatus": "sample string 13",
    "SessionId": "sample string 14",
    "TokenId": "sample string 15",
    "APIKey": "sample string 16",
    "VideoCallStatus": "sample string 17",
    "TimeZone": "sample string 18",
    "Fees": "sample string 19",
    "DoctorName": "sample string 20",
    "DoctorEmail": "sample string 21",
    "CurrentDateTime": "sample string 22",
    "IsHavePrescription": "sample string 23"
  }
}

application/xml, text/xml

Sample:
<AppointmentDteailsByIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <AppointDetail>
    <APIKey>sample string 16</APIKey>
    <Action>sample string 11</Action>
    <AppointmentDate>sample string 3</AppointmentDate>
    <AppointmentFor>sample string 10</AppointmentFor>
    <AppointmentId>sample string 1</AppointmentId>
    <AppointmentStatus>sample string 13</AppointmentStatus>
    <AppointmentTime>sample string 4</AppointmentTime>
    <AppointmentType>sample string 9</AppointmentType>
    <Category>sample string 5</Category>
    <CurrentDateTime>sample string 22</CurrentDateTime>
    <DoctorEmail>sample string 21</DoctorEmail>
    <DoctorName>sample string 20</DoctorName>
    <Fees>sample string 19</Fees>
    <IsHavePrescription>sample string 23</IsHavePrescription>
    <Note>sample string 8</Note>
    <PatientId>sample string 2</PatientId>
    <PreferredDoctor>sample string 6</PreferredDoctor>
    <SessionId>sample string 14</SessionId>
    <Source>sample string 12</Source>
    <SubCategory>sample string 7</SubCategory>
    <TimeZone>sample string 18</TimeZone>
    <TokenId>sample string 15</TokenId>
    <VideoCallStatus>sample string 17</VideoCallStatus>
  </AppointDetail>
  <Response>sample string 3</Response>
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <message>sample string 1</message>
  <result>sample string 2</result>
</AppointmentDteailsByIdResponse>