POST ClientAccounts/register

Request Information

URI Parameters

None.

Body Parameters

ClientAccountRegisterModel
NameDescriptionTypeAdditional information
GenderId

integer

Required

Email

string

Required

String length: inclusive between 0 and 200

Forenames

string

Required

String length: inclusive between 0 and 50

Surname

string

Required

String length: inclusive between 0 and 50

MobileTelephone

string

Required

String length: inclusive between 0 and 50

UUID

string

Required

Password

string

Required

String length: inclusive between 0 and 50

NotificationSendingTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "genderId": 1,
  "email": "sample string 2",
  "forenames": "sample string 3",
  "surname": "sample string 4",
  "mobileTelephone": "sample string 5",
  "uuid": "sample string 6",
  "password": "sample string 7",
  "notificationSendingTypeId": 8
}

application/xml, text/xml

Sample:
<ClientAccountRegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalonPartner.Api.Models">
  <Email>sample string 2</Email>
  <Forenames>sample string 3</Forenames>
  <GenderId>1</GenderId>
  <MobileTelephone>sample string 5</MobileTelephone>
  <NotificationSendingTypeId>8</NotificationSendingTypeId>
  <Password>sample string 7</Password>
  <Surname>sample string 4</Surname>
  <UUID>sample string 6</UUID>
</ClientAccountRegisterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserTokenModel
NameDescriptionTypeAdditional information
Token

string

None.

UtcExpiry

date

None.

AccessLevelId

EmployeeAccessLevelEnum

None.

Username

string

None.

Surname

string

None.

Forenames

string

None.

Id

integer

None.

CompanyId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "utcExpiry": "2026-01-01T14:35:41.5155291+00:00",
  "accessLevelId": 0,
  "username": "sample string 3",
  "surname": "sample string 4",
  "forenames": "sample string 5",
  "id": 6,
  "companyId": 7
}

application/xml, text/xml

Sample:
<UserTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalonPartner.Api.Models.User">
  <AccessLevelId>None</AccessLevelId>
  <CompanyId>7</CompanyId>
  <Forenames>sample string 5</Forenames>
  <Id>6</Id>
  <Surname>sample string 4</Surname>
  <Token>sample string 1</Token>
  <Username>sample string 3</Username>
  <UtcExpiry>2026-01-01T14:35:41.5155291+00:00</UtcExpiry>
</UserTokenModel>