CampusGroups


Click here for a complete list of operations.

CreateUpdateAcademicExperience

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/CreateUpdateAcademicExperience"

<?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>
    <CreateUpdateAcademicExperience xmlns="http://campusgroups.com/">
      <school>string</school>
      <timestamp>string</timestamp>
      <auth_token>string</auth_token>
      <experience_cgid>string</experience_cgid>
      <experience_externalid>string</experience_externalid>
      <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>
      <user_externalid>string</user_externalid>
      <user_externalguid>string</user_externalguid>
      <university>string</university>
      <degree>string</degree>
      <study_field>string</study_field>
      <location>string</location>
      <activities>string</activities>
      <start_year>string</start_year>
      <end_year>string</end_year>
      <delete>string</delete>
      <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>
    </CreateUpdateAcademicExperience>
  </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>
    <CreateUpdateAcademicExperienceResponse xmlns="http://campusgroups.com/">
      <CreateUpdateAcademicExperienceResult>
        <cg_id>long</cg_id>
        <message_code>int</message_code>
        <message>string</message>
      </CreateUpdateAcademicExperienceResult>
    </CreateUpdateAcademicExperienceResponse>
  </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>
    <CreateUpdateAcademicExperience xmlns="http://campusgroups.com/">
      <school>string</school>
      <timestamp>string</timestamp>
      <auth_token>string</auth_token>
      <experience_cgid>string</experience_cgid>
      <experience_externalid>string</experience_externalid>
      <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>
      <user_externalid>string</user_externalid>
      <user_externalguid>string</user_externalguid>
      <university>string</university>
      <degree>string</degree>
      <study_field>string</study_field>
      <location>string</location>
      <activities>string</activities>
      <start_year>string</start_year>
      <end_year>string</end_year>
      <delete>string</delete>
      <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>
    </CreateUpdateAcademicExperience>
  </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>
    <CreateUpdateAcademicExperienceResponse xmlns="http://campusgroups.com/">
      <CreateUpdateAcademicExperienceResult>
        <cg_id>long</cg_id>
        <message_code>int</message_code>
        <message>string</message>
      </CreateUpdateAcademicExperienceResult>
    </CreateUpdateAcademicExperienceResponse>
  </soap12:Body>
</soap12:Envelope>