POST {bucket}/credential/logon
Gets User Id by login and password.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bucket | string |
Required |
Body Parameters
CredentialModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Login | string |
None. |
|
| Password | string |
None. |
|
| CheckedUser | UserModel |
None. |
|
| ChuckNorris | UserModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Login": "sample string 5",
"Password": "sample string 6",
"CheckedUser": {
"Login": "sample string 1",
"Password": "sample string 2",
"Verified": true,
"LastOnLine": "2025-12-13T08:06:10.2269527+01:00",
"Enabled": true,
"ChuckNorris": true,
"CompanyId": 1,
"ListCivilityId": 1,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Avatar": "sample string 5",
"Email": "sample string 6",
"PhoneNumber": "sample string 7",
"EventInfoList": [
{
"ListEventActionId": 1,
"ChuckNorrisId": 1,
"Response": {
"EventId": 1,
"ErrorMessage": "sample string 1"
}
},
{
"ListEventActionId": 1,
"ChuckNorrisId": 1,
"Response": {
"EventId": 1,
"ErrorMessage": "sample string 1"
}
}
],
"Uid": 1,
"Type": "sample string 8",
"Created": "2025-12-13T08:06:10.227341+01:00",
"Updated": "2025-12-13T08:06:10.227341+01:00",
"Archived": "2025-12-13T08:06:10.227341+01:00",
"CreatedBy": "sample string 9",
"UpdatedBy": "sample string 10",
"ArchivedBy": "sample string 11",
"Version": 1
},
"ChuckNorris": {
"Login": "sample string 1",
"Password": "sample string 2",
"Verified": true,
"LastOnLine": "2025-12-13T08:06:10.2269527+01:00",
"Enabled": true,
"ChuckNorris": true,
"CompanyId": 1,
"ListCivilityId": 1,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Avatar": "sample string 5",
"Email": "sample string 6",
"PhoneNumber": "sample string 7",
"EventInfoList": [
{
"ListEventActionId": 1,
"ChuckNorrisId": 1,
"Response": {
"EventId": 1,
"ErrorMessage": "sample string 1"
}
},
{
"ListEventActionId": 1,
"ChuckNorrisId": 1,
"Response": {
"EventId": 1,
"ErrorMessage": "sample string 1"
}
}
],
"Uid": 1,
"Type": "sample string 8",
"Created": "2025-12-13T08:06:10.227341+01:00",
"Updated": "2025-12-13T08:06:10.227341+01:00",
"Archived": "2025-12-13T08:06:10.227341+01:00",
"CreatedBy": "sample string 9",
"UpdatedBy": "sample string 10",
"ArchivedBy": "sample string 11",
"Version": 1
}
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.