This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
nocode:transactions [2019/08/13 05:02] 740803864 [Negative response] |
nocode:transactions [2020/03/29 11:34] (current) 77.75.78.163 ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| See chapters below for details. | See chapters below for details. | ||
| - | ===== Set up ===== | + | ===== Setup ===== |
| At first, transaction must be prepared and sent to ADUCID Binder. ADUCID Binder accepts transaction HTTP requests at ''/ | At first, transaction must be prepared and sent to ADUCID Binder. ADUCID Binder accepts transaction HTTP requests at ''/ | ||
| ^ Name ^ Values ^ Mandatory ^ Description ^ | ^ Name ^ Values ^ Mandatory ^ Description ^ | ||
| Line 16: | Line 16: | ||
| | udi | String | No | if defined, security attack check is realized | | | udi | String | No | if defined, security attack check is realized | | ||
| | peigId | String | No | if defined, mobile push notification is realized | | | peigId | String | No | if defined, mobile push notification is realized | | ||
| - | **It is neccessary to add '' | + | **It is neccessary to add '' |
| We must also remember to provide generated transaction identifier to web view, e.g. Ajax JSON response or JSP expression language. | We must also remember to provide generated transaction identifier to web view, e.g. Ajax JSON response or JSP expression language. | ||
| ===== Transaction itself ===== | ===== Transaction itself ===== | ||
| - | When transaction data are successfully uploaded, we can start transaction itself. It can be done with use of [[web-integration: | + | When transaction data are successfully uploaded, we can start transaction itself. It can be done with use of [[web-integration: |
| <code javascript> | <code javascript> | ||
| Line 35: | Line 35: | ||
| ==== Positive response ==== | ==== Positive response ==== | ||
| - | When transaction was successful, JSON response will be: | + | When transaction was successful |
| <code javascript> | <code javascript> | ||
| Line 46: | Line 46: | ||
| ==== Negative response ==== | ==== Negative response ==== | ||
| - | Transaction can be also unsuccessful. There are two types of failures - failure directly on AIM and second level failure. Failure on AIM can be: | + | Transaction can be also unsuccessful |
| <code javascript> | <code javascript> | ||
| Line 63: | Line 63: | ||
| </ | </ | ||
| - | In case of AIM failure, values '' | + | In case of AIM failure, values '' |
| Secondary level failure can look like: | Secondary level failure can look like: | ||
| Line 82: | Line 82: | ||
| </ | </ | ||
| - | In this case, value '' | + | In this case, value '' |