CampusGroups


Click here for a complete list of operations.

CreateUpdateTransaction

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

<?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>
    <CreateUpdateTransaction xmlns="http://campusgroups.com/">
      <school>string</school>
      <api_key>string</api_key>
      <timestamp>string</timestamp>
      <auth_token>string</auth_token>
      <group_acronym>string</group_acronym>
      <budget>string</budget>
      <description>string</description>
      <type>string</type>
      <category>string</category>
      <amount>string</amount>
      <amount_group_funds>string</amount_group_funds>
      <transaction_date>string</transaction_date>
      <status>string</status>
      <payment_method>string</payment_method>
      <vendor>string</vendor>
      <reference_number>string</reference_number>
      <additional_notes>string</additional_notes>
      <external_transaction_id>string</external_transaction_id>
    </CreateUpdateTransaction>
  </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>
    <CreateUpdateTransactionResponse xmlns="http://campusgroups.com/">
      <CreateUpdateTransactionResult>
        <cg_transaction_id>int</cg_transaction_id>
        <message_code>int</message_code>
        <message>string</message>
      </CreateUpdateTransactionResult>
    </CreateUpdateTransactionResponse>
  </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>
    <CreateUpdateTransaction xmlns="http://campusgroups.com/">
      <school>string</school>
      <api_key>string</api_key>
      <timestamp>string</timestamp>
      <auth_token>string</auth_token>
      <group_acronym>string</group_acronym>
      <budget>string</budget>
      <description>string</description>
      <type>string</type>
      <category>string</category>
      <amount>string</amount>
      <amount_group_funds>string</amount_group_funds>
      <transaction_date>string</transaction_date>
      <status>string</status>
      <payment_method>string</payment_method>
      <vendor>string</vendor>
      <reference_number>string</reference_number>
      <additional_notes>string</additional_notes>
      <external_transaction_id>string</external_transaction_id>
    </CreateUpdateTransaction>
  </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>
    <CreateUpdateTransactionResponse xmlns="http://campusgroups.com/">
      <CreateUpdateTransactionResult>
        <cg_transaction_id>int</cg_transaction_id>
        <message_code>int</message_code>
        <message>string</message>
      </CreateUpdateTransactionResult>
    </CreateUpdateTransactionResponse>
  </soap12:Body>
</soap12:Envelope>