Get notified on your server regarding new registration

We will post successfully registered attendee data in JSON format on given URL by user.

You can add your server listener URL on [Townscript dashboard] (http://www.townscript.com/dashboard) > Select Event > Settings > Settings for your website > Get Registration Notification on your website

We will send the data in following format using post parameter “data”:

{
  "userEmailId":"[email protected]",
  "userName":"John Doe",
  "currency":"INR",                       // Transaction Currency
  "ticketName":"Ticket Name",
  "eventName":"Townscript: Best Event Ticketing Platform",
  "eventCode":"townscript-best",
  "ticketPrice":600,
  "discountCode": "EARLY100",							// NA, if no discount was applied
  "discountAmount":100,
  "customQuestion1":"customValue1",				// deprecated, use answerList key
  "customQuestion20":"customValue20",     // deprecated, use answerList key
  "answerList":[
    {
    	"uniqueQuestionId": 111,
      "question": "Country",
      "answer": "India"
    },
    {
    	"uniqueQuestionId": 222,
      "question": "Have you been at Taj Mahal?",
      "answer": "Yes"
    }
  ],
  "uniqueOrderId":"9347234294742974",
  "registrationTimestamp":"2014-08-22 06:41:27"
}

JSON data when single registration happens.

[{
  "userEmailId":"[email protected]",
  "userName":"John Doe1",
  "currency":"INR",                      // Transaction Currency
  "ticketName":"Ticket Name",
  "eventName":"Townscript: Best Event Ticketing Platform",
  "eventCode":"townscript-best",
  "ticketPrice":600,
  "discountCode": "EARLY100",						 // NA, if no discount was applied
  "discountAmount":100,
  "customQuestion1":"customValue1",      // deprecated, use answerList key
  "customQuestion20":"customValue20",    // deprecated, use answerList key
  "answerList":[
    {
    	"uniqueQuestionId": 111,
      "question": "Country",
      "answer": "India"
    },
    {
    	"uniqueQuestionId": 222,
      "question": "Have you been at Taj Mahal?",
      "answer": "Yes"
    }
  ],
  "uniqueOrderId":"9347234294742974",
  "registrationTimestamp":"2014-08-22 06:41:27"
},
 {
   "userEmailId":"[email protected]",
   "userName":"John Doe2",
   "currency":"INR",                     // Transaction Currency
   "ticketName":"Ticket Name",
   "eventName":"Townscript: Best Event Ticketing Platform",
   "eventCode":"townscript-best",
   "ticketPrice":600,
   "discountCode": "EARLY100",					 // NA, if no discount was applied
   "discountAmount":100,
   "customQuestion1":"customValue1",     // deprecated, use answerList key
   "customQuestion20":"customValue20",   // deprecated, use answerList key
   "answerList":[
    {
    	"uniqueQuestionId": 111,
      "question": "Country",
      "answer": "United States of America"
    },
    {
    	"uniqueQuestionId": 222,
      "question": "Have you been at Taj Mahal?",
      "answer": "No"
    }
  ],
   "uniqueOrderId":"9347234294742974",
   "registrationTimestamp":"2014-08-22 06:41:27"
 }]

If multiple attendees are registered then we will post the data in JSON array.