WhippleHillService


Click here for a complete list of operations.

eventAdd

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /api/whipplehillservice.asmx HTTP/1.1
Host: webservice.whipplehill.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservice.whipplehill.com/api/eventAdd"

<?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:Header>
    <AuthHeader xmlns="http://webservice.whipplehill.com/api/">
      <Schoolname>string</Schoolname>
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <eventAdd xmlns="http://webservice.whipplehill.com/api/">
      <e>
        <event_id>int</event_id>
        <registration_id>int</registration_id>
        <group_xml>string</group_xml>
        <title>string</title>
        <event_date_start>dateTime</event_date_start>
        <event_date_finish>dateTime</event_date_finish>
        <start_time>string</start_time>
        <finish_time>string</finish_time>
        <location>string</location>
        <brief_description>string</brief_description>
        <description>string</description>
        <category_id>int</category_id>
        <categories>
          <anyType />
          <anyType />
        </categories>
        <contact_email>string</contact_email>
        <email_display_name>string</email_display_name>
        <url>string</url>
        <building_room_id>int</building_room_id>
      </e>
    </eventAdd>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
    <eventAddResponse xmlns="http://webservice.whipplehill.com/api/">
      <eventAddResult>
        <_status>
          <detail>
            <ErrorDetail xsi:nil="true" />
            <ErrorDetail xsi:nil="true" />
          </detail>
          <bln_Success>boolean</bln_Success>
        </_status>
        <_data>
          <anyType />
          <anyType />
        </_data>
      </eventAddResult>
    </eventAddResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /api/whipplehillservice.asmx HTTP/1.1
Host: webservice.whipplehill.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <AuthHeader xmlns="http://webservice.whipplehill.com/api/">
      <Schoolname>string</Schoolname>
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <eventAdd xmlns="http://webservice.whipplehill.com/api/">
      <e>
        <event_id>int</event_id>
        <registration_id>int</registration_id>
        <group_xml>string</group_xml>
        <title>string</title>
        <event_date_start>dateTime</event_date_start>
        <event_date_finish>dateTime</event_date_finish>
        <start_time>string</start_time>
        <finish_time>string</finish_time>
        <location>string</location>
        <brief_description>string</brief_description>
        <description>string</description>
        <category_id>int</category_id>
        <categories>
          <anyType />
          <anyType />
        </categories>
        <contact_email>string</contact_email>
        <email_display_name>string</email_display_name>
        <url>string</url>
        <building_room_id>int</building_room_id>
      </e>
    </eventAdd>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <eventAddResponse xmlns="http://webservice.whipplehill.com/api/">
      <eventAddResult>
        <_status>
          <detail>
            <ErrorDetail xsi:nil="true" />
            <ErrorDetail xsi:nil="true" />
          </detail>
          <bln_Success>boolean</bln_Success>
        </_status>
        <_data>
          <anyType />
          <anyType />
        </_data>
      </eventAddResult>
    </eventAddResponse>
  </soap12:Body>
</soap12:Envelope>