POST api/UsersInt

Request Information

URI Parameters

None.

Body Parameters

UserInt
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

EmailConfirmed

boolean

None.

PasswordHash

string

None.

SecurityStamp

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

FirstLastName

string

None.

LastFirstName

string

None.

Claims

Collection of UserClaimInt

None.

Logins

Collection of UserLoginInt

None.

Roles

Collection of UserRoleInt

None.

CreatedAt

date

None.

CreatedBy

string

Max length: 256

UpdatedAt

date

None.

UpdatedBy

string

Max length: 256

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "email": "sample string 2",
  "emailConfirmed": true,
  "passwordHash": "sample string 4",
  "securityStamp": "sample string 5",
  "phoneNumber": "sample string 6",
  "phoneNumberConfirmed": true,
  "twoFactorEnabled": true,
  "lockoutEndDateUtc": "2024-05-02T23:19:16.106Z",
  "lockoutEnabled": true,
  "accessFailedCount": 10,
  "userName": "sample string 11",
  "firstName": "sample string 12",
  "lastName": "sample string 13",
  "firstLastName": "sample string 12 sample string 13",
  "lastFirstName": "sample string 13 sample string 12",
  "claims": [
    {
      "$id": "2",
      "id": 1,
      "userId": 2,
      "user": {
        "$ref": "1"
      },
      "claimType": "sample string 3",
      "claimValue": "sample string 4"
    },
    {
      "$ref": "2"
    }
  ],
  "logins": [
    {
      "$id": "3",
      "loginProvider": "sample string 1",
      "providerKey": "sample string 2",
      "userId": 3,
      "user": {
        "$ref": "1"
      }
    },
    {
      "$ref": "3"
    }
  ],
  "roles": [
    {
      "$id": "4",
      "userId": 1,
      "user": {
        "$ref": "1"
      },
      "roleId": 2,
      "role": {
        "$id": "5",
        "id": 1,
        "name": "sample string 2",
        "users": [
          {
            "$ref": "4"
          },
          {
            "$ref": "4"
          }
        ]
      }
    },
    {
      "$ref": "4"
    }
  ],
  "createdAt": "2024-05-02T23:19:16.106Z",
  "createdBy": "sample string 15",
  "updatedAt": "2024-05-02T23:19:16.106Z",
  "updatedBy": "sample string 17"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserInt
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

EmailConfirmed

boolean

None.

PasswordHash

string

None.

SecurityStamp

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

FirstLastName

string

None.

LastFirstName

string

None.

Claims

Collection of UserClaimInt

None.

Logins

Collection of UserLoginInt

None.

Roles

Collection of UserRoleInt

None.

CreatedAt

date

None.

CreatedBy

string

Max length: 256

UpdatedAt

date

None.

UpdatedBy

string

Max length: 256

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "email": "sample string 2",
  "emailConfirmed": true,
  "passwordHash": "sample string 4",
  "securityStamp": "sample string 5",
  "phoneNumber": "sample string 6",
  "phoneNumberConfirmed": true,
  "twoFactorEnabled": true,
  "lockoutEndDateUtc": "2024-05-02T23:19:16.106Z",
  "lockoutEnabled": true,
  "accessFailedCount": 10,
  "userName": "sample string 11",
  "firstName": "sample string 12",
  "lastName": "sample string 13",
  "firstLastName": "sample string 12 sample string 13",
  "lastFirstName": "sample string 13 sample string 12",
  "claims": [
    {
      "$id": "2",
      "id": 1,
      "userId": 2,
      "user": {
        "$ref": "1"
      },
      "claimType": "sample string 3",
      "claimValue": "sample string 4"
    },
    {
      "$ref": "2"
    }
  ],
  "logins": [
    {
      "$id": "3",
      "loginProvider": "sample string 1",
      "providerKey": "sample string 2",
      "userId": 3,
      "user": {
        "$ref": "1"
      }
    },
    {
      "$ref": "3"
    }
  ],
  "roles": [
    {
      "$id": "4",
      "userId": 1,
      "user": {
        "$ref": "1"
      },
      "roleId": 2,
      "role": {
        "$id": "5",
        "id": 1,
        "name": "sample string 2",
        "users": [
          {
            "$ref": "4"
          },
          {
            "$ref": "4"
          }
        ]
      }
    },
    {
      "$ref": "4"
    }
  ],
  "createdAt": "2024-05-02T23:19:16.106Z",
  "createdBy": "sample string 15",
  "updatedAt": "2024-05-02T23:19:16.106Z",
  "updatedBy": "sample string 17"
}