RMail API

Back to Account (v1)

POST api/V1/Account/ValidateToken

Validate token

Prerequisites

To be implemented

Request Information

Lorem ipsum

URI Parameters

none

Header Parameters

Header Description

Name Description Type
Content-Type This is a request content type application/json
Accept This is a response content type application/json
AuthToken This is user’s authorization token. example@example.com^296f1f85-35d4-4dd4-a350-67131c926546^rps^en-US

Note: From the Header parameters mentioned, “AuthToken” is not required for the below mentioned services.

  • Account/RegisterUser
  • Authentication/AuthenticateUser

Body Parameters

Name Description Type Additional information
EmailAddress Get/Set Email Address stringNone.
BrowserName Get/Set Browser Name string None
IPAddress Get/Set ipAddress string None

Request Formats

application/json, text/json
Sample:
{
"EmailAddress": "sample string 1",
"BrowserName": "sample string 2",
"IPAddress": "sample string 3"
}
application/xml, text/xml
Sample:
<UserModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EmailAddress>sample string 1</EmailAddress>
<BrowserName>sample string 2</BrowserName>
<IPAddress>sample string 3</IPAddress>
</UserModel>

Response Information

Resource Description

Name Description Type Additional information
StatusCode This will return Status Code. HttpStatusCode None.
StatusMessage This will return Status Message. string None
Message This will return response message for corresponding status code. string None
data Object None

Response Formats

application/json, text/json
Sample:
{
"StatusCode": 100,
"StatusMessage": "sample string 1",
"Message": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<ResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<StatusCode>Continue</StatusCode>
<StatusMessage>sample string 1</StatusMessage>
<Message>sample string 2</Message>
<data ></data>
</ResponseMessage>

Was this page helpful?