PUT api/v1/account/validateInSession/email?EmailOrUsername={EmailOrUsername}&ValidationKeyOrPassword={ValidationKeyOrPassword}
This method should be called in the scenario user enters his validation key in TC2 application for email validation. Validation key will be sent through an email Equivalent SOAP API : ValidateEmailAddressInSession
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
EmailOrUsername | string |
None. |
|
ValidationKeyOrPassword | string |
None. |
Body Parameters
None.
Response Information
Resource Description
EmailValidationResult
EmailValidationResultName | Description | Type | Additional information |
---|---|---|---|
ResultCode | integer |
None. |
|
ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResultCode": 1, "ResultData": "sample string 2" }
application/xml, text/xml
Sample:
<EmailValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2API.Resource.Models.ResultData"> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">1</ResultCode> <ResultData xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">sample string 2</ResultData> </EmailValidationResult>