CampusGroups
Click here for a complete list of operations.
CreateUpdateUser
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/CreateUpdateUser"
<?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>
<CreateUpdateUser xmlns="http://campusgroups.com/">
<school>string</school>
<api_key>string</api_key>
<timestamp>string</timestamp>
<auth_token>string</auth_token>
<api_secret>string</api_secret>
<cg_id>string</cg_id>
<email>string</email>
<alumni_email>string</alumni_email>
<first_name>string</first_name>
<last_name>string</last_name>
<middle_initial>string</middle_initial>
<gender_lookup>string</gender_lookup>
<gender_pronoun_lookup>string</gender_pronoun_lookup>
<account_type_lookup>string</account_type_lookup>
<school_program>string</school_program>
<degree>string</degree>
<month_of_entry_lookup>string</month_of_entry_lookup>
<year_of_entry_lookup>string</year_of_entry_lookup>
<month_of_grad_lookup>string</month_of_grad_lookup>
<year_of_grad_lookup>string</year_of_grad_lookup>
<phone_number>string</phone_number>
<mobile_number>string</mobile_number>
<street_address>string</street_address>
<city>string</city>
<state>string</state>
<zipcode>string</zipcode>
<country_lookup>string</country_lookup>
<nationality_lookup>string</nationality_lookup>
<account_status>int</account_status>
<company_name>string</company_name>
<work_title>string</work_title>
<bio>string</bio>
<linkedin>string</linkedin>
<facebook>string</facebook>
<twitter>string</twitter>
<google_plus>string</google_plus>
<netid>string</netid>
<netid2>string</netid2>
<swipeId>string</swipeId>
<rfid>string</rfid>
<business_street_address>string</business_street_address>
<business_department>string</business_department>
<business_phone_number>string</business_phone_number>
<languages_selection>string</languages_selection>
<nationalities_selection>string</nationalities_selection>
<user_tags>string</user_tags>
<keep_existing_user_tags>string</keep_existing_user_tags>
<new_user_tags_are_admin_only>string</new_user_tags_are_admin_only>
<external_id>string</external_id>
<netid3>string</netid3>
<external_guid>string</external_guid>
<hide_profile_page>string</hide_profile_page>
<hide_from_directory>string</hide_from_directory>
<unsubscribe_all_group_emails>string</unsubscribe_all_group_emails>
<other_email>string</other_email>
<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>
<official_name>string</official_name>
<legal_first_name>string</legal_first_name>
<maiden_name>string</maiden_name>
<date_of_birth>string</date_of_birth>
<check_existing_deactivated_users_if_needed>string</check_existing_deactivated_users_if_needed>
<force_overwrite_of_data_even_if_not_flagged_read_only>string</force_overwrite_of_data_even_if_not_flagged_read_only>
<over_21>string</over_21>
<qrcode>string</qrcode>
<barcode>string</barcode>
<preferred_email>string</preferred_email>
<career_interests>string</career_interests>
</CreateUpdateUser>
</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>
<CreateUpdateUserResponse xmlns="http://campusgroups.com/">
<CreateUpdateUserResult>
<school_identifier>string</school_identifier>
<cg_id>int</cg_id>
<message_code>int</message_code>
<message>string</message>
</CreateUpdateUserResult>
</CreateUpdateUserResponse>
</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>
<CreateUpdateUser xmlns="http://campusgroups.com/">
<school>string</school>
<api_key>string</api_key>
<timestamp>string</timestamp>
<auth_token>string</auth_token>
<api_secret>string</api_secret>
<cg_id>string</cg_id>
<email>string</email>
<alumni_email>string</alumni_email>
<first_name>string</first_name>
<last_name>string</last_name>
<middle_initial>string</middle_initial>
<gender_lookup>string</gender_lookup>
<gender_pronoun_lookup>string</gender_pronoun_lookup>
<account_type_lookup>string</account_type_lookup>
<school_program>string</school_program>
<degree>string</degree>
<month_of_entry_lookup>string</month_of_entry_lookup>
<year_of_entry_lookup>string</year_of_entry_lookup>
<month_of_grad_lookup>string</month_of_grad_lookup>
<year_of_grad_lookup>string</year_of_grad_lookup>
<phone_number>string</phone_number>
<mobile_number>string</mobile_number>
<street_address>string</street_address>
<city>string</city>
<state>string</state>
<zipcode>string</zipcode>
<country_lookup>string</country_lookup>
<nationality_lookup>string</nationality_lookup>
<account_status>int</account_status>
<company_name>string</company_name>
<work_title>string</work_title>
<bio>string</bio>
<linkedin>string</linkedin>
<facebook>string</facebook>
<twitter>string</twitter>
<google_plus>string</google_plus>
<netid>string</netid>
<netid2>string</netid2>
<swipeId>string</swipeId>
<rfid>string</rfid>
<business_street_address>string</business_street_address>
<business_department>string</business_department>
<business_phone_number>string</business_phone_number>
<languages_selection>string</languages_selection>
<nationalities_selection>string</nationalities_selection>
<user_tags>string</user_tags>
<keep_existing_user_tags>string</keep_existing_user_tags>
<new_user_tags_are_admin_only>string</new_user_tags_are_admin_only>
<external_id>string</external_id>
<netid3>string</netid3>
<external_guid>string</external_guid>
<hide_profile_page>string</hide_profile_page>
<hide_from_directory>string</hide_from_directory>
<unsubscribe_all_group_emails>string</unsubscribe_all_group_emails>
<other_email>string</other_email>
<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>
<official_name>string</official_name>
<legal_first_name>string</legal_first_name>
<maiden_name>string</maiden_name>
<date_of_birth>string</date_of_birth>
<check_existing_deactivated_users_if_needed>string</check_existing_deactivated_users_if_needed>
<force_overwrite_of_data_even_if_not_flagged_read_only>string</force_overwrite_of_data_even_if_not_flagged_read_only>
<over_21>string</over_21>
<qrcode>string</qrcode>
<barcode>string</barcode>
<preferred_email>string</preferred_email>
<career_interests>string</career_interests>
</CreateUpdateUser>
</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>
<CreateUpdateUserResponse xmlns="http://campusgroups.com/">
<CreateUpdateUserResult>
<school_identifier>string</school_identifier>
<cg_id>int</cg_id>
<message_code>int</message_code>
<message>string</message>
</CreateUpdateUserResult>
</CreateUpdateUserResponse>
</soap12:Body>
</soap12:Envelope>