POST (Header:PUT) api.ashx/v2/poll/{id}.{json|xml}
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Description | string | Request Body | A brief description of the poll. | Optional | ||
ExpirationDate | DateTime | Request Body | The date the poll expires, if desired. | Optional | ||
Options | string | Request Body | The poll options specified as individual entries in the format _Option_I = VALUE, where I in the option statement is a positive value that indicates the index or position and VALUE is the displayed text. By not specifying any options, no options will be changed. Any specified options replace existing options. | Optional | ||
Question | string | Request Body | The poll question. | Optional | ||
ShowResults | string | Request Body | Specifies when votes should be available for viewing. Valid options are 'Always','AfterExpiration', and 'AfterVote'. The default is 'Always'. | Optional | Always |