- Url: https://mcpn.us/limeApi?ev=sendPoll
- Parameters (bold are mandatory):
Parameter Name (Case Sensitive)
|
Value |
Description |
Default Value |
user |
Advertiser username |
The advertiser’s username that matches the api_id |
None |
api_id |
Advertiser Api Id |
The advertiser’s api_id that matches the username |
Generated from edit profile |
poll_id |
Poll id |
The poll id to send |
|
mobile |
Mobile Number |
Mobile Number to send |
|
send_response_mail |
true/false |
Indicates if send results from this poll to the advertiser's email |
true |
Return Code
- If the API succeeds then it will return with status code 200 with the following message: “Poll sent successfully"
- If an error occurs or there is an invalid parameter then it returns with status code 400 or 500 with an error message in the response.
Example: https://mcpn.us/limeApiev=sendPoll&user=company@domain.com&api_id=beFtHIC2EXh9inPu&poll_id=12&mobile=15555555555
When a mobile response to the poll, the response will be sent to the advertiser’s email and cc email, which configured at his profile. The email will be with the following format:
Subject
Poll Result
Body
Poll Id:12
Mobile Number: 15555555555
Mobile Response:2
Option Text:I prefer at 10:30am
** Mobile Response is the response that sent by the mobile (1-5)
*** Option Text is the text at the poll that match to the response
Comments
0 comments
Article is closed for comments.