POST api/TotalAyushCare/PatientCheck

Documentation for 'PatientCheck'.

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"
  },
  "PatientCredCheck": {
    "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:
<MobileLoginCheckRequest 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>
  <PatientCredCheck>
    <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>
  </PatientCredCheck>
</MobileLoginCheckRequest>

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

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",
  "PatientID": "sample string 3",
  "Phone": "sample string 4",
  "UserName": "sample string 5"
}

application/xml, text/xml

Sample:
<MobileLoginCheckResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <PatientID>sample string 3</PatientID>
  <Phone>sample string 4</Phone>
  <UserName>sample string 5</UserName>
  <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>
</MobileLoginCheckResponse>