POST api/Account/Register

Registers an account

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Email

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

FirstName

string

None.

LastName

string

None.

UserName

string

None.

ext_clerk_id

string

None.

LockoutEnabled

boolean

None.

CasinoID

integer

None.

LockoutEndDateUtc

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "UserName": "sample string 6",
  "ext_clerk_id": "sample string 7",
  "LockoutEnabled": true,
  "CasinoID": 9,
  "LockoutEndDateUtc": "2018-11-13T20:18:18.9815916+00:00"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FABITrackAPI.Models">
  <CasinoID>9</CasinoID>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <Email>sample string 1</Email>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <LockoutEnabled>true</LockoutEnabled>
  <LockoutEndDateUtc>2018-11-13T20:18:18.9815916+00:00</LockoutEndDateUtc>
  <Password>sample string 2</Password>
  <UserName>sample string 6</UserName>
  <ext_clerk_id>sample string 7</ext_clerk_id>
</RegisterBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.