POST token/validate

Request Information

URI Parameters

None.

Body Parameters

ValidateToken
NameDescriptionTypeAdditional information
Token

string

Required

Key

string

Required

UserName

string

Required

ValidTime

integer

Range: inclusive between 1 and 2147483647

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Key": "sample string 2",
  "UserName": "sample string 3",
  "ValidTime": 4
}

application/xml, text/xml

Sample:
<ValidateToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XListener.TokenGeneration.Services.Api.Models">
  <Key>sample string 2</Key>
  <UserName>sample string 3</UserName>
  <ValidTime>4</ValidTime>
  <Token>sample string 1</Token>
</ValidateToken>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ValidateToken'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.