PollList.wr
09-13-2021
Returns a list of polls associated with a client's account.
Parameters
- Number : limit - Determines the maximum results to return per page.
- String : order_dir - Determines which direction to order the results in. Valid values are "desc" and "asc".
- Number : page - Determines the the offset/page number to return.
- String : search - Determines a string to search campaigns for a given value.
- String : sort_by - Determines which column to sort the results by. Valid values are: "callsetid", "nameofset", "datecreate", and "customproc".
- String : filter - "poll_type_inbound", "poll_type_outbound", "poll_mode_livetext", "poll_mode_livecall".
Usage
Example Request
GET /polllist.wr?sidtoken=000000000000000000000000000 HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded
Example Response
{"apirid":"1634227285136-1","result":{"has_recordings":false,"limit":10,
"order_dir":"desc","page":1,"rows":[{"callerid":"8175551212","complete":0,
"callsetid":19165,"classtype":"Live text","datecreate":"10/13/2021",
"dnis":"","hasdetails":true,"inbound":"OUTBOUND","mode":"P2P",
"name":"Favorite colors","pollid":9999991,"pollid32":"12345678901234567890123456789012",
"result":1,"status":"Maxlines = 0, not running.","total":59,"checksum":"56828"},
{"callerid":"8175551212","complete":60,"callsetid":19112,"classtype":"Live text",
"datecreate":"10/12/2021","dnis":"","hasdetails":true,"inbound":"OUTBOUND",
"mode":"P2P","name":"Favorite vacation spots","pollid":9999992,
"pollid32":"12345678901234567890123456789013","result":2,
"status":"Contacts table UnUsable UP","total":60,"checksum":"62822"},...],
"search":"","sort_by":"pollid","total_pages":180,"total_results":1793}}