PUT https://api.bundeling.com/V2/pollsParameters Url Name Description Type uuid
A unique identifier used to identify a poll string
Body Name Description Type Nillable author_uuid
The unique identifier of the user of the author string
false
title
The title of the poll string
false
text
The body of the poll. string
false
startdate
The date on which this poll will start. datetime
false
enddate
The date on which this poll will end. datetime
false
external_reference
Reference for linking to external systems. string
false
actions
Timed events that can be triggered for this poll mixed
false
Actions Name Description Resettable pushbroadcast_1_1
Push notification on start date true
pushnotification_1_1
Reminder notification to all users who have not voted yet true
Example request Raw cURL JavaScript PHP Python Go Choose language
Headers Body {
"author_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
"title": "Your vote counts",
"text": "Make your choice and vote for one of these options...",
"startdate": "2017-01-15T18:00:00+0000",
"enddate": "2017-01-16T10:00:00+0000",
"external_reference": "123908",
"actions": {
"pushbroadcast_1_1": {
"enabled": true
}
}
} Example response {
"uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
"author_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
"headerimage": "eyJjbGllbnQiOjEwLCJwYXRoIjoiYnVsbGV0aW5fYm9hcmRfcGljdHVyZXNcLz...",
"title": "Your vote counts",
"text": "Make your choice and vote for one of these options...",
"options": [
{
"uuid": "ac3b84bb591141778d81b553d2d05e9c",
"text": "Choice 1"
},
{
"uuid": "55895aceb9084dbf933301f0add9e2d6",
"text": "Choice 2"
}
],
"actions": {
"pushbroadcast_1_1": {
"enabled": true,
"executed": false
},
"pushnotification_1_1": {
"enabled": true,
"executed": false
}
},
"labels": [
"d7743aaf53224e279853c7d0c1dbfb3a",
"d7743aaf53224e279853c7d0c1dbfb3a"
],
"combined_labels": {
"uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
"labels": [
"d7743aaf53224e279853c7d0c1dbfb3a",
"d7743aaf53224e279853c7d0c1dbfb3a"
]
},
"startdate": "2024-05-13T12:00:00+0200",
"enddate": "2024-05-27T12:00:00+0200",
"external_reference": "123908",
"creationdate": "2024-01-20T00:00:00+0100",
"lastupdate": "2024-01-20T00:00:00+0100"
}