sit_giftcard
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
getBalanceWithLoyalty
Method to get the current credit value from an account. Param name sMerchantId = customer id for authentification / Param name sMerchantCode = customer authentification code / Param name sSessionId = session id for unique identification / Param name sTimeStamp = timestamp from transaction / Param name sTID = terminal id for identification / Param name sCardNumber = card or account number / Param name sLoyaltyCard = number to check whether the passed in CardNumber is allowed to use
Test
Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.SOAP 1.1
Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /giftcard/gc_ws/sit_giftcard.asmx HTTP/1.1 Host: www.s01.sit-pay.de Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://sit-pay.de/development/getBalanceWithLoyalty" <?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> <getBalanceWithLoyalty xmlns="http://sit-pay.de/development/"> <sMerchantId>string</sMerchantId> <sMerchantCode>string</sMerchantCode> <sSessionId>string</sSessionId> <sTimeStamp>string</sTimeStamp> <sTID>string</sTID> <sCardNumber>string</sCardNumber> <sLoyaltyCard>string</sLoyaltyCard> </getBalanceWithLoyalty> </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> <getBalanceWithLoyaltyResponse xmlns="http://sit-pay.de/development/"> <getBalanceWithLoyaltyResult> <string>string</string> <string>string</string> </getBalanceWithLoyaltyResult> </getBalanceWithLoyaltyResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /giftcard/gc_ws/sit_giftcard.asmx HTTP/1.1 Host: www.s01.sit-pay.de 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> <getBalanceWithLoyalty xmlns="http://sit-pay.de/development/"> <sMerchantId>string</sMerchantId> <sMerchantCode>string</sMerchantCode> <sSessionId>string</sSessionId> <sTimeStamp>string</sTimeStamp> <sTID>string</sTID> <sCardNumber>string</sCardNumber> <sLoyaltyCard>string</sLoyaltyCard> </getBalanceWithLoyalty> </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> <getBalanceWithLoyaltyResponse xmlns="http://sit-pay.de/development/"> <getBalanceWithLoyaltyResult> <string>string</string> <string>string</string> </getBalanceWithLoyaltyResult> </getBalanceWithLoyaltyResponse> </soap12:Body> </soap12:Envelope>