POST api/v3/pollresponses
Request Information
URI Parameters
None.
Body Parameters
PollResponseName | Description | Type | Additional information |
---|---|---|---|
PollId | integer |
None. |
|
Response | string |
None. |
|
DistributionId | integer |
None. |
|
UserGroupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PollId": 1, "Response": "sample string 2", "DistributionId": 3, "UserGroupId": 1 }
text/html
Sample:
{"PollId":1,"Response":"sample string 2","DistributionId":3,"UserGroupId":1}
text/xml
Sample:
<PollResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <DistributionId>3</DistributionId> <PollId>1</PollId> <Response>sample string 2</Response> <UserGroupId>1</UserGroupId> </PollResponse>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html
Sample:
1
text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>