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.SubscriptionUser
NameDescriptionTypeAdditional information
Password

string

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.

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:
{
  "Password": "sample string 1",
  "Birthday": "2019-08-19T15:17:46.356241+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": "2019-08-19T15:17:46.356241+00:00",
  "SocietyId": 1,
  "IsDesactivated": true,
  "ActualRights": []
}

text/html

Sample:
{"Password":"sample string 1","Birthday":"2019-08-19T15:17:46.356241+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":"2019-08-19T15:17:46.356241+00:00","SocietyId":1,"IsDesactivated":true,"ActualRights":[]}

application/x-www-form-urlencoded

Sample:

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.Result
NameDescriptionTypeAdditional 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

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

text/html

Sample:
{"Success":true,"Message":"sample string 2"}