DonationWebService


Click here for a complete list of operations.

ProcessDonation2

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
DonorNameTitle:
DonorFirstName:
DonorLastName:
DonorAddress1:
DonorAddress2:
DonorCity:
DonorCountryId:
DonorStateId:
DonorZip:
DonorEmail:
DonorTelephone:
CurrencyId:
T2TKey:
User:
Password:
MoneyAmount:
CardTypeId:
NumberCC:
CVV:
IsraeliId:
ExpirationYear:
ExpirationMonth:
LanguageId:
amutaNumber:
projectId:
frequency:

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 /donationapi/DonationWebService.asmx HTTP/1.1
Host: www.israelgives.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ProcessDonation2"

<?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>
    <ProcessDonation2 xmlns="http://tempuri.org/">
      <DonorNameTitle>string</DonorNameTitle>
      <DonorFirstName>string</DonorFirstName>
      <DonorLastName>string</DonorLastName>
      <DonorAddress1>string</DonorAddress1>
      <DonorAddress2>string</DonorAddress2>
      <DonorCity>string</DonorCity>
      <DonorCountryId>int</DonorCountryId>
      <DonorStateId>int</DonorStateId>
      <DonorZip>string</DonorZip>
      <DonorEmail>string</DonorEmail>
      <DonorTelephone>string</DonorTelephone>
      <CurrencyId>int</CurrencyId>
      <T2TKey>string</T2TKey>
      <User>string</User>
      <Password>string</Password>
      <MoneyAmount>decimal</MoneyAmount>
      <CardTypeId>int</CardTypeId>
      <NumberCC>long</NumberCC>
      <CVV>string</CVV>
      <IsraeliId>string</IsraeliId>
      <ExpirationYear>int</ExpirationYear>
      <ExpirationMonth>int</ExpirationMonth>
      <LanguageId>int</LanguageId>
      <amutaNumber>long</amutaNumber>
      <projectId>long</projectId>
      <frequency>int</frequency>
    </ProcessDonation2>
  </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>
    <ProcessDonation2Response xmlns="http://tempuri.org/">
      <ProcessDonation2Result>
        <Status>int</Status>
        <Message>string</Message>
        <TransactionId>long</TransactionId>
        <Tip>decimal</Tip>
        <SplittedTip>boolean</SplittedTip>
        <IsKig>boolean</IsKig>
      </ProcessDonation2Result>
    </ProcessDonation2Response>
  </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 /donationapi/DonationWebService.asmx HTTP/1.1
Host: www.israelgives.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>
    <ProcessDonation2 xmlns="http://tempuri.org/">
      <DonorNameTitle>string</DonorNameTitle>
      <DonorFirstName>string</DonorFirstName>
      <DonorLastName>string</DonorLastName>
      <DonorAddress1>string</DonorAddress1>
      <DonorAddress2>string</DonorAddress2>
      <DonorCity>string</DonorCity>
      <DonorCountryId>int</DonorCountryId>
      <DonorStateId>int</DonorStateId>
      <DonorZip>string</DonorZip>
      <DonorEmail>string</DonorEmail>
      <DonorTelephone>string</DonorTelephone>
      <CurrencyId>int</CurrencyId>
      <T2TKey>string</T2TKey>
      <User>string</User>
      <Password>string</Password>
      <MoneyAmount>decimal</MoneyAmount>
      <CardTypeId>int</CardTypeId>
      <NumberCC>long</NumberCC>
      <CVV>string</CVV>
      <IsraeliId>string</IsraeliId>
      <ExpirationYear>int</ExpirationYear>
      <ExpirationMonth>int</ExpirationMonth>
      <LanguageId>int</LanguageId>
      <amutaNumber>long</amutaNumber>
      <projectId>long</projectId>
      <frequency>int</frequency>
    </ProcessDonation2>
  </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>
    <ProcessDonation2Response xmlns="http://tempuri.org/">
      <ProcessDonation2Result>
        <Status>int</Status>
        <Message>string</Message>
        <TransactionId>long</TransactionId>
        <Tip>decimal</Tip>
        <SplittedTip>boolean</SplittedTip>
        <IsKig>boolean</IsKig>
      </ProcessDonation2Result>
    </ProcessDonation2Response>
  </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 /donationapi/DonationWebService.asmx/ProcessDonation2?DonorNameTitle=string&DonorFirstName=string&DonorLastName=string&DonorAddress1=string&DonorAddress2=string&DonorCity=string&DonorCountryId=string&DonorStateId=string&DonorZip=string&DonorEmail=string&DonorTelephone=string&CurrencyId=string&T2TKey=string&User=string&Password=string&MoneyAmount=string&CardTypeId=string&NumberCC=string&CVV=string&IsraeliId=string&ExpirationYear=string&ExpirationMonth=string&LanguageId=string&amutaNumber=string&projectId=string&frequency=string HTTP/1.1
Host: www.israelgives.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DonationResponse xmlns="http://tempuri.org/">
  <Status>int</Status>
  <Message>string</Message>
  <TransactionId>long</TransactionId>
  <Tip>decimal</Tip>
  <SplittedTip>boolean</SplittedTip>
  <IsKig>boolean</IsKig>
</DonationResponse>

HTTP POST

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

POST /donationapi/DonationWebService.asmx/ProcessDonation2 HTTP/1.1
Host: www.israelgives.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

DonorNameTitle=string&DonorFirstName=string&DonorLastName=string&DonorAddress1=string&DonorAddress2=string&DonorCity=string&DonorCountryId=string&DonorStateId=string&DonorZip=string&DonorEmail=string&DonorTelephone=string&CurrencyId=string&T2TKey=string&User=string&Password=string&MoneyAmount=string&CardTypeId=string&NumberCC=string&CVV=string&IsraeliId=string&ExpirationYear=string&ExpirationMonth=string&LanguageId=string&amutaNumber=string&projectId=string&frequency=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DonationResponse xmlns="http://tempuri.org/">
  <Status>int</Status>
  <Message>string</Message>
  <TransactionId>long</TransactionId>
  <Tip>decimal</Tip>
  <SplittedTip>boolean</SplittedTip>
  <IsKig>boolean</IsKig>
</DonationResponse>