POST api/Activity/CreateVoteTopic

新增投票主題

Request Information

URI Parameters

None.

Body Parameters

CreateVoteTopicPara
NameDescriptionTypeAdditional information
voteID

投票頁ID

integer

Required

voteTopic

投票主題名稱

string

Required

userID

使用者ID (使用者帳號)

string

Required

Ticket

身份票據

string

Required

Request Formats

application/json, text/json

Sample:
{
  "voteID": 1,
  "voteTopic": "sample string 2",
  "userID": "sample string 3",
  "Ticket": "sample string 4"
}

text/html

Sample:
{"voteID":1,"voteTopic":"sample string 2","userID":"sample string 3","Ticket":"sample string 4"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

新增投票主題

CreateVoteTopicOutputModel
NameDescriptionTypeAdditional information
isSuccess

是否新增成功 0失敗 1成功

boolean

None.

ticketVerified

驗證是否通過

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "ticketVerified": true
}

text/html

Sample:
{"isSuccess":true,"ticketVerified":true}