|
| 1 | +# Raiffeisen URI Variables |
| 2 | + |
| 3 | +## Production |
| 4 | +`<fqdn> tb.raiffeisendirect.ch` |
| 5 | +`<authenticationpath> non existend` |
| 6 | +`<authenticationpath> (for CLX.Sentinel) /certLogin` |
| 7 | +`<softcertaktivierungpath> /softCertActivation` |
| 8 | +`<softcertauthenticationpath> /softCertLogin` |
| 9 | +`<clientpath> non existend` |
| 10 | + |
| 11 | +## Staging System (Needs contracted access) |
| 12 | +`<fqdn> at.raiffeisendirect.ch` |
| 13 | +`<authenticationpath> non existend` |
| 14 | +`<authenticationpath> (for CLX.Sentinel) /certLogin` |
| 15 | +`<softcertaktivierungpath> /softCertActivation` |
| 16 | +`<softcertauthenticationpath> /softCertLogin` |
| 17 | +`<clientpath> non existend` |
| 18 | + |
| 19 | +## Testing System (Needs contracted access) |
| 20 | +`<fqdn> it.raiffeisendirect.ch` |
| 21 | +`<authenticationpath> non existend` |
| 22 | +`<authenticationpath> (for CLX.Sentinel) /certLogin` |
| 23 | +`<softcertaktivierungpath> /softCertActivation` |
| 24 | +`<softcertauthenticationpath> /softCertLogin` |
| 25 | +`<clientpath> non existend` |
| 26 | + |
| 27 | + |
| 28 | +# General Endpoints |
| 29 | + |
| 30 | +## Authentication with soft certificate |
| 31 | +### Certificate Activation |
| 32 | +#### Request |
| 33 | +URL: `https://<fqdn><softcertaktivierungspath>/offlinetool/` |
| 34 | +Method: `POST` |
| 35 | + |
| 36 | +**Parameters** |
| 37 | +`lang` values: `de, fr, it, en` |
| 38 | +`codeA` The first code that you will get with the activation letter. |
| 39 | +`codeB` The second code that you will get with the activation letter. |
| 40 | +`bank` is optional. |
| 41 | + |
| 42 | +####Response |
| 43 | +``` |
| 44 | +<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 45 | +<ACTIVATION_SOFT_CERT_RESPONSE> |
| 46 | + <ErrorCode>num</ErrorCode> |
| 47 | + <StatusMsg>Msg</StatusMsg> |
| 48 | + <LastLogin> Msg</LastLogin> |
| 49 | +</ACTIVATION_SOFT_CERT_RESPONSE> |
| 50 | +``` |
| 51 | + |
| 52 | +**`ErrorCode`** |
| 53 | +`0` Certificate correct and valid |
| 54 | +`1` Certificate and/or conctract unknown |
| 55 | +`2` Contract locked |
| 56 | +`3` One or multiple activation codes are wrong. |
| 57 | +`4` Certificate is locked |
| 58 | +`6` Certificate rejected |
| 59 | +`7` Certificate expired |
| 60 | +`-1` System currently not available |
| 61 | + |
| 62 | +**`StatusMsg`** |
| 63 | +Text with error message |
| 64 | + |
| 65 | +**`LastLogin`** |
| 66 | +This field only exists if ErrorCode=0. Date and time of the last successfull login in the format dd.mm.yyyy hh:mm |
| 67 | + |
| 68 | +### Login |
| 69 | +#### Request |
| 70 | + |
| 71 | +URL: `https://<fqdn><softcertauthenticationpath>/offlinetool/` |
| 72 | +Method: `POST` |
| 73 | + |
| 74 | +**Parameters** |
| 75 | +`lang` values: `de, fr, it, en` |
| 76 | +`password` |
| 77 | +`new_password` Mandatory if the password has to be changed (first login), later optional. If present, current password gets overwritten with new password. |
| 78 | +`bank` is optional. |
| 79 | + |
| 80 | +####Response |
| 81 | +``` |
| 82 | +<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 83 | +<LOGIN_SOFT_CERT_RESPONSE> |
| 84 | + <ErrorCode>num</ErrorCode> |
| 85 | + <StatusMsg>Msg</StatusMsg> |
| 86 | + <LastLogin> Msg</LastLogin> |
| 87 | +</LOGIN_SOFT_CERT_RESPONSE> |
| 88 | +``` |
| 89 | + |
| 90 | +**`ErrorCode`** |
| 91 | +`0` Certificate correct and valid |
| 92 | +`1` Certificate and/or conctract unknown |
| 93 | +`2` Contract locked |
| 94 | +`4` User needs to log in on the website to accept disclaimers. |
| 95 | +`6` Certificate rejected. |
| 96 | +`7` Certificate expired |
| 97 | +`8` Password wrong or empty. Please enter new password. |
| 98 | +`9` New password is too short or empty. Please enter correct password. |
| 99 | +`10` New password is the same as the initial password. Please enter a personal password. |
| 100 | +`-1` System currently not available. |
| 101 | + |
| 102 | +**`StatusMsg`** |
| 103 | +Text with error message |
| 104 | + |
| 105 | +**`LastLogin`** |
| 106 | +This field only exists if ErrorCode=0. Date and time of the last successfull login in the format dd.mm.yyyy hh:mm |
| 107 | + |
| 108 | + |
| 109 | +> **IMPORTANT:** If the login is successfull the response will include a *RDI_SESS* Cookie in the header. This cookie has to be sent with further requests. |
| 110 | +
|
| 111 | +### Logout |
| 112 | +#### Request |
| 113 | +URL: `https://<fqdn><clientpath>/root/extras/logout` |
| 114 | +Method: `POST` |
| 115 | + |
| 116 | +**Parameters** |
| 117 | +`output` **xml** If this parameter is omitted, the response is in HTML format. |
| 118 | + |
| 119 | +####Response |
| 120 | +``` |
| 121 | +<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 122 | +<LOGOUT_RESPONSE> |
| 123 | + <ErrorCode>num</ErrorCode> |
| 124 | +</LOGOUT_RESPONSE> |
| 125 | +``` |
| 126 | + |
| 127 | +**`ErrorCode`** |
| 128 | +`0` Logout successful |
| 129 | +`-1` System currently not available |
| 130 | + |
| 131 | +### Session Status |
| 132 | +By querying thesession status it can be checked if a HTTP-session is still valid. Atthe same time this function can be used to keep the session alive. This means that the session can be kept active for a longer time and reused for later transactions. |
| 133 | + |
| 134 | +#### Request |
| 135 | +URL: `https://<fqdn><clientpath>/root/extras/sessionstatus` |
| 136 | +Method: `GET` |
| 137 | + |
| 138 | +####Response |
| 139 | +``` |
| 140 | +<?xml version="1.0" encoding="ISO-8859-1" ?> |
| 141 | +<SESSIONSTATUS_RESPONSE> |
| 142 | + <ErrorCode>num</ErrorCode> |
| 143 | + <LoginTime>datetime</LoginTime> |
| 144 | +</SESSIONSTATUS_RESPONSE > |
| 145 | +``` |
| 146 | + |
| 147 | +**`ErrorCode`** |
| 148 | +`0` Session is valid |
| 149 | +`-1` Session is invalid or system is currently unavailable |
| 150 | + |
| 151 | +**`LoginTime`** |
| 152 | +Login time of the current session in the format YYYY-MM-DD HH:MM:SS.mmm. In case of an invalid session this field stays empty. |
| 153 | + |
| 154 | +### Go-Online |
| 155 | +#### Request |
| 156 | +URL: `https://<fqdn><clientpath>/root/extras/go-online?Page=main` |
| 157 | +Method: `GET` |
| 158 | + |
| 159 | +**Parameters** |
| 160 | +`page` values: `main` (default) With the parameter value "main" the main entry page is returned as if the user logged in online. `dtaoverview` The parameter value "dtaoverview" returns the page "Overview of datatransfers". If parameter is omitted, "main" is taken as the default. |
0 commit comments