POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Email

string

Required

String length: inclusive between 0 and 250

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

String length: inclusive between 0 and 250

FirstName

string

Required

String length: inclusive between 0 and 250

LastName

string

Required

String length: inclusive between 0 and 250

PhoneNumber

string

String length: inclusive between 0 and 250

CompanyName

string

Required

String length: inclusive between 0 and 250

Address1

string

String length: inclusive between 0 and 250

Address2

string

String length: inclusive between 0 and 250

City

string

String length: inclusive between 0 and 250

State

string

String length: inclusive between 0 and 250

Zipcode

string

String length: inclusive between 0 and 250

Country

string

String length: inclusive between 0 and 250

PlanId

integer

Required

CardName

string

String length: inclusive between 0 and 250

CardNumber

string

Required

String length: inclusive between 0 and 250

CardExpiryMonth

integer

Required

CardExpiryYear

integer

Required

CardCvc

integer

Required

BillingAddress1

string

String length: inclusive between 0 and 250

BillingAddress2

string

String length: inclusive between 0 and 250

BillingZipcode

string

String length: inclusive between 0 and 250

BillingCity

string

String length: inclusive between 0 and 250

BillingState

string

String length: inclusive between 0 and 250

BillingCountry

string

String length: inclusive between 0 and 250

Coupon

string

String length: inclusive between 0 and 250

FireBaseUserId

string

None.

UtmCampaign

string

None.

UtmContent

string

None.

UtmMedium

string

None.

UtmSource

string

None.

UtmTerm

string

None.

ReferrerName

string

None.

ReferrerPhone

string

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",
  "PhoneNumber": "sample string 6",
  "CompanyName": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "City": "sample string 10",
  "State": "sample string 11",
  "Zipcode": "sample string 12",
  "Country": "sample string 13",
  "PlanId": 14,
  "CardName": "sample string 15",
  "CardNumber": "sample string 16",
  "CardExpiryMonth": 17,
  "CardExpiryYear": 18,
  "CardCvc": 19,
  "BillingAddress1": "sample string 20",
  "BillingAddress2": "sample string 21",
  "BillingZipcode": "sample string 22",
  "BillingCity": "sample string 23",
  "BillingState": "sample string 24",
  "BillingCountry": "sample string 25",
  "Coupon": "sample string 26",
  "FireBaseUserId": "sample string 27",
  "UtmCampaign": "sample string 28",
  "UtmContent": "sample string 29",
  "UtmMedium": "sample string 30",
  "UtmSource": "sample string 31",
  "UtmTerm": "sample string 32",
  "ReferrerName": "sample string 33",
  "ReferrerPhone": "sample string 34"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShipperCore.Models">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <BillingAddress1>sample string 20</BillingAddress1>
  <BillingAddress2>sample string 21</BillingAddress2>
  <BillingCity>sample string 23</BillingCity>
  <BillingCountry>sample string 25</BillingCountry>
  <BillingState>sample string 24</BillingState>
  <BillingZipcode>sample string 22</BillingZipcode>
  <CardCvc>19</CardCvc>
  <CardExpiryMonth>17</CardExpiryMonth>
  <CardExpiryYear>18</CardExpiryYear>
  <CardName>sample string 15</CardName>
  <CardNumber>sample string 16</CardNumber>
  <City>sample string 10</City>
  <CompanyName>sample string 7</CompanyName>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <Country>sample string 13</Country>
  <Coupon>sample string 26</Coupon>
  <Email>sample string 1</Email>
  <FireBaseUserId>sample string 27</FireBaseUserId>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <Password>sample string 2</Password>
  <PhoneNumber>sample string 6</PhoneNumber>
  <PlanId>14</PlanId>
  <ReferrerName>sample string 33</ReferrerName>
  <ReferrerPhone>sample string 34</ReferrerPhone>
  <State>sample string 11</State>
  <UtmCampaign>sample string 28</UtmCampaign>
  <UtmContent>sample string 29</UtmContent>
  <UtmMedium>sample string 30</UtmMedium>
  <UtmSource>sample string 31</UtmSource>
  <UtmTerm>sample string 32</UtmTerm>
  <Zipcode>sample string 12</Zipcode>
</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.