GET api/Activity/GetVote?VoteName={VoteName}&Ticket={Ticket}
取得頁面所需的資料
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| voteName |
投票頁名稱 預設為WishPool |
string |
None. |
| Ticket |
身份票據 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
取得頁面所需的資料
GetVoteOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| voteID |
投票ID |
integer |
None. |
| voteName |
投票頁名稱 |
string |
None. |
| voteTitle |
投票頁標題 |
string |
None. |
| voteDesc |
投票頁說明 |
string |
None. |
| voteDetailTitle |
投票填寫頁標題 |
string |
None. |
| voteDetailDesc |
投票填寫頁說明 |
string |
None. |
| voteDetailHintText |
投票填寫頁填寫提示 |
string |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"voteID": 1,
"voteName": "sample string 1",
"voteTitle": "sample string 2",
"voteDesc": "sample string 3",
"voteDetailTitle": "sample string 4",
"voteDetailDesc": "sample string 5",
"voteDetailHintText": "sample string 6",
"ticketVerified": true
}
text/html
Sample:
{"voteID":1,"voteName":"sample string 1","voteTitle":"sample string 2","voteDesc":"sample string 3","voteDetailTitle":"sample string 4","voteDetailDesc":"sample string 5","voteDetailHintText":"sample string 6","ticketVerified":true}