POST api/Login/LoginUser

Request Information

URI Parameters

None.

Body Parameters

LoginData
NameDescriptionTypeAdditional information
pUserName

string

None.

pPassword

string

None.

pHardware

string

None.

pBusinessBranchCode

integer

None.

pDomain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pUserName": "sample string 1",
  "pPassword": "sample string 2",
  "pHardware": "sample string 3",
  "pBusinessBranchCode": 4,
  "pDomain": "sample string 5"
}

application/xml, text/xml

Sample:
<LoginData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <pBusinessBranchCode>4</pBusinessBranchCode>
  <pDomain>sample string 5</pDomain>
  <pHardware>sample string 3</pHardware>
  <pPassword>sample string 2</pPassword>
  <pUserName>sample string 1</pUserName>
</LoginData>

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

ConnDataForClient
NameDescriptionTypeAdditional information
LastName

string

None.

FirstName

string

None.

licence

string

None.

nickname

string

None.

specialty

string

None.

degree

string

None.

code

integer

None.

ExistsUserQuest

string

None.

DropConnKey

string

None.

hide_debit_price

string

None.

diarydata

DiariesRetriveResult

None.

lisenceData

AnswerLisenceData

None.

ClClDefinitions

Collection of Definition

None.

ClHrDefinitions

Collection of Definition

None.

GeneralDefinitions

Collection of Definition

None.

SmallPermissions

Collection of SmallPermission

None.

Occupations

Collection of Object

None.

ConnectionError

string

None.

Token

string

None.

Vat

decimal number

None.

Version

string

None.

Timeout

integer

None.

Register

DefaultRegister

None.

PlannedOccupationName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LastName": "sample string 1",
  "FirstName": "sample string 2",
  "licence": "sample string 3",
  "nickname": "sample string 4",
  "specialty": "sample string 5",
  "degree": "sample string 6",
  "code": 1,
  "ExistsUserQuest": "sample string 7",
  "DropConnKey": "sample string 8",
  "hide_debit_price": "sample string 9",
  "diarydata": {
    "DiaryNum": 1,
    "DiaryName": "sample string 1",
    "SpecCode": 1,
    "SpecDesc": "sample string 2",
    "Description": "sample string 3",
    "RoomCode": 1,
    "RoomDesc": "sample string 4",
    "Active": "sample string 5",
    "DepCode": 1,
    "Depname": "sample string 6",
    "ReminderSms": "sample string 7",
    "BranchCode": 1,
    "BranchName": "sample string 8",
    "NeedSmoker": "sample string 9",
    "NeedPacs": "sample string 10",
    "WithTime": "sample string 11",
    "color_for_display": "sample string 12"
  },
  "lisenceData": {
    "ModulsExpList": [
      {
        "ModuleName": "sample string 1",
        "ModuleIndex": 1,
        "ModuleExpire": "2019-10-15T16:48:49.7648991+03:00"
      },
      {
        "ModuleName": "sample string 1",
        "ModuleIndex": 1,
        "ModuleExpire": "2019-10-15T16:48:49.7648991+03:00"
      }
    ],
    "ExpireDate": "2019-10-15T16:48:49.7648991+03:00",
    "DaysUntilExpire": 2,
    "UsersNumber": 3,
    "ErrorMessage": "sample string 4",
    "RRContactData": "sample string 5",
    "MessageToUser": "sample string 6",
    "Status": "sample string 7"
  },
  "ClClDefinitions": [
    {
      "par_group": "sample string 1",
      "par_owner": "sample string 2",
      "par_name": "sample string 3",
      "par_val": "sample string 4",
      "par_type": "sample string 5",
      "span": "sample string 6"
    },
    {
      "par_group": "sample string 1",
      "par_owner": "sample string 2",
      "par_name": "sample string 3",
      "par_val": "sample string 4",
      "par_type": "sample string 5",
      "span": "sample string 6"
    }
  ],
  "ClHrDefinitions": [
    {
      "par_group": "sample string 1",
      "par_owner": "sample string 2",
      "par_name": "sample string 3",
      "par_val": "sample string 4",
      "par_type": "sample string 5",
      "span": "sample string 6"
    },
    {
      "par_group": "sample string 1",
      "par_owner": "sample string 2",
      "par_name": "sample string 3",
      "par_val": "sample string 4",
      "par_type": "sample string 5",
      "span": "sample string 6"
    }
  ],
  "GeneralDefinitions": [
    {
      "par_group": "sample string 1",
      "par_owner": "sample string 2",
      "par_name": "sample string 3",
      "par_val": "sample string 4",
      "par_type": "sample string 5",
      "span": "sample string 6"
    },
    {
      "par_group": "sample string 1",
      "par_owner": "sample string 2",
      "par_name": "sample string 3",
      "par_val": "sample string 4",
      "par_type": "sample string 5",
      "span": "sample string 6"
    }
  ],
  "SmallPermissions": null,
  "Occupations": [
    {},
    {}
  ],
  "ConnectionError": "sample string 10",
  "Token": "sample string 11",
  "Vat": 12.0,
  "Version": "sample string 13",
  "Timeout": 14,
  "Register": {
    "name": "sample string 1",
    "code": 2,
    "NotPermitted": true
  },
  "PlannedOccupationName": "sample string 15"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/bson

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