POST api/O2OMessage/GetMessageToken
取得Token
Request Information
URI Parameters
None.
Body Parameters
GetMessageTokenPara| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
使用者帳號 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2"
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取得Token
GetMessageTokenRes| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| token |
Token |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"token": "sample string 2"
}
text/html
Sample:
{"ticketVerified":true,"token":"sample string 2"}