POST api/Core

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Email

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

Name

string

Required

Type

string

None.

Status

string

None.

Username

string

Required

PictureId

string

Required

PhoneNumber

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "Name": "sample string 4",
  "Type": "sample string 5",
  "Status": "sample string 6",
  "Username": "sample string 7",
  "PictureId": "sample string 8",
  "PhoneNumber": "sample string 9"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Models">
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <Email>sample string 1</Email>
  <Name>sample string 4</Name>
  <Password>sample string 2</Password>
  <PhoneNumber>sample string 9</PhoneNumber>
  <PictureId>sample string 8</PictureId>
  <Status>sample string 6</Status>
  <Type>sample string 5</Type>
  <Username>sample string 7</Username>
</RegisterBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApplicationUser
NameDescriptionTypeAdditional information
CreationDate

date

None.

LastModificationDate

date

None.

Name

string

None.

Type

string

None.

Status

string

None.

PictureId

string

None.

password

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.

Roles

Collection of IdentityUserRole

None.

Claims

Collection of IdentityUserClaim

None.

Logins

Collection of IdentityUserLogin

None.

Id

string

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CreationDate": "2024-11-21T01:35:58.544242-08:00",
  "LastModificationDate": "2024-11-21T01:35:58.544242-08:00",
  "Name": "sample string 3",
  "Type": "sample string 4",
  "Status": "sample string 5",
  "PictureId": "sample string 6",
  "password": "sample string 7",
  "Email": "sample string 8",
  "EmailConfirmed": true,
  "PasswordHash": "sample string 10",
  "SecurityStamp": "sample string 11",
  "PhoneNumber": "sample string 12",
  "PhoneNumberConfirmed": true,
  "TwoFactorEnabled": true,
  "LockoutEndDateUtc": "2024-11-21T01:35:58.544242-08:00",
  "LockoutEnabled": true,
  "AccessFailedCount": 16,
  "Roles": [],
  "Claims": [],
  "Logins": [],
  "Id": "sample string 17",
  "UserName": "sample string 18"
}

application/xml, text/xml

Sample:
<ApplicationUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Models">
  <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">16</AccessFailedCount>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 8</Email>
  <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 17</Id>
  <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
  <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2024-11-21T01:35:58.544242-08:00</LockoutEndDateUtc>
  <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</PasswordHash>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 12</PhoneNumber>
  <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
  <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 11</SecurityStamp>
  <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 18</UserName>
  <CreationDate>2024-11-21T01:35:58.544242-08:00</CreationDate>
  <LastModificationDate>2024-11-21T01:35:58.544242-08:00</LastModificationDate>
  <Name>sample string 3</Name>
  <PictureId>sample string 6</PictureId>
  <Status>sample string 5</Status>
  <Type>sample string 4</Type>
  <password>sample string 7</password>
</ApplicationUser>