CampusGroups
Click here for a complete list of operations.
CreateUpdateMember
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/CreateUpdateMember"
<?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>
<CreateUpdateMember xmlns="http://campusgroups.com/">
<school>string</school>
<api_key>string</api_key>
<timestamp>string</timestamp>
<auth_token>string</auth_token>
<cg_id>string</cg_id>
<cg_group_id>string</cg_group_id>
<main_contact>string</main_contact>
<member>string</member>
<officer>string</officer>
<active_officer>string</active_officer>
<cannot_leave_group>string</cannot_leave_group>
<membership_end_date>string</membership_end_date>
<student_netid>string</student_netid>
<group_acronym>string</group_acronym>
<member_tags>string</member_tags>
<does_not_receive_group_emails>string</does_not_receive_group_emails>
<custom_fields>
<custom_field>
<custom_field_id>int</custom_field_id>
<custom_field_value>string</custom_field_value>
</custom_field>
<custom_field>
<custom_field_id>int</custom_field_id>
<custom_field_value>string</custom_field_value>
</custom_field>
</custom_fields>
<deleted>string</deleted>
</CreateUpdateMember>
</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>
<CreateUpdateMemberResponse xmlns="http://campusgroups.com/">
<CreateUpdateMemberResult>
<cg_id>int</cg_id>
<cg_member_id>int</cg_member_id>
<cg_group_id>int</cg_group_id>
<message_code>int</message_code>
<message>string</message>
</CreateUpdateMemberResult>
</CreateUpdateMemberResponse>
</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>
<CreateUpdateMember xmlns="http://campusgroups.com/">
<school>string</school>
<api_key>string</api_key>
<timestamp>string</timestamp>
<auth_token>string</auth_token>
<cg_id>string</cg_id>
<cg_group_id>string</cg_group_id>
<main_contact>string</main_contact>
<member>string</member>
<officer>string</officer>
<active_officer>string</active_officer>
<cannot_leave_group>string</cannot_leave_group>
<membership_end_date>string</membership_end_date>
<student_netid>string</student_netid>
<group_acronym>string</group_acronym>
<member_tags>string</member_tags>
<does_not_receive_group_emails>string</does_not_receive_group_emails>
<custom_fields>
<custom_field>
<custom_field_id>int</custom_field_id>
<custom_field_value>string</custom_field_value>
</custom_field>
<custom_field>
<custom_field_id>int</custom_field_id>
<custom_field_value>string</custom_field_value>
</custom_field>
</custom_fields>
<deleted>string</deleted>
</CreateUpdateMember>
</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>
<CreateUpdateMemberResponse xmlns="http://campusgroups.com/">
<CreateUpdateMemberResult>
<cg_id>int</cg_id>
<cg_member_id>int</cg_member_id>
<cg_group_id>int</cg_group_id>
<message_code>int</message_code>
<message>string</message>
</CreateUpdateMemberResult>
</CreateUpdateMemberResponse>
</soap12:Body>
</soap12:Envelope>