mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
update docu for list transactions
This commit is contained in:
parent
dfdd34ea7a
commit
f682a42209
@ -35,8 +35,20 @@ Additional session can be provided as GET-Parameter
|
|||||||
List all transactions for logged in user
|
List all transactions for logged in user
|
||||||
|
|
||||||
### Request
|
### Request
|
||||||
`GET http://localhost/state-balances/ajaxListTransactions/-127182/[DESC]`
|
`GET http://localhost/api/ajaxListTransactions/[1]/[25]/[DESC]/[session_id]`
|
||||||
(The `DESC` part is optional symbolized by [])
|
Parts symbolized by [] are optional
|
||||||
|
- first parameter (1) is page for paging
|
||||||
|
- second parameter (25) is count for paging
|
||||||
|
- third parameter is ordering of resulting array, default is ASC
|
||||||
|
- fourth parameter is session_id (session will be searched in php session and GRADIDO_LOGIN cookie and if not found use this )
|
||||||
|
|
||||||
|
#### Paging
|
||||||
|
With count you say how many entrys you like to have in the result.
|
||||||
|
With page you say on which page you are.
|
||||||
|
For example 50 transactions are in db.
|
||||||
|
With 1/25 you get the first 25 transactions (1-25)
|
||||||
|
With 2/20 you get the second 20 transactions (21-40)
|
||||||
|
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
Assuming: session is valid
|
Assuming: session is valid
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user