POST api/Login/RegisterNewCustomer

Request Information

URI Parameters

None.

Body Parameters

RegisterForSalon
NameDescriptionTypeAdditional information
name

string

None.

phoneNo

string

None.

email

string

None.

dateOfBirth

string

None.

password

string

None.

countryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "phoneNo": "sample string 2",
  "email": "sample string 3",
  "dateOfBirth": "sample string 4",
  "password": "sample string 5",
  "countryId": 1
}

text/html, multipart/form-data

Sample:
{"name":"sample string 1","phoneNo":"sample string 2","email":"sample string 3","dateOfBirth":"sample string 4","password":"sample string 5","countryId":1}

application/xml, text/xml

Sample:
<RegisterForSalon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.SalonAppointment">
  <countryId>1</countryId>
  <dateOfBirth>sample string 4</dateOfBirth>
  <email>sample string 3</email>
  <name>sample string 1</name>
  <password>sample string 5</password>
  <phoneNo>sample string 2</phoneNo>
</RegisterForSalon>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.