POST api/Login/PatientLogin?isPassport={isPassport}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isPassport

boolean

Required

Body Parameters

PatientLoginArgs
NameDescriptionTypeAdditional information
EntityId

string

None.

Password

string

None.

RecaptchaResponse

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityId": "sample string 1",
  "Password": "sample string 2",
  "RecaptchaResponse": "sample string 3"
}

application/xml, text/xml

Sample:
<LoginController.PatientLoginArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMedical.Controllers">
  <EntityId>sample string 1</EntityId>
  <Password>sample string 2</Password>
  <RecaptchaResponse>sample string 3</RecaptchaResponse>
</LoginController.PatientLoginArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

ConnDataForPatient
NameDescriptionTypeAdditional information
PatData

ExternalPatientData

None.

PatAppointments

Collection of PatientAppointmentExternal

None.

Version

string

None.

AddPatient

string

None.

ExpireDate

date

None.

Token

string

None.

DropConnKey

string

None.

MaxFutureAppontments

integer

None.

SmsConfirm

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "PatData": {
    "cust_num": 1,
    "id_num": "sample string 1",
    "pasport": "sample string 2",
    "last_name": "sample string 3",
    "first_name": "sample string 4",
    "sex": "sample string 5",
    "born": "2019-10-14T06:39:18.8231845+03:00",
    "city_code": 1,
    "street": "sample string 6",
    "apartment_num": "sample string 7",
    "azip": "sample string 8",
    "home": 1,
    "entrance": "sample string 9",
    "p_o_b": 1,
    "email": "sample string 10",
    "homephone": "sample string 11",
    "mobilephone": "sample string 12",
    "fax": "sample string 13",
    "workphone": "sample string 14",
    "escort_phone": "sample string 15",
    "sensitivity": "sample string 16",
    "smoker": "sample string 17",
    "MobileOrEmail": "sample string 18",
    "RecaptchaResponse": "sample string 19"
  },
  "PatAppointments": [
    {
      "dline": 1,
      "diary_num": 2,
      "mark": "sample string 3",
      "status": "sample string 4",
      "date": "2019-10-14T06:39:18.8231845+03:00",
      "time": "00:00:00.1234567",
      "rem": "sample string 7",
      "diary_name": "sample string 8",
      "cust_num": 9,
      "fulldate": "2019-10-14T06:39:18.8231845+03:00",
      "opername": "sample string 11",
      "done": "sample string 12",
      "Instruction": "sample string 13",
      "FileName": "sample string 14",
      "fsurgCode": 1,
      "insureCode": 15,
      "operCode": 16,
      "fsurgName": "sample string 17"
    },
    {
      "dline": 1,
      "diary_num": 2,
      "mark": "sample string 3",
      "status": "sample string 4",
      "date": "2019-10-14T06:39:18.8231845+03:00",
      "time": "00:00:00.1234567",
      "rem": "sample string 7",
      "diary_name": "sample string 8",
      "cust_num": 9,
      "fulldate": "2019-10-14T06:39:18.8231845+03:00",
      "opername": "sample string 11",
      "done": "sample string 12",
      "Instruction": "sample string 13",
      "FileName": "sample string 14",
      "fsurgCode": 1,
      "insureCode": 15,
      "operCode": 16,
      "fsurgName": "sample string 17"
    }
  ],
  "Version": "sample string 1",
  "AddPatient": "sample string 2",
  "ExpireDate": "2019-10-14T06:39:18.8231845+03:00",
  "Token": "sample string 4",
  "DropConnKey": "sample string 5",
  "MaxFutureAppontments": 6,
  "SmsConfirm": true
}

application/xml, text/xml

Sample:
<ConnDataForPatient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.MedInterfaces">
  <AddPatient>sample string 2</AddPatient>
  <DropConnKey>sample string 5</DropConnKey>
  <ExpireDate>2019-10-14T06:39:18.8231845+03:00</ExpireDate>
  <MaxFutureAppontments>6</MaxFutureAppontments>
  <PatAppointments>
    <PatientAppointmentExternal>
      <FileName>sample string 14</FileName>
      <Instruction>sample string 13</Instruction>
      <cust_num>9</cust_num>
      <date>2019-10-14T06:39:18.8231845+03:00</date>
      <diary_name>sample string 8</diary_name>
      <diary_num>2</diary_num>
      <dline>1</dline>
      <done>sample string 12</done>
      <fsurgCode>1</fsurgCode>
      <fsurgName>sample string 17</fsurgName>
      <fulldate>2019-10-14T06:39:18.8231845+03:00</fulldate>
      <insureCode>15</insureCode>
      <mark>sample string 3</mark>
      <operCode>16</operCode>
      <opername>sample string 11</opername>
      <rem>sample string 7</rem>
      <status>sample string 4</status>
      <time>PT0.1234567S</time>
    </PatientAppointmentExternal>
    <PatientAppointmentExternal>
      <FileName>sample string 14</FileName>
      <Instruction>sample string 13</Instruction>
      <cust_num>9</cust_num>
      <date>2019-10-14T06:39:18.8231845+03:00</date>
      <diary_name>sample string 8</diary_name>
      <diary_num>2</diary_num>
      <dline>1</dline>
      <done>sample string 12</done>
      <fsurgCode>1</fsurgCode>
      <fsurgName>sample string 17</fsurgName>
      <fulldate>2019-10-14T06:39:18.8231845+03:00</fulldate>
      <insureCode>15</insureCode>
      <mark>sample string 3</mark>
      <operCode>16</operCode>
      <opername>sample string 11</opername>
      <rem>sample string 7</rem>
      <status>sample string 4</status>
      <time>PT0.1234567S</time>
    </PatientAppointmentExternal>
  </PatAppointments>
  <PatData>
    <MobileOrEmail>sample string 18</MobileOrEmail>
    <RecaptchaResponse>sample string 19</RecaptchaResponse>
    <apartment_num>sample string 7</apartment_num>
    <azip>sample string 8</azip>
    <born>2019-10-14T06:39:18.8231845+03:00</born>
    <city_code>1</city_code>
    <cust_num>1</cust_num>
    <email>sample string 10</email>
    <entrance>sample string 9</entrance>
    <escort_phone>sample string 15</escort_phone>
    <fax>sample string 13</fax>
    <first_name>sample string 4</first_name>
    <home>1</home>
    <homephone>sample string 11</homephone>
    <id_num>sample string 1</id_num>
    <last_name>sample string 3</last_name>
    <mobilephone>sample string 12</mobilephone>
    <p_o_b>1</p_o_b>
    <pasport>sample string 2</pasport>
    <sensitivity>sample string 16</sensitivity>
    <sex>sample string 5</sex>
    <smoker>sample string 17</smoker>
    <street>sample string 6</street>
    <workphone>sample string 14</workphone>
  </PatData>
  <SmsConfirm>true</SmsConfirm>
  <Token>sample string 4</Token>
  <Version>sample string 1</Version>
</ConnDataForPatient>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.