Event Web Services

<back to all web services

Events

Find events within a date range using a start and end date, if no parameters are supplied all events are returned

REST Paths

The following REST paths are available for this service.

All Verbs /events

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/syncreply/Events HTTP/1.1 
Host: info.uwe.ac.uk 
Content-Type: application/json
Content-Length: length

{"Start":"String","End":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Events":[{"eventID":0,"title":"String","startTime":"String","endTime":"String","eventTime":"String","startDate":"\/Date(-62135596800000+0000)\/","endDate":"\/Date(-62135596800000+0000)\/","description":"String","locationName":"String","guid":0,"pubDate":"\/Date(-62135596800000+0000)\/"}]}