POST accounts
Register a new user on the store. the user email and passwords are mandatory.
Request Information
URI Parameters
None.
Body Parameters
The user details.
Flipr.Business.Management.SubscriptionUserName | Description | Type | Additional information |
---|---|---|---|
Password | string |
None. |
|
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. |
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
{ "Password": "sample string 1", "IsOkToShareData": true, "Birthday": "2023-02-01T15:20:46.4245538+00:00", "Email": "sample string 5", "FirstName": "sample string 6", "LastName": "sample string 7", "PhoneNumber": "sample string 8", "IsActivated": true, "Lang": "sample string 11", "NotifyFiltrationDuration": true, "NotifyProbeIssues": true, "NotifyStock": true, "NotifyPoolsHealth": true, "SystemPauseNotifications": true, "IsSocietyCreator": true, "JoinedSocietyDate": "2023-02-01T15:20:46.4245538+00:00", "SocietyId": 1, "IsDesactivated": true, "IsNewsletter": true, "ActualRights": [] }
text/html
{"Password":"sample string 1","IsOkToShareData":true,"Birthday":"2023-02-01T15:20:46.4245538+00:00","Email":"sample string 5","FirstName":"sample string 6","LastName":"sample string 7","PhoneNumber":"sample string 8","IsActivated":true,"Lang":"sample string 11","NotifyFiltrationDuration":true,"NotifyProbeIssues":true,"NotifyStock":true,"NotifyPoolsHealth":true,"SystemPauseNotifications":true,"IsSocietyCreator":true,"JoinedSocietyDate":"2023-02-01T15:20:46.4245538+00:00","SocietyId":1,"IsDesactivated":true,"IsNewsletter":true,"ActualRights":[]}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Return true if the account has been created, false if an account with the same email allready exists.
Flipr.Web.Api.Controllers.JsonWrappers.ResultName | Description | Type | Additional information |
---|---|---|---|
Success |
Gets or sets a value indicating whether or not the action is succesfull |
boolean |
None. |
Message |
Gets or sets the result message |
string |
None. |
Response Formats
application/json, text/json
{ "Success": true, "Message": "sample string 2" }
text/html
{"Success":true,"Message":"sample string 2"}