Request Parameters:


User can vote for store only registered user allowed


URL : ../Api/Client/Vote


Header:

Content-Type:application/json


Parameter:
{
       "ApiSecretKey":"d101g114q119n106g97y111j112d104",
     "CustomerGUID":"F1F13527-BA8E-4C5A-ACA2-9EC3D78B3FF4",
       "StoreId": "1",
       "PollAnswerId":"1"
}


Response:

{
   "Id": 1,
   "Name": "Do you like nopCommerce?",
   "AlreadyVoted": true,
   "TotalVotes": 1,
   "Answers": [
       {
           "Id": 1,
           "Name": "Excellent",
           "NumberOfVotes": 1,
           "PercentOfTotalVotes": 100
       },
       {
           "Id": 2,
           "Name": "Good",
           "NumberOfVotes": 0,
           "PercentOfTotalVotes": 0
       },
       {
           "Id": 3,
           "Name": "Poor",
           "NumberOfVotes": 0,
           "PercentOfTotalVotes": 0
       },
       {
           "Id": 4,
           "Name": "Very bad",
           "NumberOfVotes": 0,
           "PercentOfTotalVotes": 0
       }
   ],
   "CustomerGuid": "f1f13527-ba8e-4c5a-aca2-9ec3d78b3ff4",
   "Message": null
}