{"__v":2,"_id":"55fa332fa663c00d00773dc0","category":{"__v":7,"_id":"55fa3172d6f4370d001d99fd","pages":["55fa320b0e1f1f1700a1f705","55fa32840e1f1f1700a1f708","55fa332fa663c00d00773dc0","55fa34250e1f1f1700a1f70d","55fa34a20e1f1f1700a1f70f","55fa356daba81f0d00a115d2","55fa35c18065a10d004e5bb3"],"project":"545a65231d018b1400227d8f","version":"54e431e6de9f5b2300fc6dbc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-17T03:20:18.334Z","from_sync":false,"order":2,"slug":"webhooks","title":"Webhooks"},"project":"545a65231d018b1400227d8f","user":"545a64cfbf1d2b0e00aaa091","version":{"__v":10,"_id":"54e431e6de9f5b2300fc6dbc","forked_from":"545a65231d018b1400227d92","project":"545a65231d018b1400227d8f","createdAt":"2015-02-18T06:32:06.531Z","releaseDate":"2015-02-18T06:32:06.531Z","categories":["54e431e7de9f5b2300fc6dbd","54e431e7de9f5b2300fc6dbe","54e56a85c2f66835000133c3","54ff948548c94d23004f1e17","5527280be69c7d0d00047eaf","55273bb14a7ac121004c60f0","55274588975eef3700ca8077","552748df9d4bcd2300d0383d","55274dd79d4bcd2300d0384a","55fa03180e1f1f1700a1f6ce","55fa3172d6f4370d001d99fd"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-17T03:27:43.808Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"This is the webhook that is sent when an attendee registers\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"EventID\\\": 0,\\n    \\\"AttendeeID\\\": 958,\\n    \\\"Type\\\": \\\"attendee_create\\\",\\n    \\\"URL\\\": \\\"http://localhost/webhooktest/catch\\\",\\n    \\\"Time\\\": \\\"2015-09-17T13:38:09.864297272+10:00\\\",\\n    \\\"Attendee\\\": {\\n        \\\"ID\\\": 958,\\n        \\\"EventID\\\": 2921,\\n        \\\"Rego\\\": \\\"FR150MCL\\\",\\n        \\\"UserID\\\": 1476,\\n        \\\"Firstname\\\": \\\"Andrew\\\",\\n        \\\"Surname\\\": \\\"Smith\\\",\\n        \\\"Email\\\": \\\"test:::at:::gmail.com\\\",\\n        \\\"Registered\\\": \\\"2013-03-06T11:34:34Z\\\",\\n        \\\"AttendeeTickets\\\": [\\n            {\\n                \\\"ID\\\": 1447,\\n                \\\"TicketID\\\": 3862,\\n                \\\"Name\\\": \\\"General admission\\\",\\n                \\\"Price\\\": 0,\\n              \\t\\\"Tags\\\": [\\\"general\\\"],\\n                \\\"BookingFee\\\": 0\\n            },\\n            {\\n                \\\"ID\\\": 1448,\\n                \\\"TicketID\\\": 3862,\\n                \\\"Name\\\": \\\"General admission\\\",\\n                \\\"Price\\\": 0,\\n                \\\"BookingFee\\\": 0\\n            },\\n            {\\n                \\\"ID\\\": 1449,\\n                \\\"TicketID\\\": 3862,\\n                \\\"Name\\\": \\\"General admission\\\",\\n                \\\"Price\\\": 0,\\n                \\\"Tags\\\": [],\\n                \\\"BookingFee\\\": 0\\n            }\\n        ],\\n        \\\"Fields\\\": [\\n            {\\n                \\\"ID\\\": 1432,\\n                \\\"FieldID\\\": 64228,\\n                \\\"Label\\\": \\\"Terms and conditions\\\",\\n                \\\"Type\\\": \\\"checkbox_group\\\",\\n                \\\"Tags\\\": [],\\n                \\\"Value\\\": \\\"I accept the terms and conditions\\\"\\n            }\\n        ],\\n        \\\"PaymentDetails\\\": {\\n            \\\"ID\\\": 0,\\n            \\\"Total\\\": 0,\\n            \\\"Type\\\": \\\"\\\",\\n            \\\"BookingFee\\\": 0,\\n            \\\"ProcessingFee\\\": 0,\\n            \\\"Status\\\": \\\"\\\"\\n        },\\n        \\\"Status\\\": \\\"pending\\\"\\n    }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"attendee-register-webhook","type":"fn","title":"Attendee register webhook"}

fnAttendee register webhook


This is the webhook that is sent when an attendee registers [block:code] { "codes": [ { "code": "{\n \"EventID\": 0,\n \"AttendeeID\": 958,\n \"Type\": \"attendee_create\",\n \"URL\": \"http://localhost/webhooktest/catch\",\n \"Time\": \"2015-09-17T13:38:09.864297272+10:00\",\n \"Attendee\": {\n \"ID\": 958,\n \"EventID\": 2921,\n \"Rego\": \"FR150MCL\",\n \"UserID\": 1476,\n \"Firstname\": \"Andrew\",\n \"Surname\": \"Smith\",\n \"Email\": \"test@gmail.com\",\n \"Registered\": \"2013-03-06T11:34:34Z\",\n \"AttendeeTickets\": [\n {\n \"ID\": 1447,\n \"TicketID\": 3862,\n \"Name\": \"General admission\",\n \"Price\": 0,\n \t\"Tags\": [\"general\"],\n \"BookingFee\": 0\n },\n {\n \"ID\": 1448,\n \"TicketID\": 3862,\n \"Name\": \"General admission\",\n \"Price\": 0,\n \"BookingFee\": 0\n },\n {\n \"ID\": 1449,\n \"TicketID\": 3862,\n \"Name\": \"General admission\",\n \"Price\": 0,\n \"Tags\": [],\n \"BookingFee\": 0\n }\n ],\n \"Fields\": [\n {\n \"ID\": 1432,\n \"FieldID\": 64228,\n \"Label\": \"Terms and conditions\",\n \"Type\": \"checkbox_group\",\n \"Tags\": [],\n \"Value\": \"I accept the terms and conditions\"\n }\n ],\n \"PaymentDetails\": {\n \"ID\": 0,\n \"Total\": 0,\n \"Type\": \"\",\n \"BookingFee\": 0,\n \"ProcessingFee\": 0,\n \"Status\": \"\"\n },\n \"Status\": \"pending\"\n }\n}", "language": "json" } ] } [/block]