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=xml

HTTP + XML

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

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

<Events xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewsAndEvents.Rest.Service">
  <End>String</End>
  <Start>String</Start>
</Events>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewsAndEvents.Rest.Service">
  <Events>
    <Event>
      <description>String</description>
      <endDate>0001-01-01T00:00:00</endDate>
      <endTime>String</endTime>
      <eventID>0</eventID>
      <eventTime>String</eventTime>
      <guid>0</guid>
      <locationName>String</locationName>
      <pubDate>0001-01-01T00:00:00</pubDate>
      <startDate>0001-01-01T00:00:00</startDate>
      <startTime>String</startTime>
      <title>String</title>
    </Event>
  </Events>
</EventsResponse>