Get events
Request
1 | GET /host/events/upcoming
|
You can also search for upcoming events by name using the query param q
, e.g. /host/events/upcoming?q=name
Response
HTTP/1.1 200 OK
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | [{ "id": 123456, "number": 1, "name": "Event Name", "date": "2014-10-21 08:oo", "signupCaptcha": true, "location": { "name": "Oslo Spektrum", "address": "Sonja Henies plass 2", "zip": "0185", "city": "OSLO", "country": "NORGE" }, "description": "my description", "confirmation": false, "price": 12.23, "contactPerson": { "name": "Mr Contact", "email": "jd@event.com", "phone": "13131313" }, "participantLimit": 777, "smsConfirmation": { "enabled": true, "message": "my message" }, "registrationDeadline": "2014-10-20 18:00", "endDate": "2014-10-21 16:00", "taxRate": 25, "productNumber": "prod22", "showSignupStats": true, "discountCodes": { "label": "Påmeldingskode", "codes": [{ "code": "Påske 2017", "amount": 100.00 }, { "code": "Vårkode", "amount": 200.00 }] }, "customFields": [{ "number": null, "name": "asd", "type": "TEXT", "price": { "productCode": "42", "price": 12, "taxRate": 25 }, "options": null }, { "number": null, "name": "asd2", "type": "BOOLEAN", "options": null }], "_links": { "self": { "uri": "/host/events/1" }, "participants": { "uri": "/host/events/1/participants" } }, "_stats": { "participant": { "pending": 2, "registered": 2, "paid": 1 } } }] |