GET api/Account/userInfo

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UserModel
NameDescriptionTypeAdditional information
CoursesCount

integer

None.

CertificateCount

integer

None.

LearnDurationMonths

Collection of LearnDurationMonth

None.

ClickId

string

None.

UserID

integer

None.

FirstName

string

None.

LastName

string

None.

FirstNameEn

string

None.

LastNameEn

string

None.

Gender

integer

None.

Picture

string

None.

Email

string

None.

strPassword

string

None.

Password

Collection of byte

None.

Phone

string

None.

PostalCode

string

None.

CellPhone

string

None.

Address

string

None.

SignUpDate

date

None.

LastSignIn

date

None.

Active

boolean

None.

City

string

None.

NationalCode

string

None.

GroupID

integer

None.

SCode

string

None.

SCodeExpireDate

date

None.

roles

Collection of UserRole

None.

Captcha

string

None.

Token

string

None.

MainGroupId

integer

None.

Grade

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CoursesCount": 1,
  "CertificateCount": 2,
  "LearnDurationMonths": [
    {
      "$id": "2",
      "Year": 1,
      "Month": 2,
      "MonthName": "اردیبهشت",
      "Minute": 3
    },
    {
      "$ref": "2"
    }
  ],
  "ClickId": "sample string 3",
  "UserID": 4,
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "FirstNameEn": "sample string 7",
  "LastNameEn": "sample string 8",
  "Gender": 1,
  "Picture": "sample string 9",
  "Email": "sample string 10",
  "strPassword": "sample string 11",
  "Password": "QEA=",
  "Phone": "sample string 12",
  "PostalCode": "sample string 13",
  "CellPhone": "sample string 14",
  "Address": "sample string 15",
  "SignUpDate": "2020-12-03T00:58:25.6685688+03:30",
  "LastSignIn": "2020-12-03T00:58:25.6685688+03:30",
  "Active": true,
  "City": "sample string 19",
  "NationalCode": "sample string 20",
  "GroupID": 21,
  "SCode": "sample string 22",
  "SCodeExpireDate": "2020-12-03T00:58:25.6685688+03:30",
  "roles": [
    {
      "$id": "3",
      "RoleID": 1,
      "RoleName": "sample string 2",
      "Icon": "sample string 3"
    },
    {
      "$ref": "3"
    }
  ],
  "Captcha": "sample string 24",
  "Token": "sample string 25",
  "MainGroupId": 26,
  "Grade": "sample string 27"
}