POST api/ng/account/registersubscribe

Request Information

URI Parameters

None.

Body Parameters

RegisterUserModel
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Email

string

None.

IsWorkshop

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "IsWorkshop": true
}

application/xml, text/xml

Sample:
<RegisterUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <IsWorkshop>true</IsWorkshop>
  <LastName>sample string 2</LastName>
</RegisterUserModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisterUserModel'.

Response Information

Resource Description

RegisterUserResultModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

EmailConfirmation

boolean

None.

ErrorType

RegisterUserError

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "EmailConfirmation": true,
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<RegisterUserResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <EmailConfirmation>true</EmailConfirmation>
  <ErrorType>NoError</ErrorType>
  <IsSuccess>true</IsSuccess>
</RegisterUserResultModel>