POST api/Drivers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

AspNetUser
NameDescriptionTypeAdditional information
Id

string

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.

Image

string

None.

AspNetUserClaims

Collection of AspNetUserClaim

None.

AspNetUserLogins

Collection of AspNetUserLogin

None.

AspNetUserRoles

Collection of AspNetUserRole

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Email": "sample string 2",
  "EmailConfirmed": true,
  "PasswordHash": "sample string 4",
  "SecurityStamp": "sample string 5",
  "PhoneNumber": "sample string 6",
  "PhoneNumberConfirmed": true,
  "TwoFactorEnabled": true,
  "LockoutEndDateUtc": "2021-11-30T23:39:37.2165516+02:00",
  "LockoutEnabled": true,
  "AccessFailedCount": 10,
  "UserName": "sample string 11",
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "Image": "sample string 14",
  "AspNetUserClaims": [
    {
      "Id": 1,
      "UserId": "sample string 2",
      "ClaimType": "sample string 3",
      "ClaimValue": "sample string 4"
    },
    {
      "Id": 1,
      "UserId": "sample string 2",
      "ClaimType": "sample string 3",
      "ClaimValue": "sample string 4"
    }
  ],
  "AspNetUserLogins": [
    {
      "LoginProvider": "sample string 1",
      "ProviderKey": "sample string 2",
      "UserId": "sample string 3"
    },
    {
      "LoginProvider": "sample string 1",
      "ProviderKey": "sample string 2",
      "UserId": "sample string 3"
    }
  ],
  "AspNetUserRoles": [
    {
      "UserId": "sample string 1",
      "RoleId": "sample string 2",
      "Id": 3,
      "AspNetRole": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "isDriver": true,
        "AspNetUserRoles": []
      }
    },
    {
      "UserId": "sample string 1",
      "RoleId": "sample string 2",
      "Id": 3,
      "AspNetRole": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "isDriver": true,
        "AspNetUserRoles": []
      }
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.