GET api/PollOption
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PollOption| Name | 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": "2026-02-04T07:50:36.4898615+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": "2026-02-04T07:50:36.4898615+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":"2026-02-04T07:50:36.4898615+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":"2026-02-04T07:50:36.4898615+05:30","Active":true,"options":"sample string 5","PollOptions":[]}}]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.