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

HTTP + SOAP11

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

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

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

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

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

    </soap:Body>
</soap:Envelope>