sit_giftcard


Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.

getLoyaltyList

Method to get a loyalty list. 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/getLoyaltyList"

<?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>
    <getLoyaltyList xmlns="http://sit-pay.de/development/">
      <sMerchantId>string</sMerchantId>
      <sMerchantCode>string</sMerchantCode>
      <sSessionId>string</sSessionId>
      <sTimeStamp>string</sTimeStamp>
      <sTID>string</sTID>
      <sCardNumber>string</sCardNumber>
    </getLoyaltyList>
  </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>
    <getLoyaltyListResponse xmlns="http://sit-pay.de/development/">
      <getLoyaltyListResult>
        <iState>int</iState>
        <sMerchantId>string</sMerchantId>
        <sMerchantCode>string</sMerchantCode>
        <sSessionId>string</sSessionId>
        <aNumbers>
          <LoyaltyListCardItem>
            <Number>string</Number>
            <Credit>int</Credit>
            <Valid>dateTime</Valid>
          </LoyaltyListCardItem>
          <LoyaltyListCardItem>
            <Number>string</Number>
            <Credit>int</Credit>
            <Valid>dateTime</Valid>
          </LoyaltyListCardItem>
        </aNumbers>
      </getLoyaltyListResult>
    </getLoyaltyListResponse>
  </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>
    <getLoyaltyList xmlns="http://sit-pay.de/development/">
      <sMerchantId>string</sMerchantId>
      <sMerchantCode>string</sMerchantCode>
      <sSessionId>string</sSessionId>
      <sTimeStamp>string</sTimeStamp>
      <sTID>string</sTID>
      <sCardNumber>string</sCardNumber>
    </getLoyaltyList>
  </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>
    <getLoyaltyListResponse xmlns="http://sit-pay.de/development/">
      <getLoyaltyListResult>
        <iState>int</iState>
        <sMerchantId>string</sMerchantId>
        <sMerchantCode>string</sMerchantCode>
        <sSessionId>string</sSessionId>
        <aNumbers>
          <LoyaltyListCardItem>
            <Number>string</Number>
            <Credit>int</Credit>
            <Valid>dateTime</Valid>
          </LoyaltyListCardItem>
          <LoyaltyListCardItem>
            <Number>string</Number>
            <Credit>int</Credit>
            <Valid>dateTime</Valid>
          </LoyaltyListCardItem>
        </aNumbers>
      </getLoyaltyListResult>
    </getLoyaltyListResponse>
  </soap12:Body>
</soap12:Envelope>