CampusGroups
Click here for a complete list of operations.
CreateRoomReservation
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/CreateRoomReservation"
<?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>
<CreateRoomReservation xmlns="http://campusgroups.com/">
<school>string</school>
<timestamp>string</timestamp>
<auth_token>string</auth_token>
<event_id>string</event_id>
<external_event_id>string</external_event_id>
<user_cgid>string</user_cgid>
<user_email>string</user_email>
<user_netid>string</user_netid>
<user_netid2>string</user_netid2>
<user_netid3>string</user_netid3>
<room_id>string</room_id>
<external_room_id>string</external_room_id>
<start>string</start>
<end>string</end>
<setup_minutes>string</setup_minutes>
<breakout_minutes>string</breakout_minutes>
<ignore_rules_privacy>string</ignore_rules_privacy>
<ignore_availability_rules>string</ignore_availability_rules>
<ignore_blocks>string</ignore_blocks>
<auto_approve>string</auto_approve>
<external_room_reservation_id>string</external_room_reservation_id>
</CreateRoomReservation>
</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>
<CreateRoomReservationResponse xmlns="http://campusgroups.com/">
<CreateRoomReservationResult>
<cg_id>long</cg_id>
<message_code>int</message_code>
<message>string</message>
</CreateRoomReservationResult>
</CreateRoomReservationResponse>
</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>
<CreateRoomReservation xmlns="http://campusgroups.com/">
<school>string</school>
<timestamp>string</timestamp>
<auth_token>string</auth_token>
<event_id>string</event_id>
<external_event_id>string</external_event_id>
<user_cgid>string</user_cgid>
<user_email>string</user_email>
<user_netid>string</user_netid>
<user_netid2>string</user_netid2>
<user_netid3>string</user_netid3>
<room_id>string</room_id>
<external_room_id>string</external_room_id>
<start>string</start>
<end>string</end>
<setup_minutes>string</setup_minutes>
<breakout_minutes>string</breakout_minutes>
<ignore_rules_privacy>string</ignore_rules_privacy>
<ignore_availability_rules>string</ignore_availability_rules>
<ignore_blocks>string</ignore_blocks>
<auto_approve>string</auto_approve>
<external_room_reservation_id>string</external_room_reservation_id>
</CreateRoomReservation>
</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>
<CreateRoomReservationResponse xmlns="http://campusgroups.com/">
<CreateRoomReservationResult>
<cg_id>long</cg_id>
<message_code>int</message_code>
<message>string</message>
</CreateRoomReservationResult>
</CreateRoomReservationResponse>
</soap12:Body>
</soap12:Envelope>