CampusGroups


Click here for a complete list of operations.

CreateUpdateEvent

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 /WebServices/campusgroups.asmx HTTP/1.1
Host: www.campusgroups.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://campusgroups.com/CreateUpdateEvent"

<?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>
    <CreateUpdateEvent xmlns="http://campusgroups.com/">
      <school>string</school>
      <api_key>string</api_key>
      <timestamp>string</timestamp>
      <auth_token>string</auth_token>
      <cg_event_id>string</cg_event_id>
      <cg_group_acronym>string</cg_group_acronym>
      <external_event_id>string</external_event_id>
      <event_coordinator>string</event_coordinator>
      <event_name>string</event_name>
      <quick_description>string</quick_description>
      <event_start_date>string</event_start_date>
      <event_start_time>string</event_start_time>
      <event_end_date>string</event_end_date>
      <event_end_time>string</event_end_time>
      <event_location>string</event_location>
      <room_id>string</room_id>
      <event_display_to>string</event_display_to>
      <allow_rsvp>string</allow_rsvp>
      <event_type>string</event_type>
      <event_open_to>string</event_open_to>
      <delete_event>string</delete_event>
      <hide_from_events_slider>string</hide_from_events_slider>
      <force_display_on_rooms_schedule>string</force_display_on_rooms_schedule>
      <external_registration_link>string</external_registration_link>
      <location_type>string</location_type>
      <event_audience>string</event_audience>
    </CreateUpdateEvent>
  </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>
    <CreateUpdateEventResponse xmlns="http://campusgroups.com/">
      <CreateUpdateEventResult>
        <cg_event_id>int</cg_event_id>
        <message_code>int</message_code>
        <message>string</message>
      </CreateUpdateEventResult>
    </CreateUpdateEventResponse>
  </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 /WebServices/campusgroups.asmx HTTP/1.1
Host: www.campusgroups.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:Body>
    <CreateUpdateEvent xmlns="http://campusgroups.com/">
      <school>string</school>
      <api_key>string</api_key>
      <timestamp>string</timestamp>
      <auth_token>string</auth_token>
      <cg_event_id>string</cg_event_id>
      <cg_group_acronym>string</cg_group_acronym>
      <external_event_id>string</external_event_id>
      <event_coordinator>string</event_coordinator>
      <event_name>string</event_name>
      <quick_description>string</quick_description>
      <event_start_date>string</event_start_date>
      <event_start_time>string</event_start_time>
      <event_end_date>string</event_end_date>
      <event_end_time>string</event_end_time>
      <event_location>string</event_location>
      <room_id>string</room_id>
      <event_display_to>string</event_display_to>
      <allow_rsvp>string</allow_rsvp>
      <event_type>string</event_type>
      <event_open_to>string</event_open_to>
      <delete_event>string</delete_event>
      <hide_from_events_slider>string</hide_from_events_slider>
      <force_display_on_rooms_schedule>string</force_display_on_rooms_schedule>
      <external_registration_link>string</external_registration_link>
      <location_type>string</location_type>
      <event_audience>string</event_audience>
    </CreateUpdateEvent>
  </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>
    <CreateUpdateEventResponse xmlns="http://campusgroups.com/">
      <CreateUpdateEventResult>
        <cg_event_id>int</cg_event_id>
        <message_code>int</message_code>
        <message>string</message>
      </CreateUpdateEventResult>
    </CreateUpdateEventResponse>
  </soap12:Body>
</soap12:Envelope>