POST api/Account/Register
Request Information
URI Parameters
None.
Body Parameters
RegisterBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
Required |
||
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| PhoneNumber | string |
None. |
|
| CountryCode | string |
None. |
|
| RestaurantIDF | globally unique identifier |
None. |
|
| Password | string |
Data type: Password |
|
| ConfirmPassword | string |
Data type: Password |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"PhoneNumber": "sample string 4",
"CountryCode": "sample string 5",
"RestaurantIDF": "d4f3cd1a-ffac-4625-8ad7-b8d09feb259c",
"Password": "sample string 7",
"ConfirmPassword": "sample string 8"
}
application/xml, text/xml
Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POSAPI.Models"> <ConfirmPassword>sample string 8</ConfirmPassword> <CountryCode>sample string 5</CountryCode> <Email>sample string 1</Email> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <Password>sample string 7</Password> <PhoneNumber>sample string 4</PhoneNumber> <RestaurantIDF>d4f3cd1a-ffac-4625-8ad7-b8d09feb259c</RestaurantIDF> </RegisterBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |