GET api/Token?username={username}&password={password}&apikey={apikey}

Api cho phép lấy token full quyền

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

user tài khoản facebook

string

Required

password

mật khẩu facebook

string

Required

apikey

api key của vltoolkit.com khi đăng ký tài khoản

string

Required

Body Parameters

None.

Response Information

Resource Description

Trả về object token

ResultObj
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrMsg

string

None.

Token

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrMsg": "sample string 2",
  "Token": "sample string 3"
}

text/html

Sample:
{"IsSuccess":true,"ErrMsg":"sample string 2","Token":"sample string 3"}

application/xml, text/xml

Sample:
<ResultObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tools.ConvertUid_Api.Controllers">
  <ErrMsg>sample string 2</ErrMsg>
  <IsSuccess>true</IsSuccess>
  <Token>sample string 3</Token>
</ResultObj>