POST api/users/signup
Creates a user
Request Information
URI Parameters
None.
Body Parameters
PostUserReq| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
Required |
||
| FirstName | string |
Required |
|
| LastName | string |
Required |
|
| PhoneNumber | string |
Required |
|
| City | string |
Required |
|
| Password | string |
Required Min length: 8 |
|
| ClientId | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"email": "Billy@Bob.ca",
"firstName": "Billy",
"lastName": "Bob",
"phoneNumber": "9028751983",
"city": "Halifax",
"password": "Billy123",
"clientId": "id"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Creates a user
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.
Error responses
- email_already_registered - Provided email has already been registered
- invalid_fields - The submitted information is incomplete or otherwise invalid. The description of the error will be a detailed summary of invalid fields