POST Authentication/generateToken

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

JWTTokenResponse
NameDescriptionTypeAdditional information
status

string

None.

remarks

string

None.

Token

string

None.

tokenKey

string

None.

ExpireTime

string

None.

userDatas

Collection of UserData

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "remarks": "sample string 2",
  "Token": "sample string 3",
  "tokenKey": "sample string 4",
  "ExpireTime": "sample string 5",
  "userDatas": [
    {
      "id": "sample string 1",
      "UserName": "sample string 2",
      "Name": "sample string 3",
      "Email": "sample string 4",
      "MobileNo": "sample string 5",
      "Role": "sample string 6"
    },
    {
      "id": "sample string 1",
      "UserName": "sample string 2",
      "Name": "sample string 3",
      "Email": "sample string 4",
      "MobileNo": "sample string 5",
      "Role": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<JWTTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FingerCrew.Model">
  <ExpireTime>sample string 5</ExpireTime>
  <Token>sample string 3</Token>
  <remarks>sample string 2</remarks>
  <status>sample string 1</status>
  <tokenKey>sample string 4</tokenKey>
  <userDatas>
    <UserData>
      <Email>sample string 4</Email>
      <MobileNo>sample string 5</MobileNo>
      <Name>sample string 3</Name>
      <Role>sample string 6</Role>
      <UserName>sample string 2</UserName>
      <id>sample string 1</id>
    </UserData>
    <UserData>
      <Email>sample string 4</Email>
      <MobileNo>sample string 5</MobileNo>
      <Name>sample string 3</Name>
      <Role>sample string 6</Role>
      <UserName>sample string 2</UserName>
      <id>sample string 1</id>
    </UserData>
  </userDatas>
</JWTTokenResponse>