POST api/TotalAyushCare/AllAppointment

Documentation for 'AllAppointment'.

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"
  },
  "AllApp": {
    "Todate": "sample string 1",
    "Fromdate": "sample string 2",
    "DocId": 3,
    "Type": "sample string 4",
    "Action": "sample string 5",
    "Source": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<AllAppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <AllApp>
    <Action>sample string 5</Action>
    <DocId>3</DocId>
    <Fromdate>sample string 2</Fromdate>
    <Source>sample string 6</Source>
    <Todate>sample string 1</Todate>
    <Type>sample string 4</Type>
  </AllApp>
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
</AllAppointmentRequest>

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 'AllAppointmentRequest'.

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",
  "lstAllAppoint": [
    {
      "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",
      "DoctorName": "sample string 19",
      "EmailId": "sample string 20",
      "PhoneNo": "sample string 21",
      "DoctorEmailId": "sample string 22",
      "DoctorPhoneNo": "sample string 23",
      "Fees": "sample string 24"
    },
    {
      "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",
      "DoctorName": "sample string 19",
      "EmailId": "sample string 20",
      "PhoneNo": "sample string 21",
      "DoctorEmailId": "sample string 22",
      "DoctorPhoneNo": "sample string 23",
      "Fees": "sample string 24"
    },
    {
      "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",
      "DoctorName": "sample string 19",
      "EmailId": "sample string 20",
      "PhoneNo": "sample string 21",
      "DoctorEmailId": "sample string 22",
      "DoctorPhoneNo": "sample string 23",
      "Fees": "sample string 24"
    }
  ]
}

application/xml, text/xml

Sample:
<AllAppointmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <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>
  <lstAllAppoint>
    <AppointmentDetailsForAll>
      <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>
      <DoctorEmailId>sample string 22</DoctorEmailId>
      <DoctorName>sample string 19</DoctorName>
      <DoctorPhoneNo>sample string 23</DoctorPhoneNo>
      <EmailId>sample string 20</EmailId>
      <Fees>sample string 24</Fees>
      <Note>sample string 8</Note>
      <PatientId>sample string 2</PatientId>
      <PhoneNo>sample string 21</PhoneNo>
      <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>
    </AppointmentDetailsForAll>
    <AppointmentDetailsForAll>
      <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>
      <DoctorEmailId>sample string 22</DoctorEmailId>
      <DoctorName>sample string 19</DoctorName>
      <DoctorPhoneNo>sample string 23</DoctorPhoneNo>
      <EmailId>sample string 20</EmailId>
      <Fees>sample string 24</Fees>
      <Note>sample string 8</Note>
      <PatientId>sample string 2</PatientId>
      <PhoneNo>sample string 21</PhoneNo>
      <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>
    </AppointmentDetailsForAll>
    <AppointmentDetailsForAll>
      <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>
      <DoctorEmailId>sample string 22</DoctorEmailId>
      <DoctorName>sample string 19</DoctorName>
      <DoctorPhoneNo>sample string 23</DoctorPhoneNo>
      <EmailId>sample string 20</EmailId>
      <Fees>sample string 24</Fees>
      <Note>sample string 8</Note>
      <PatientId>sample string 2</PatientId>
      <PhoneNo>sample string 21</PhoneNo>
      <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>
    </AppointmentDetailsForAll>
  </lstAllAppoint>
  <message>sample string 1</message>
  <result>sample string 2</result>
</AllAppointmentResponse>