POST Token

Token action, passes along username/password (ignores grant type) to Tabularium's /Token page, returns values (i.e. token) back as Tab would (i.e. a pass-through method). Note: two routes supplied, /Token and /api/Security/Token.

Request Information

URI Parameters

None.

Body Parameters

Object encapsulating username/password. Should pass through via x-www-form-urlencoded type.

TokenRequest
Name Type Description Additional information
username string

Username of account

password string

Password of account

grant_type string

Completely optional grant type, ignored in the code, supplied to 'mimic' OAuth

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "grant_type": "sample string 3"
}

application/xml, text/xml

Sample:
<TokenRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <username>sample string 1</username>
  <password>sample string 2</password>
  <grant_type>sample string 3</grant_type>
</TokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
Name Type Description Additional information
Version Version

Content HttpContent

StatusCode HttpStatusCode

ReasonPhrase string

Headers Collection of Object

RequestMessage HttpRequestMessage

IsSuccessStatusCode boolean