POST api/Mem/ValidateAccount
驗證帳號與當前登入是否相同(一般/企業/第三方)
Request Information
URI Parameters
None.
Body Parameters
ValidateAccountParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| userID |
使用者帳號 |
string |
None. |
| password |
使用者密碼 |
string |
None. |
| accessToken |
授權碼 |
string |
None. |
| accountType |
0 一般帳號/企業帳號 1 第三方帳號 |
integer |
None. |
| platformType |
0、Null 1、網站 2、Apple 3、Android |
integer |
None. |
| Ticket |
身份票據 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"userID": "sample string 1",
"password": "sample string 2",
"accessToken": "sample string 3",
"accountType": 4,
"platformType": 5,
"Ticket": "sample string 6"
}
text/html
Sample:
{"userID":"sample string 1","password":"sample string 2","accessToken":"sample string 3","accountType":4,"platformType":5,"Ticket":"sample string 6"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
驗證帳號與當前登入是否相同(一般/企業/第三方)
ValidateAccountOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| errMsg | string |
None. |
|
| isValid | boolean |
None. |
|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"errMsg": "sample string 1",
"isValid": true,
"ticketVerified": true
}
text/html
Sample:
{"errMsg":"sample string 1","isValid":true,"ticketVerified":true}