wsFundRaising


Click here for a complete list of operations.

getBatch

Returns a valid batch number from iMIS. If it does not exist, it will create it.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
CashAccount:
BatchMask:
EventCode:
BatchDescription:

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/wsFundraising.asmx HTTP/1.1
Host: demo.atsol.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.atsol.org/wsFundRaising/getBatch"

<?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>
    <getBatch xmlns="http://www.atsol.org/wsFundRaising/">
      <CashAccount>string</CashAccount>
      <BatchMask>string</BatchMask>
      <EventCode>string</EventCode>
      <BatchDescription>string</BatchDescription>
    </getBatch>
  </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>
    <getBatchResponse xmlns="http://www.atsol.org/wsFundRaising/">
      <getBatchResult>
        <BatchNumber>string</BatchNumber>
        <BatchCashAccount>string</BatchCashAccount>
        <PaymentCashAccount>string</PaymentCashAccount>
        <ProcessorCashAccount>string</ProcessorCashAccount>
        <ResultCode>int</ResultCode>
        <ResultMessage>string</ResultMessage>
      </getBatchResult>
    </getBatchResponse>
  </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/wsFundraising.asmx HTTP/1.1
Host: demo.atsol.org
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>
    <getBatch xmlns="http://www.atsol.org/wsFundRaising/">
      <CashAccount>string</CashAccount>
      <BatchMask>string</BatchMask>
      <EventCode>string</EventCode>
      <BatchDescription>string</BatchDescription>
    </getBatch>
  </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>
    <getBatchResponse xmlns="http://www.atsol.org/wsFundRaising/">
      <getBatchResult>
        <BatchNumber>string</BatchNumber>
        <BatchCashAccount>string</BatchCashAccount>
        <PaymentCashAccount>string</PaymentCashAccount>
        <ProcessorCashAccount>string</ProcessorCashAccount>
        <ResultCode>int</ResultCode>
        <ResultMessage>string</ResultMessage>
      </getBatchResult>
    </getBatchResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /WebServices/wsFundraising.asmx/getBatch?CashAccount=string&BatchMask=string&EventCode=string&BatchDescription=string HTTP/1.1
Host: demo.atsol.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<BatchObj xmlns="http://www.atsol.org/wsFundRaising/">
  <BatchNumber>string</BatchNumber>
  <BatchCashAccount>string</BatchCashAccount>
  <PaymentCashAccount>string</PaymentCashAccount>
  <ProcessorCashAccount>string</ProcessorCashAccount>
  <ResultCode>int</ResultCode>
  <ResultMessage>string</ResultMessage>
</BatchObj>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /WebServices/wsFundraising.asmx/getBatch HTTP/1.1
Host: demo.atsol.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

CashAccount=string&BatchMask=string&EventCode=string&BatchDescription=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<BatchObj xmlns="http://www.atsol.org/wsFundRaising/">
  <BatchNumber>string</BatchNumber>
  <BatchCashAccount>string</BatchCashAccount>
  <PaymentCashAccount>string</PaymentCashAccount>
  <ProcessorCashAccount>string</ProcessorCashAccount>
  <ResultCode>int</ResultCode>
  <ResultMessage>string</ResultMessage>
</BatchObj>