Changes for page API

Last modified by David Persson on 2022/08/11 10:43
From version 19.1
edited by David Persson
on 2020/01/30 15:05
To version 20.1
edited by David Persson
on 2021/09/21 13:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -32,7 +32,6 @@
32 32  
33 33  ----
34 34  
35 -(% class="wikigeneratedid" %)
36 36  ==== Route segments ====
37 37  
38 38  (% class="box" %)
... ... @@ -109,6 +109,12 @@
109 109  **Tip:** As an implementing consumer of the api **operations** should be taken into consideration rather than trying to determine possible operation based on other basic resource properties. By following this tip we: minimize duplication of business logic, simplify maintenance when business rules change, have a clear separation of concerns.
110 110  )))
111 111  
111 +==== Properties used for idempotency ====
112 +
113 +For operations that are idempotent, clients can make the same call multiple times while giving the same results. In other words, multiple identical requests have the same effect as making a single request.
114 +This can be used to re-run failed requests. For requests that, for example, fail due to timeout, there is a possibility that it has been executed at PayEx. In such cases, the request can be run again without duplicates.
115 +This is based on the same request being sent again. In some cases it is enough that certain references / identifiers are the same, in which case these are marked in the API spec
116 +
112 112  ----
113 113  
114 114  === Problems ===