GET api/PollOption/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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:47:59.2926144+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:47:59.2926144+05:30","Active":true,"options":"sample string 5","PollOptions":[]}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.