GET accounts

Returns the current authenticated user information. Don't forget the 'authorization' header with value 'bearer %token%', where the token is retrieved via the ~/oauth/token jwt login route.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A FliprUser object with user information.

Flipr.Data.SQL.Users.User
NameDescriptionTypeAdditional information
Birthday

Gets or sets the user's birthday

date

None.

Email

Gets or sets the email address

string

Required

String length: inclusive between 0 and 50

FirstName

Gets or sets the firstname

string

String length: inclusive between 0 and 50

LastName

Gets or sets the lastname

string

String length: inclusive between 0 and 30

PhoneNumber

Gets or sets the phone number

string

None.

IsActivated

Gets or sets a value indicating whether or not the account has been activated

boolean

None.

Lang

Gets or sets the lang of the user

string

None.

NotifyFiltrationDuration

Gets or sets the filtration duration advice's notification flag

boolean

None.

NotifyProbeIssues

Gets or sets the probe issue's notification flag

boolean

None.

NotifyStock

Gets or sets the notify stock's flag

boolean

None.

NotifyPoolsHealth

Gets or sets the pool heath's notification flag

boolean

None.

SystemPauseNotifications

Gets or sets the Pause Notifications flag. Used to stop the notifications by the system.

boolean

None.

IsSocietyCreator

Gets or sets the fact the user created the society he's part of, or not

boolean

None.

JoinedSocietyDate

Gets or sets the date at which the user joined the society

date

None.

SocietyId

gets or Sets the society id

integer

None.

IsDesactivated

Gets or sets a flag stating whether or not the user can still use datapool.

boolean

None.

ActualRights

Gets the actual rights of the user. Including its own rights and the rights of the groups it belongs to.

Collection of Flipr.Data.SQL.Security.Scope

None.

Response Formats

application/json, text/json

Sample:
{
  "Birthday": "2019-10-15T05:09:53.6192542+00:00",
  "Email": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "PhoneNumber": "sample string 7",
  "IsActivated": true,
  "Lang": "sample string 10",
  "NotifyFiltrationDuration": true,
  "NotifyProbeIssues": true,
  "NotifyStock": true,
  "NotifyPoolsHealth": true,
  "SystemPauseNotifications": true,
  "IsSocietyCreator": true,
  "JoinedSocietyDate": "2019-10-15T05:09:53.6192542+00:00",
  "SocietyId": 1,
  "IsDesactivated": true,
  "ActualRights": []
}

text/html

Sample:
{"Birthday":"2019-10-15T05:09:53.6192542+00:00","Email":"sample string 4","FirstName":"sample string 5","LastName":"sample string 6","PhoneNumber":"sample string 7","IsActivated":true,"Lang":"sample string 10","NotifyFiltrationDuration":true,"NotifyProbeIssues":true,"NotifyStock":true,"NotifyPoolsHealth":true,"SystemPauseNotifications":true,"IsSocietyCreator":true,"JoinedSocietyDate":"2019-10-15T05:09:53.6192542+00:00","SocietyId":1,"IsDesactivated":true,"ActualRights":[]}