Escada
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
GetOnlinePaymentApi
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/GetOnlinePaymentApi" <?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> <GetOnlinePaymentApi xmlns="weiterbildung.jcssoft.ch"> <id>string</id> <paymentRequest> <OrderId>string</OrderId> <PaymentCall>CheckSubscription or PayComplete or ReturnPayment or ReturnDetails</PaymentCall> <Token>string</Token> </paymentRequest> </GetOnlinePaymentApi> </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> <GetOnlinePaymentApiResponse xmlns="weiterbildung.jcssoft.ch"> <GetOnlinePaymentApiResult> <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> </GetOnlinePaymentApiResult> </GetOnlinePaymentApiResponse> </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> <GetOnlinePaymentApi xmlns="weiterbildung.jcssoft.ch"> <id>string</id> <paymentRequest> <OrderId>string</OrderId> <PaymentCall>CheckSubscription or PayComplete or ReturnPayment or ReturnDetails</PaymentCall> <Token>string</Token> </paymentRequest> </GetOnlinePaymentApi> </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> <GetOnlinePaymentApiResponse xmlns="weiterbildung.jcssoft.ch"> <GetOnlinePaymentApiResult> <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> </GetOnlinePaymentApiResult> </GetOnlinePaymentApiResponse> </soap12:Body> </soap12:Envelope>