GET api/v3/Polls
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PollViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | string |
None. |
|
VotesCount | integer |
None. |
|
IsLocked | boolean |
None. |
|
IsResponded | boolean |
None. |
|
PollId | integer |
None. |
|
TenantId | integer |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "CreatedBy": "sample string 2", "CreatedOn": "sample string 3", "VotesCount": 4, "IsLocked": true, "IsResponded": true, "PollId": 7, "TenantId": 8, "Description": "sample string 9" }, { "Name": "sample string 1", "CreatedBy": "sample string 2", "CreatedOn": "sample string 3", "VotesCount": 4, "IsLocked": true, "IsResponded": true, "PollId": 7, "TenantId": 8, "Description": "sample string 9" } ]
text/html
Sample:
[{"Name":"sample string 1","CreatedBy":"sample string 2","CreatedOn":"sample string 3","VotesCount":4,"IsLocked":true,"IsResponded":true,"PollId":7,"TenantId":8,"Description":"sample string 9"},{"Name":"sample string 1","CreatedBy":"sample string 2","CreatedOn":"sample string 3","VotesCount":4,"IsLocked":true,"IsResponded":true,"PollId":7,"TenantId":8,"Description":"sample string 9"}]
text/xml
Sample:
<ArrayOfPollViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <PollViewModel> <CreatedBy>sample string 2</CreatedBy> <CreatedOn>sample string 3</CreatedOn> <Description>sample string 9</Description> <IsLocked>true</IsLocked> <IsResponded>true</IsResponded> <Name>sample string 1</Name> <PollId>7</PollId> <TenantId>8</TenantId> <VotesCount>4</VotesCount> </PollViewModel> <PollViewModel> <CreatedBy>sample string 2</CreatedBy> <CreatedOn>sample string 3</CreatedOn> <Description>sample string 9</Description> <IsLocked>true</IsLocked> <IsResponded>true</IsResponded> <Name>sample string 1</Name> <PollId>7</PollId> <TenantId>8</TenantId> <VotesCount>4</VotesCount> </PollViewModel> </ArrayOfPollViewModel>