POST api/Login/getDefintion

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ConnDataForClient
NameDescriptionTypeAdditional information
OTPLogin

boolean

None.

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.

AccuntBranch

AccuntBranch

None.

PlannedOccupationName

string

None.

TemporaryCustNum

integer

None.

is_provider

boolean

None.

branches

Collection of MultiChoseFromTable

None.

Response Formats

application/json, text/json

Sample:
{
  "OTPLogin": true,
  "LastName": "sample string 2",
  "FirstName": "sample string 3",
  "licence": "sample string 4",
  "nickname": "sample string 5",
  "specialty": "sample string 6",
  "degree": "sample string 7",
  "code": 1,
  "ExistsUserQuest": "sample string 8",
  "DropConnKey": "sample string 9",
  "hide_debit_price": "sample string 10",
  "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",
    "google_calender_id": "sample string 13",
    "jump_message": "sample string 14",
    "jump_sex": "sample string 15",
    "jump_from_age": 1,
    "jump_to_age": 1,
    "jump_msg": "sample string 16"
  },
  "lisenceData": {
    "ModulsExpList": [
      {
        "ModuleName": "sample string 1",
        "ModuleIndex": 1,
        "ModuleExpire": "2024-03-28T22:48:54.0198341+03:00"
      },
      {
        "ModuleName": "sample string 1",
        "ModuleIndex": 1,
        "ModuleExpire": "2024-03-28T22:48:54.0198341+03:00"
      }
    ],
    "ExpireDate": "2024-03-28T22:48:54.0198341+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 11",
  "Token": "sample string 12",
  "Vat": 13.0,
  "Version": "sample string 14",
  "Timeout": 15,
  "Register": {
    "name": "sample string 1",
    "code": 2,
    "NotPermitted": true
  },
  "AccuntBranch": {
    "name": "sample string 1",
    "account_num": 2
  },
  "PlannedOccupationName": "sample string 16",
  "TemporaryCustNum": 1,
  "is_provider": true,
  "branches": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

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