POST api/Login/Register
註冊(手機,Emil)
Request Information
URI Parameters
None.
Body Parameters
Register_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
帳號 |
string |
None. |
| password |
密碼 |
string |
None. |
| isCaptcha |
是否通過驗證碼驗證 |
boolean |
None. |
| Ticket |
身份票據 |
string |
Required |
|
|
string |
Matching regular expression pattern: ^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$ |
|
| platform |
來源平台 |
WebPlatform |
None. |
| PlatformDetail |
來源明細 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"password": "sample string 2",
"isCaptcha": true,
"Ticket": "sample string 4",
"email": "sample string 5",
"platform": 0,
"PlatformDetail": "sample string 6"
}
text/html
Sample:
{"userId":"sample string 1","password":"sample string 2","isCaptcha":true,"Ticket":"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
註冊(手機,Emil)
Register_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
註冊狀態 0:系統錯誤 1:註冊成功 2:帳號已存在 4:帳號密碼格式有誤 5:帳號已註銷 |
integer |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| MemberNo |
會員編號 |
string |
None. |
| errMsg |
錯誤訊息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"ticketVerified": true,
"MemberNo": "sample string 3",
"errMsg": "sample string 4"
}
text/html
Sample:
{"status":1,"ticketVerified":true,"MemberNo":"sample string 3","errMsg":"sample string 4"}