GET api/PollOption
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PollOptionName | Description | Type | Additional information |
---|---|---|---|
PollOptionID | integer |
None. |
|
PollID | integer |
None. |
|
Answers | string |
None. |
|
Vote | integer |
None. |
|
Poll | Poll |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PollOptionID": 1, "PollID": 2, "Answers": "sample string 3", "Vote": 4, "Poll": { "PollID": 1, "Question": "sample string 2", "Polldate": "2025-08-03T05:08:30.9412486+05:30", "Active": true, "options": "sample string 5", "PollOptions": [] } }, { "PollOptionID": 1, "PollID": 2, "Answers": "sample string 3", "Vote": 4, "Poll": { "PollID": 1, "Question": "sample string 2", "Polldate": "2025-08-03T05:08:30.9412486+05:30", "Active": true, "options": "sample string 5", "PollOptions": [] } } ]
text/html
Sample:
[{"PollOptionID":1,"PollID":2,"Answers":"sample string 3","Vote":4,"Poll":{"PollID":1,"Question":"sample string 2","Polldate":"2025-08-03T05:08:30.9412486+05:30","Active":true,"options":"sample string 5","PollOptions":[]}},{"PollOptionID":1,"PollID":2,"Answers":"sample string 3","Vote":4,"Poll":{"PollID":1,"Question":"sample string 2","Polldate":"2025-08-03T05:08:30.9412486+05:30","Active":true,"options":"sample string 5","PollOptions":[]}}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.