POST api/v{version}/Account/Register

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

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

UserName

string

Required

Matching regular expression pattern: ^[A-Za-z0-9\[\]/\\!$%^&*()\-_+{};:'£@#.?]*$

PhoneNumber

string

Required

String length: inclusive between 10 and 10

FirstName

string

Required

LastName

string

Required

SelectedSecurityQuestion

string

Required

SecurityQuestions

Dictionary of string [key] and string [value]

None.

SecurityAnswer

string

Required

AgreeToTerms

boolean

None.

CustomSecurityQuestion

string

None.

Districtid

integer

Required

Parent_Premium

integer

None.

Phone

string

None.

State

string

Required

FacebookLoginId

integer

None.

FacebookImageUrl

string

None.

FacebookFirstName

string

None.

FacebookLastName

string

None.

ConvenienceFee

string

None.

SchoolFeeFee

string

None.

FeeWarning

string

None.

AccountFeatureMode

EnumAccountFeatureMode

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "UserName": "sample string 4",
  "PhoneNumber": "sample string 5",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "SelectedSecurityQuestion": "sample string 8",
  "SecurityQuestions": {
    "INVALID": "Select a security question...",
    "What is the name of your best friend from childhood?": "What is the name of your best friend from childhood?",
    "What was the name of your first teacher?": "What was the name of your first teacher?",
    "What is the name of your manager at your first job?": "What is the name of your manager at your first job?",
    "What was your first phone number?": "What was your first phone number?",
    "What is your vehicle registration number?": "What is your vehicle registration number?",
    "What is your library card number?": "What is your library card number?",
    "CUSTOM": "Write your own question..."
  },
  "SecurityAnswer": "sample string 9",
  "AgreeToTerms": true,
  "CustomSecurityQuestion": "sample string 11",
  "Districtid": 1,
  "Parent_Premium": 1,
  "Phone": "sample string 12",
  "State": "sample string 13",
  "FacebookLoginId": 1,
  "FacebookImageUrl": "sample string 14",
  "FacebookFirstName": "sample string 15",
  "FacebookLastName": "sample string 16",
  "ConvenienceFee": "sample string 17",
  "SchoolFeeFee": "sample string 18",
  "FeeWarning": "sample string 19",
  "AccountFeatureMode": 0
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/K12.Shared.APIModels">
  <AccountFeatureMode>Hidden</AccountFeatureMode>
  <AgreeToTerms>true</AgreeToTerms>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <ConvenienceFee>sample string 17</ConvenienceFee>
  <CustomSecurityQuestion>sample string 11</CustomSecurityQuestion>
  <Districtid>1</Districtid>
  <Email>sample string 1</Email>
  <FacebookFirstName>sample string 15</FacebookFirstName>
  <FacebookImageUrl>sample string 14</FacebookImageUrl>
  <FacebookLastName>sample string 16</FacebookLastName>
  <FacebookLoginId>1</FacebookLoginId>
  <FeeWarning>sample string 19</FeeWarning>
  <FirstName>sample string 6</FirstName>
  <LastName>sample string 7</LastName>
  <Parent_Premium>1</Parent_Premium>
  <Password>sample string 2</Password>
  <Phone>sample string 12</Phone>
  <PhoneNumber>sample string 5</PhoneNumber>
  <SchoolFeeFee>sample string 18</SchoolFeeFee>
  <SecurityAnswer>sample string 9</SecurityAnswer>
  <SecurityQuestions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>INVALID</d2p1:Key>
      <d2p1:Value>Select a security question...</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>What is the name of your best friend from childhood?</d2p1:Key>
      <d2p1:Value>What is the name of your best friend from childhood?</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>What was the name of your first teacher?</d2p1:Key>
      <d2p1:Value>What was the name of your first teacher?</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>What is the name of your manager at your first job?</d2p1:Key>
      <d2p1:Value>What is the name of your manager at your first job?</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>What was your first phone number?</d2p1:Key>
      <d2p1:Value>What was your first phone number?</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>What is your vehicle registration number?</d2p1:Key>
      <d2p1:Value>What is your vehicle registration number?</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>What is your library card number?</d2p1:Key>
      <d2p1:Value>What is your library card number?</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>CUSTOM</d2p1:Key>
      <d2p1:Value>Write your own question...</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </SecurityQuestions>
  <SelectedSecurityQuestion>sample string 8</SelectedSecurityQuestion>
  <State>sample string 13</State>
  <UserName>sample string 4</UserName>
</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.