PUT accounts

Update the current user account informations. Requires to be authenticated.

Request Information

URI Parameters

None.

Body Parameters

the user

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

Gets or sets a value stating whether or not the user is ok to share his data with a wholesaler

boolean

None.

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.

IsNewsletter

Gets or sets a flag stating if the user has access to the report/newsletter or not

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.

Request Formats

application/json, text/json

Sample:
{
  "IsOkToShareData": true,
  "Birthday": "2023-10-02T01:26:35.4177771+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": "2023-10-02T01:26:35.4646505+00:00",
  "SocietyId": 1,
  "IsDesactivated": true,
  "IsNewsletter": true,
  "ActualRights": []
}

text/html

Sample:
{"IsOkToShareData":true,"Birthday":"2023-10-02T01:26:35.4177771+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":"2023-10-02T01:26:35.4646505+00:00","SocietyId":1,"IsDesactivated":true,"IsNewsletter":true,"ActualRights":[]}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Return if the operation has been released successfully.

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

Gets or sets a value stating whether or not the user is ok to share his data with a wholesaler

boolean

None.

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.

IsNewsletter

Gets or sets a flag stating if the user has access to the report/newsletter or not

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:
{
  "IsOkToShareData": true,
  "Birthday": "2023-10-02T01:26:35.4803162+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": "2023-10-02T01:26:35.4803162+00:00",
  "SocietyId": 1,
  "IsDesactivated": true,
  "IsNewsletter": true,
  "ActualRights": []
}

text/html

Sample:
{"IsOkToShareData":true,"Birthday":"2023-10-02T01:26:35.4803162+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":"2023-10-02T01:26:35.4803162+00:00","SocietyId":1,"IsDesactivated":true,"IsNewsletter":true,"ActualRights":[]}