Quick poll user data
Description
Information about a user's relationship to a quick poll.
Example
{
"quickpoll": "https://api.proz.com/v2/quickpolls/12345",
"user": "https://api.proz.com/v2/users/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7",
"can_respond": true,
"cant_respond_reason": null,
"user_response": {
"id": 45678,
"quickpoll": "https://api.proz.com/v2/quickpolls/12345",
"user": "https://api.proz.com/v2/users/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7",
"created_at": "2015-04-19T12:59:23+00:00",
"option_value": 3
}
}
Fields
Quick poll user data
quickpoll |
string |
The API link for getting the quick poll via the API.
|
user |
string (read-only) |
An API link to the User summary for the given user.
|
can_respond |
boolean |
Whether or not the user has permission to respond to this quick poll.
(Some polls may only allow paying ProZ.com members to respond, for example.)
|
cant_respond_reason |
string |
If can_respond is false ,
the reason will be given here.
Otherwise this value will be null .
|
num_responses |
integer |
The number of responses to the poll.
|
user_response |
Quick poll response |
If the user has submitted a response to the quick poll,
it will be embedded here.
Otherwise, this value will be null .
|
Endpoints that use this resource