DonationAPI
Click here for a complete list of operations.
MakdeDonation
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/v1.1/DonationAPI.asmx HTTP/1.1 Host: secured.israelgives.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/MakdeDonation" <?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> <MakdeDonation xmlns="http://tempuri.org/"> <DonorTitle>string</DonorTitle> <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> <DonationSums>string</DonationSums> <DonationTargetTypes>string</DonationTargetTypes> <DonationTargetIds>string</DonationTargetIds> <DonationFrequency>string</DonationFrequency> <PurchaseSums>string</PurchaseSums> <PurchaseTargetTypes>string</PurchaseTargetTypes> <PurchaseTargetIds>string</PurchaseTargetIds> <StoreItemIds>string</StoreItemIds> <CurrencyId>int</CurrencyId> <CardTypeId>int</CardTypeId> <CreditCardNo>long</CreditCardNo> <CVV>string</CVV> <ExpirationYear>int</ExpirationYear> <ExpirationMonth>int</ExpirationMonth> <IsraeliId>string</IsraeliId> <LanguageId>int</LanguageId> <UserId>string</UserId> <Password>string</Password> <AffilaiteId>string</AffilaiteId> <CustomFieldsXML>string</CustomFieldsXML> <CustomFieldsNameValue>string</CustomFieldsNameValue> <PersoanlMessage>string</PersoanlMessage> <IsGiftAid>boolean</IsGiftAid> <RouteName>string</RouteName> <EcardRecipientTitle>string</EcardRecipientTitle> <EcardRecipientFirstName>string</EcardRecipientFirstName> <EcardRecipientLastName>string</EcardRecipientLastName> <EcardInMemoryInHonor>int</EcardInMemoryInHonor> <EcardIsSamePersonReceivingCard>boolean</EcardIsSamePersonReceivingCard> <EcardIsOtherPersonReceivingCardName>string</EcardIsOtherPersonReceivingCardName> <EcardMessage>string</EcardMessage> <EcardNameOfSender>string</EcardNameOfSender> <EcardIsAnonymous>boolean</EcardIsAnonymous> <EcardSendToEamil>string</EcardSendToEamil> <EcardPostalAdress>string</EcardPostalAdress> <EcardPostalCity>string</EcardPostalCity> <EcardPostalCountry>int</EcardPostalCountry> <EcardPostalState>int</EcardPostalState> <EcardPostalZipCode>string</EcardPostalZipCode> </MakdeDonation> </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> <MakdeDonationResponse xmlns="http://tempuri.org/"> <MakdeDonationResult> <Status>int</Status> <Message>string</Message> <TransactionId>long</TransactionId> <Tip>decimal</Tip> <SplittedTip>boolean</SplittedTip> <IsKig>boolean</IsKig> </MakdeDonationResult> </MakdeDonationResponse> </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/v1.1/DonationAPI.asmx HTTP/1.1 Host: secured.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> <MakdeDonation xmlns="http://tempuri.org/"> <DonorTitle>string</DonorTitle> <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> <DonationSums>string</DonationSums> <DonationTargetTypes>string</DonationTargetTypes> <DonationTargetIds>string</DonationTargetIds> <DonationFrequency>string</DonationFrequency> <PurchaseSums>string</PurchaseSums> <PurchaseTargetTypes>string</PurchaseTargetTypes> <PurchaseTargetIds>string</PurchaseTargetIds> <StoreItemIds>string</StoreItemIds> <CurrencyId>int</CurrencyId> <CardTypeId>int</CardTypeId> <CreditCardNo>long</CreditCardNo> <CVV>string</CVV> <ExpirationYear>int</ExpirationYear> <ExpirationMonth>int</ExpirationMonth> <IsraeliId>string</IsraeliId> <LanguageId>int</LanguageId> <UserId>string</UserId> <Password>string</Password> <AffilaiteId>string</AffilaiteId> <CustomFieldsXML>string</CustomFieldsXML> <CustomFieldsNameValue>string</CustomFieldsNameValue> <PersoanlMessage>string</PersoanlMessage> <IsGiftAid>boolean</IsGiftAid> <RouteName>string</RouteName> <EcardRecipientTitle>string</EcardRecipientTitle> <EcardRecipientFirstName>string</EcardRecipientFirstName> <EcardRecipientLastName>string</EcardRecipientLastName> <EcardInMemoryInHonor>int</EcardInMemoryInHonor> <EcardIsSamePersonReceivingCard>boolean</EcardIsSamePersonReceivingCard> <EcardIsOtherPersonReceivingCardName>string</EcardIsOtherPersonReceivingCardName> <EcardMessage>string</EcardMessage> <EcardNameOfSender>string</EcardNameOfSender> <EcardIsAnonymous>boolean</EcardIsAnonymous> <EcardSendToEamil>string</EcardSendToEamil> <EcardPostalAdress>string</EcardPostalAdress> <EcardPostalCity>string</EcardPostalCity> <EcardPostalCountry>int</EcardPostalCountry> <EcardPostalState>int</EcardPostalState> <EcardPostalZipCode>string</EcardPostalZipCode> </MakdeDonation> </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> <MakdeDonationResponse xmlns="http://tempuri.org/"> <MakdeDonationResult> <Status>int</Status> <Message>string</Message> <TransactionId>long</TransactionId> <Tip>decimal</Tip> <SplittedTip>boolean</SplittedTip> <IsKig>boolean</IsKig> </MakdeDonationResult> </MakdeDonationResponse> </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/v1.1/DonationAPI.asmx/MakdeDonation?DonorTitle=string&DonorFirstName=string&DonorLastName=string&DonorAddress1=string&DonorAddress2=string&DonorCity=string&DonorCountryId=string&DonorStateId=string&DonorZip=string&DonorEmail=string&DonorTelephone=string&DonationSums=string&DonationTargetTypes=string&DonationTargetIds=string&DonationFrequency=string&PurchaseSums=string&PurchaseTargetTypes=string&PurchaseTargetIds=string&StoreItemIds=string&CurrencyId=string&CardTypeId=string&CreditCardNo=string&CVV=string&ExpirationYear=string&ExpirationMonth=string&IsraeliId=string&LanguageId=string&UserId=string&Password=string&AffilaiteId=string&CustomFieldsXML=string&CustomFieldsNameValue=string&PersoanlMessage=string&IsGiftAid=string&RouteName=string&EcardRecipientTitle=string&EcardRecipientFirstName=string&EcardRecipientLastName=string&EcardInMemoryInHonor=string&EcardIsSamePersonReceivingCard=string&EcardIsOtherPersonReceivingCardName=string&EcardMessage=string&EcardNameOfSender=string&EcardIsAnonymous=string&EcardSendToEamil=string&EcardPostalAdress=string&EcardPostalCity=string&EcardPostalCountry=string&EcardPostalState=string&EcardPostalZipCode=string HTTP/1.1 Host: secured.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/v1.1/DonationAPI.asmx/MakdeDonation HTTP/1.1 Host: secured.israelgives.org Content-Type: application/x-www-form-urlencoded Content-Length: length DonorTitle=string&DonorFirstName=string&DonorLastName=string&DonorAddress1=string&DonorAddress2=string&DonorCity=string&DonorCountryId=string&DonorStateId=string&DonorZip=string&DonorEmail=string&DonorTelephone=string&DonationSums=string&DonationTargetTypes=string&DonationTargetIds=string&DonationFrequency=string&PurchaseSums=string&PurchaseTargetTypes=string&PurchaseTargetIds=string&StoreItemIds=string&CurrencyId=string&CardTypeId=string&CreditCardNo=string&CVV=string&ExpirationYear=string&ExpirationMonth=string&IsraeliId=string&LanguageId=string&UserId=string&Password=string&AffilaiteId=string&CustomFieldsXML=string&CustomFieldsNameValue=string&PersoanlMessage=string&IsGiftAid=string&RouteName=string&EcardRecipientTitle=string&EcardRecipientFirstName=string&EcardRecipientLastName=string&EcardInMemoryInHonor=string&EcardIsSamePersonReceivingCard=string&EcardIsOtherPersonReceivingCardName=string&EcardMessage=string&EcardNameOfSender=string&EcardIsAnonymous=string&EcardSendToEamil=string&EcardPostalAdress=string&EcardPostalCity=string&EcardPostalCountry=string&EcardPostalState=string&EcardPostalZipCode=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>