DonationWebService
Click here for a complete list of operations.
ProcessDonation
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 /donationapi/DonationWebService.asmx HTTP/1.1 Host: www.israelgives.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/ProcessDonation" <?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> <ProcessDonation xmlns="http://tempuri.org/"> <request> <Donor> <DonorId>long</DonorId> <IsProfileHidden>boolean</IsProfileHidden> <IsAnonymous>boolean</IsAnonymous> <DonorNameTitle>string</DonorNameTitle> <DonorFirstName>string</DonorFirstName> <DonorLastName>string</DonorLastName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <CountryId>int</CountryId> <CountryName>string</CountryName> <StateId>int</StateId> <StateName>string</StateName> <Zip>string</Zip> <PhoneCode>string</PhoneCode> <Phone>string</Phone> <Email>string</Email> <Password>string</Password> <FacebookId>long</FacebookId> <IsAutoRegistered>boolean</IsAutoRegistered> <PlainPassword>string</PlainPassword> <Telephone>string</Telephone> <StatusId>int</StatusId> <is_company>boolean</is_company> <NeedEmailRename>boolean</NeedEmailRename> <FullAddress>string</FullAddress> <IsAuthorize>boolean</IsAuthorize> <AmutaId>int</AmutaId> </Donor> <CurrencyId>int</CurrencyId> <T2TKey>string</T2TKey> <User>string</User> <Password>string</Password> <MoneyAmount>decimal</MoneyAmount> <CreditCard> <CardTypeId>int</CardTypeId> <Number>long</Number> <CVV>string</CVV> <IsraeliId>string</IsraeliId> <ExpirationYear>int</ExpirationYear> <ExpirationMonth>int</ExpirationMonth> </CreditCard> <LanguageId>int</LanguageId> <Frequency>int</Frequency> </request> <amutaNumber>long</amutaNumber> <projectId>long</projectId> </ProcessDonation> </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> <ProcessDonationResponse xmlns="http://tempuri.org/"> <ProcessDonationResult> <Status>int</Status> <Message>string</Message> <TransactionId>long</TransactionId> <Tip>decimal</Tip> <SplittedTip>boolean</SplittedTip> <IsKig>boolean</IsKig> </ProcessDonationResult> </ProcessDonationResponse> </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> <ProcessDonation xmlns="http://tempuri.org/"> <request> <Donor> <DonorId>long</DonorId> <IsProfileHidden>boolean</IsProfileHidden> <IsAnonymous>boolean</IsAnonymous> <DonorNameTitle>string</DonorNameTitle> <DonorFirstName>string</DonorFirstName> <DonorLastName>string</DonorLastName> <Address1>string</Address1> <Address2>string</Address2> <City>string</City> <CountryId>int</CountryId> <CountryName>string</CountryName> <StateId>int</StateId> <StateName>string</StateName> <Zip>string</Zip> <PhoneCode>string</PhoneCode> <Phone>string</Phone> <Email>string</Email> <Password>string</Password> <FacebookId>long</FacebookId> <IsAutoRegistered>boolean</IsAutoRegistered> <PlainPassword>string</PlainPassword> <Telephone>string</Telephone> <StatusId>int</StatusId> <is_company>boolean</is_company> <NeedEmailRename>boolean</NeedEmailRename> <FullAddress>string</FullAddress> <IsAuthorize>boolean</IsAuthorize> <AmutaId>int</AmutaId> </Donor> <CurrencyId>int</CurrencyId> <T2TKey>string</T2TKey> <User>string</User> <Password>string</Password> <MoneyAmount>decimal</MoneyAmount> <CreditCard> <CardTypeId>int</CardTypeId> <Number>long</Number> <CVV>string</CVV> <IsraeliId>string</IsraeliId> <ExpirationYear>int</ExpirationYear> <ExpirationMonth>int</ExpirationMonth> </CreditCard> <LanguageId>int</LanguageId> <Frequency>int</Frequency> </request> <amutaNumber>long</amutaNumber> <projectId>long</projectId> </ProcessDonation> </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> <ProcessDonationResponse xmlns="http://tempuri.org/"> <ProcessDonationResult> <Status>int</Status> <Message>string</Message> <TransactionId>long</TransactionId> <Tip>decimal</Tip> <SplittedTip>boolean</SplittedTip> <IsKig>boolean</IsKig> </ProcessDonationResult> </ProcessDonationResponse> </soap12:Body> </soap12:Envelope>