POST api/Login/getDefintion

Request Information

URI Parameters

None.

Body Parameters

None.

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": "2020-06-05T21:41:38.4359994+03:00"
      },
      {
        "ModuleName": "sample string 1",
        "ModuleIndex": 1,
        "ModuleExpire": "2020-06-05T21:41:38.4359994+03:00"
      }
    ],
    "ExpireDate": "2020-06-05T21:41:38.4359994+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:

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.