POST ClientAccounts/confirm
Request Information
URI Parameters
None.
Body Parameters
ConfirmationCodeSubmitModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
Required |
||
| Code | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"email": "sample string 1",
"code": "sample string 2"
}
application/xml, text/xml
Sample:
<ConfirmationCodeSubmitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalonPartner.Api.Models"> <Code>sample string 2</Code> <Email>sample string 1</Email> </ConfirmationCodeSubmitModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserTokenModel| Name | Description | Type | Additional 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:15:11.6720317+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:15:11.6720317+00:00</UtcExpiry> </UserTokenModel>