POST api/Login/LoginApple
使用AppleID登入
Request Information
URI Parameters
None.
Body Parameters
LoginApple_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| name |
姓名 |
string |
None. |
| appleId |
蘋果Id |
string |
Required |
| authCode |
授權碼 |
string |
Required |
|
電子信箱 |
string |
None. |
|
| platform |
來源平台 |
WebPlatform |
None. |
| PlatformDetail |
來源明细 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"name": "sample string 2",
"appleId": "sample string 3",
"authCode": "sample string 4",
"email": "sample string 5",
"platform": 0,
"PlatformDetail": "sample string 6"
}
text/html
Sample:
{"Ticket":"sample string 1","name":"sample string 2","appleId":"sample string 3","authCode":"sample string 4","email":"sample string 5","platform":0,"PlatformDetail":"sample string 6"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
使用AppleID登入
LoginApple_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| status |
登入狀態 0:系統錯誤 1:登入成功 2:此帳號已註銷 |
integer |
None. |
| Ticket |
身份票據 |
string |
None. |
| userId |
帳號 |
string |
None. |
| MemberNo |
會員編號 |
string |
None. |
| errMsg |
錯誤訊息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"status": 2,
"Ticket": "sample string 3",
"userId": "sample string 4",
"MemberNo": "sample string 5",
"errMsg": "sample string 6"
}
text/html
Sample:
{"ticketVerified":true,"status":2,"Ticket":"sample string 3","userId":"sample string 4","MemberNo":"sample string 5","errMsg":"sample string 6"}