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