POST api/Account/_SignIn

Request Information

URI Parameters

None.

Body Parameters

LoginViewModel
NameDescriptionTypeAdditional information
Email

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.Security.SignInModule.ViewModels">
  <Email>sample string 1</Email>
  <Password>sample string 2</Password>
</LoginViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Email

string

Required

String length: inclusive between 0 and 100

PasswordHash

string

Data type: Password

String length: inclusive between 6 and 200

AliasName

string

String length: inclusive between 0 and 50

IsEnabled

boolean

None.

IsLocked

boolean

None.

LockDate

date

None.

EmailConfirmed

boolean

None.

UserTypeId

integer

None.

UserType

UserType

None.

IsDeletable

boolean

None.

TwoFactorEnabled

boolean

None.

SecurityStamp

string

None.

IsSubscribedToNewsLetter

boolean

None.

JoinDate

date

None.

ExtraInfo

string

None.

PhoneNumber

string

Data type: PhoneNumber

PhoneNumberConfirmed

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

ImagePath

ImageInfo

None.

ImagePathFullName

string

String length: inclusive between 0 and 1000

Roles

Collection of Role

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "a6b14f41-f19d-45a5-b1d3-d926016a83d2",
  "Email": "sample string 2",
  "PasswordHash": "sample string 3",
  "AliasName": "sample string 4",
  "IsEnabled": true,
  "IsLocked": true,
  "LockDate": "2026-02-10 07:38",
  "EmailConfirmed": true,
  "UserTypeId": 8,
  "UserType": {
    "Id": 1,
    "Name": "sample string 2",
    "NameAr": "sample string 3",
    "LocalizedName": "sample string 4"
  },
  "IsDeletable": true,
  "TwoFactorEnabled": true,
  "SecurityStamp": "sample string 11",
  "IsSubscribedToNewsLetter": true,
  "JoinDate": "2026-02-10 07:38",
  "ExtraInfo": "sample string 14",
  "PhoneNumber": "sample string 15",
  "PhoneNumberConfirmed": true,
  "LockoutEndDateUtc": "2026-02-10 07:38",
  "LockoutEnabled": true,
  "AccessFailedCount": 18,
  "ImagePath": {
    "Folder": "",
    "FileName": "sample string 6",
    "Extension": "",
    "Width": 4,
    "Height": 5,
    "ResizeMode": 0,
    "FullName": "~/ContentFiles/sample string 6."
  },
  "ImagePathFullName": "sample string 19",
  "Roles": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "NameAr": "sample string 3",
      "LocalizedName": "sample string 4",
      "Permissions": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "NameAr": "sample string 3",
          "LocalizedName": "sample string 4"
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "NameAr": "sample string 3",
          "LocalizedName": "sample string 4"
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "NameAr": "sample string 3",
      "LocalizedName": "sample string 4",
      "Permissions": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "NameAr": "sample string 3",
          "LocalizedName": "sample string 4"
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "NameAr": "sample string 3",
          "LocalizedName": "sample string 4"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.Common.DataContracts">
  <AccessFailedCount>18</AccessFailedCount>
  <AliasName>sample string 4</AliasName>
  <Email>sample string 2</Email>
  <EmailConfirmed>true</EmailConfirmed>
  <ExtraInfo>sample string 14</ExtraInfo>
  <Id>a6b14f41-f19d-45a5-b1d3-d926016a83d2</Id>
  <ImagePath xmlns:d2p1="http://schemas.datacontract.org/2004/07/LP.Core.Framework">
    <d2p1:Extension></d2p1:Extension>
    <d2p1:FileName>sample string 6</d2p1:FileName>
    <d2p1:Folder></d2p1:Folder>
    <d2p1:FullName>~/ContentFiles/sample string 6.</d2p1:FullName>
    <d2p1:Height>5</d2p1:Height>
    <d2p1:ResizeMode>None</d2p1:ResizeMode>
    <d2p1:Width>4</d2p1:Width>
  </ImagePath>
  <ImagePathFullName>sample string 19</ImagePathFullName>
  <IsDeletable>true</IsDeletable>
  <IsEnabled>true</IsEnabled>
  <IsLocked>true</IsLocked>
  <IsSubscribedToNewsLetter>true</IsSubscribedToNewsLetter>
  <JoinDate>2026-02-10T07:38:31.3299653-06:00</JoinDate>
  <LockDate>2026-02-10T07:38:31.3299653-06:00</LockDate>
  <LockoutEnabled>true</LockoutEnabled>
  <LockoutEndDateUtc>2026-02-10T07:38:31.3299653-06:00</LockoutEndDateUtc>
  <PasswordHash>sample string 3</PasswordHash>
  <PhoneNumber>sample string 15</PhoneNumber>
  <PhoneNumberConfirmed>true</PhoneNumberConfirmed>
  <Roles>
    <Role>
      <Id>1</Id>
      <LocalizedName>sample string 4</LocalizedName>
      <Name>sample string 2</Name>
      <NameAr>sample string 3</NameAr>
      <Permissions>
        <Permission>
          <Id>1</Id>
          <LocalizedName>sample string 4</LocalizedName>
          <Name>sample string 2</Name>
          <NameAr>sample string 3</NameAr>
        </Permission>
        <Permission>
          <Id>1</Id>
          <LocalizedName>sample string 4</LocalizedName>
          <Name>sample string 2</Name>
          <NameAr>sample string 3</NameAr>
        </Permission>
      </Permissions>
    </Role>
    <Role>
      <Id>1</Id>
      <LocalizedName>sample string 4</LocalizedName>
      <Name>sample string 2</Name>
      <NameAr>sample string 3</NameAr>
      <Permissions>
        <Permission>
          <Id>1</Id>
          <LocalizedName>sample string 4</LocalizedName>
          <Name>sample string 2</Name>
          <NameAr>sample string 3</NameAr>
        </Permission>
        <Permission>
          <Id>1</Id>
          <LocalizedName>sample string 4</LocalizedName>
          <Name>sample string 2</Name>
          <NameAr>sample string 3</NameAr>
        </Permission>
      </Permissions>
    </Role>
  </Roles>
  <SecurityStamp>sample string 11</SecurityStamp>
  <TwoFactorEnabled>true</TwoFactorEnabled>
  <UserType>
    <Id>1</Id>
    <LocalizedName>sample string 4</LocalizedName>
    <Name>sample string 2</Name>
    <NameAr>sample string 3</NameAr>
  </UserType>
  <UserTypeId>8</UserTypeId>
</User>