GET account?contractID={contractID}&isLogin={isLogin}&pushToken={pushToken}

Gets user account information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contractID

Contract ID

integer

Required

isLogin

True if user loggs in

boolean

Default value is False

pushToken

Token for push notifications

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Account data

AccountModel
NameDescriptionTypeAdditional information
AccountID

User account ID

integer

None.

AccountName

User account name

string

None.

AccessToken

User access token, provided only in Activation function

string

None.

ErrorCode

Error code: 1 - Session parameter is required, 2 - Session not found in database, 3 - QR code has already been activated, 4 - Account not found, 5 - Error name or password

integer

None.

ErrorMessage

Error message

string

None.

HttpStatusCode

HttpStatusCode

HttpStatusCode

None.

Contracts

List of user contracts

Collection of Contract

None.

UserRights

List of user rights

UserRights

None.

AppSettings

List of settings for mobile application

AppSettings

None.

RedirectToLogin

If true, user is redirected to login page.

boolean

None.

EditableUserName

If true, user will fill his username manually in the login form. If false, username is pre-filled in the login form.

boolean

None.

RedirectToPIN

If true, user is redirected to page with PIN code.

boolean

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.