POST api/TotalAyushCare/GetPatientList

Documentation for 'GetPatientList'.

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"
  },
  "GetDetails": {
    "Action": "sample string 1",
    "Source": "sample string 2",
    "SearchType": "sample string 3",
    "UserId": "sample string 4",
    "Id": "sample string 5",
    "FromDate": "sample string 6",
    "ToDate": "sample string 7",
    "Status": "sample string 8",
    "SearchValue": "sample string 9",
    "AppointmentType": "sample string 10",
    "DoctorId": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<GetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <GetDetails>
    <Action>sample string 1</Action>
    <AppointmentType>sample string 10</AppointmentType>
    <DoctorId>sample string 11</DoctorId>
    <FromDate>sample string 6</FromDate>
    <Id>sample string 5</Id>
    <SearchType>sample string 3</SearchType>
    <SearchValue>sample string 9</SearchValue>
    <Source>sample string 2</Source>
    <Status>sample string 8</Status>
    <ToDate>sample string 7</ToDate>
    <UserId>sample string 4</UserId>
  </GetDetails>
</GetRequest>

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

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",
  "Patientlist": [
    {
      "PatientId": "sample string 1",
      "PUserName": "sample string 2",
      "PPassword": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "Phone": "sample string 6",
      "DOB": "sample string 7",
      "Sex": "sample string 8",
      "BloodGroup": "sample string 9",
      "Height": "sample string 10",
      "Weight": "sample string 11",
      "MaritalStatus": "sample string 12",
      "Occupation": "sample string 13",
      "Address1": "sample string 14",
      "Address2": "sample string 15",
      "City": "sample string 16",
      "Zip": "sample string 17",
      "State": "sample string 18",
      "Country": "sample string 19",
      "Remarks": "sample string 20",
      "ExternalLoginType": "sample string 21",
      "ExtLoginID": "sample string 22",
      "ExtLoginTokenID": "sample string 23",
      "Action": "sample string 24",
      "Source": "sample string 25"
    },
    {
      "PatientId": "sample string 1",
      "PUserName": "sample string 2",
      "PPassword": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "Phone": "sample string 6",
      "DOB": "sample string 7",
      "Sex": "sample string 8",
      "BloodGroup": "sample string 9",
      "Height": "sample string 10",
      "Weight": "sample string 11",
      "MaritalStatus": "sample string 12",
      "Occupation": "sample string 13",
      "Address1": "sample string 14",
      "Address2": "sample string 15",
      "City": "sample string 16",
      "Zip": "sample string 17",
      "State": "sample string 18",
      "Country": "sample string 19",
      "Remarks": "sample string 20",
      "ExternalLoginType": "sample string 21",
      "ExtLoginID": "sample string 22",
      "ExtLoginTokenID": "sample string 23",
      "Action": "sample string 24",
      "Source": "sample string 25"
    },
    {
      "PatientId": "sample string 1",
      "PUserName": "sample string 2",
      "PPassword": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "Phone": "sample string 6",
      "DOB": "sample string 7",
      "Sex": "sample string 8",
      "BloodGroup": "sample string 9",
      "Height": "sample string 10",
      "Weight": "sample string 11",
      "MaritalStatus": "sample string 12",
      "Occupation": "sample string 13",
      "Address1": "sample string 14",
      "Address2": "sample string 15",
      "City": "sample string 16",
      "Zip": "sample string 17",
      "State": "sample string 18",
      "Country": "sample string 19",
      "Remarks": "sample string 20",
      "ExternalLoginType": "sample string 21",
      "ExtLoginID": "sample string 22",
      "ExtLoginTokenID": "sample string 23",
      "Action": "sample string 24",
      "Source": "sample string 25"
    }
  ]
}

application/xml, text/xml

Sample:
<PatientListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Patientlist>
    <PatientDetails>
      <Action>sample string 24</Action>
      <Address1>sample string 14</Address1>
      <Address2>sample string 15</Address2>
      <BloodGroup>sample string 9</BloodGroup>
      <City>sample string 16</City>
      <Country>sample string 19</Country>
      <DOB>sample string 7</DOB>
      <ExtLoginID>sample string 22</ExtLoginID>
      <ExtLoginTokenID>sample string 23</ExtLoginTokenID>
      <ExternalLoginType>sample string 21</ExternalLoginType>
      <FirstName>sample string 4</FirstName>
      <Height>sample string 10</Height>
      <LastName>sample string 5</LastName>
      <MaritalStatus>sample string 12</MaritalStatus>
      <Occupation>sample string 13</Occupation>
      <PPassword>sample string 3</PPassword>
      <PUserName>sample string 2</PUserName>
      <PatientId>sample string 1</PatientId>
      <Phone>sample string 6</Phone>
      <Remarks>sample string 20</Remarks>
      <Sex>sample string 8</Sex>
      <Source>sample string 25</Source>
      <State>sample string 18</State>
      <Weight>sample string 11</Weight>
      <Zip>sample string 17</Zip>
    </PatientDetails>
    <PatientDetails>
      <Action>sample string 24</Action>
      <Address1>sample string 14</Address1>
      <Address2>sample string 15</Address2>
      <BloodGroup>sample string 9</BloodGroup>
      <City>sample string 16</City>
      <Country>sample string 19</Country>
      <DOB>sample string 7</DOB>
      <ExtLoginID>sample string 22</ExtLoginID>
      <ExtLoginTokenID>sample string 23</ExtLoginTokenID>
      <ExternalLoginType>sample string 21</ExternalLoginType>
      <FirstName>sample string 4</FirstName>
      <Height>sample string 10</Height>
      <LastName>sample string 5</LastName>
      <MaritalStatus>sample string 12</MaritalStatus>
      <Occupation>sample string 13</Occupation>
      <PPassword>sample string 3</PPassword>
      <PUserName>sample string 2</PUserName>
      <PatientId>sample string 1</PatientId>
      <Phone>sample string 6</Phone>
      <Remarks>sample string 20</Remarks>
      <Sex>sample string 8</Sex>
      <Source>sample string 25</Source>
      <State>sample string 18</State>
      <Weight>sample string 11</Weight>
      <Zip>sample string 17</Zip>
    </PatientDetails>
    <PatientDetails>
      <Action>sample string 24</Action>
      <Address1>sample string 14</Address1>
      <Address2>sample string 15</Address2>
      <BloodGroup>sample string 9</BloodGroup>
      <City>sample string 16</City>
      <Country>sample string 19</Country>
      <DOB>sample string 7</DOB>
      <ExtLoginID>sample string 22</ExtLoginID>
      <ExtLoginTokenID>sample string 23</ExtLoginTokenID>
      <ExternalLoginType>sample string 21</ExternalLoginType>
      <FirstName>sample string 4</FirstName>
      <Height>sample string 10</Height>
      <LastName>sample string 5</LastName>
      <MaritalStatus>sample string 12</MaritalStatus>
      <Occupation>sample string 13</Occupation>
      <PPassword>sample string 3</PPassword>
      <PUserName>sample string 2</PUserName>
      <PatientId>sample string 1</PatientId>
      <Phone>sample string 6</Phone>
      <Remarks>sample string 20</Remarks>
      <Sex>sample string 8</Sex>
      <Source>sample string 25</Source>
      <State>sample string 18</State>
      <Weight>sample string 11</Weight>
      <Zip>sample string 17</Zip>
    </PatientDetails>
  </Patientlist>
  <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>
</PatientListResponse>