POST Users

Vytvoření (registrace) nového uživatele.

Request Information

URI Parameters

None.

Body Parameters

Definice nového uživatele

UserRegistrationDTO
NameDescriptionTypeAdditional information
Name

string

None.

Surname

string

None.

DegreeBefore

string

None.

DegreeAfter

string

None.

Email

string

None.

Password

string

None.

ConfirmPassword

string

None.

Type

UserType

None.

LegalType

UserLegalType

None.

AddressStreet

string

None.

AddressCity

string

None.

AddressPostalCode

string

None.

Company

string

None.

IC

string

None.

DIC

string

None.

Note

string

None.

PhoneNumber

string

None.

DoNotCreateEshopAccount

boolean

None.

GeneratePassword

boolean

None.

AgreesWithTermsAndConditions

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "surname": "sample string 2",
  "degreeBefore": "sample string 3",
  "degreeAfter": "sample string 4",
  "email": "sample string 5",
  "password": "sample string 6",
  "confirmPassword": "sample string 7",
  "type": "other",
  "legalType": "person",
  "addressStreet": "sample string 8",
  "addressCity": "sample string 9",
  "addressPostalCode": "sample string 10",
  "company": "sample string 11",
  "ic": "sample string 12",
  "dic": "sample string 13",
  "note": "sample string 14",
  "phoneNumber": "sample string 15",
  "doNotCreateEshopAccount": true,
  "generatePassword": true,
  "agreesWithTermsAndConditions": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserDTO
NameDescriptionTypeAdditional information
UserName

string

None.

Email

string

None.

PhoneNumber

string

None.

Type

UserType

None.

AddressStreet

string

None.

AddressCity

string

None.

AddressPostalCode

string

None.

IC

string

None.

DIC

string

None.

Note

string

None.

LastLogin

date

None.

HasEshopAccount

boolean

None.

IsDisabled

boolean

None.

Role

EdistributionRole

None.

EmailConfirmed

boolean

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

Name

string

None.

Surname

string

None.

Company

string

None.

DegreeBefore

string

None.

DegreeAfter

string

None.

LegalType

UserLegalType

None.

CreatorId

integer

None.

EditorId

integer

None.

Created

date

None.

Edited

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "email": "sample string 2",
  "phoneNumber": "sample string 3",
  "type": "other",
  "addressStreet": "sample string 4",
  "addressCity": "sample string 5",
  "addressPostalCode": "sample string 6",
  "ic": "sample string 7",
  "dic": "sample string 8",
  "note": "sample string 9",
  "lastLogin": "2025-05-04T12:29:40.443782",
  "hasEshopAccount": true,
  "isDisabled": true,
  "role": null,
  "emailConfirmed": true,
  "phoneNumberConfirmed": true,
  "twoFactorEnabled": true,
  "lockoutEndDateUtc": "2025-05-04T12:29:40.443782",
  "lockoutEnabled": true,
  "accessFailedCount": 16,
  "name": "sample string 17",
  "surname": "sample string 18",
  "company": "sample string 19",
  "degreeBefore": "sample string 20",
  "degreeAfter": "sample string 21",
  "legalType": "person",
  "creatorId": 22,
  "editorId": 1,
  "created": "2025-05-04T12:29:40.443782",
  "edited": "2025-05-04T12:29:40.443782",
  "id": 24
}