Escada


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

SetOnlinePaymentApi

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 /service.asmx HTTP/1.1
Host: gsundbasel.dyndns.info
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "weiterbildung.jcssoft.ch/SetOnlinePaymentApi"

<?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>
    <SetOnlinePaymentApi xmlns="weiterbildung.jcssoft.ch">
      <id>string</id>
      <kursnr>int</kursnr>
      <onlinePayment>
        <PaymentResponse>Pending or Ok or Nok or Reset or Errors or Status3 or Status4 or SendmailSuccess</PaymentResponse>
        <PaymentCall>CheckSubscription or PayComplete or ReturnPayment or ReturnDetails</PaymentCall>
        <PaymentMethod>
          <Nr>int</Nr>
          <NrExtern>int</NrExtern>
          <Bezeichnung>string</Bezeichnung>
          <CodeApi>string</CodeApi>
        </PaymentMethod>
        <OrderId>string</OrderId>
        <RequestId>string</RequestId>
        <Amount>double</Amount>
        <Validation>boolean</Validation>
        <PayComplete>boolean</PayComplete>
        <Token>string</Token>
        <MutationDate>dateTime</MutationDate>
        <Anmeldungsdetails>
          <Anmeldungsdetails>
            <AnmeldungNr>int</AnmeldungNr>
            <AmeldedetailNr>int</AmeldedetailNr>
            <SortNr>int</SortNr>
            <TextValue>string</TextValue>
            <NumberValue>double</NumberValue>
            <DateValue>dateTime</DateValue>
            <CheckValue>boolean</CheckValue>
          </Anmeldungsdetails>
          <Anmeldungsdetails>
            <AnmeldungNr>int</AnmeldungNr>
            <AmeldedetailNr>int</AmeldedetailNr>
            <SortNr>int</SortNr>
            <TextValue>string</TextValue>
            <NumberValue>double</NumberValue>
            <DateValue>dateTime</DateValue>
            <CheckValue>boolean</CheckValue>
          </Anmeldungsdetails>
        </Anmeldungsdetails>
      </onlinePayment>
      <debug>unsignedByte</debug>
    </SetOnlinePaymentApi>
  </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>
    <SetOnlinePaymentApiResponse xmlns="weiterbildung.jcssoft.ch">
      <SetOnlinePaymentApiResult>boolean</SetOnlinePaymentApiResult>
    </SetOnlinePaymentApiResponse>
  </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 /service.asmx HTTP/1.1
Host: gsundbasel.dyndns.info
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>
    <SetOnlinePaymentApi xmlns="weiterbildung.jcssoft.ch">
      <id>string</id>
      <kursnr>int</kursnr>
      <onlinePayment>
        <PaymentResponse>Pending or Ok or Nok or Reset or Errors or Status3 or Status4 or SendmailSuccess</PaymentResponse>
        <PaymentCall>CheckSubscription or PayComplete or ReturnPayment or ReturnDetails</PaymentCall>
        <PaymentMethod>
          <Nr>int</Nr>
          <NrExtern>int</NrExtern>
          <Bezeichnung>string</Bezeichnung>
          <CodeApi>string</CodeApi>
        </PaymentMethod>
        <OrderId>string</OrderId>
        <RequestId>string</RequestId>
        <Amount>double</Amount>
        <Validation>boolean</Validation>
        <PayComplete>boolean</PayComplete>
        <Token>string</Token>
        <MutationDate>dateTime</MutationDate>
        <Anmeldungsdetails>
          <Anmeldungsdetails>
            <AnmeldungNr>int</AnmeldungNr>
            <AmeldedetailNr>int</AmeldedetailNr>
            <SortNr>int</SortNr>
            <TextValue>string</TextValue>
            <NumberValue>double</NumberValue>
            <DateValue>dateTime</DateValue>
            <CheckValue>boolean</CheckValue>
          </Anmeldungsdetails>
          <Anmeldungsdetails>
            <AnmeldungNr>int</AnmeldungNr>
            <AmeldedetailNr>int</AmeldedetailNr>
            <SortNr>int</SortNr>
            <TextValue>string</TextValue>
            <NumberValue>double</NumberValue>
            <DateValue>dateTime</DateValue>
            <CheckValue>boolean</CheckValue>
          </Anmeldungsdetails>
        </Anmeldungsdetails>
      </onlinePayment>
      <debug>unsignedByte</debug>
    </SetOnlinePaymentApi>
  </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>
    <SetOnlinePaymentApiResponse xmlns="weiterbildung.jcssoft.ch">
      <SetOnlinePaymentApiResult>boolean</SetOnlinePaymentApiResult>
    </SetOnlinePaymentApiResponse>
  </soap12:Body>
</soap12:Envelope>