1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- @startuml
- title "P2U Wallet API(Transaction)"
- boundary User_Page as up
- participant Frontend_Server as fe
- participant Backend_Server as be
- autonumber
- note over up
- (3) Get Transactions
- end note
- up->fe: P2U Transaction Page
- note over fe
- request
- {
- "QueryVars": {
- "TokenType": "MSQXP",
- "StartDate": "YYYYMMDD",
- "EndDate" : "YYYYMMDD"
- },
- "PageVars": { "Asc": "aaa","Desc": "bbb",
- "Limit": 10,"Offset": 10 },
- }
- end note
- fe->be: /p2u-transaction-get
- note over be
- Get transaction list specified period for Tokens
- end note
- be->fe: transaction page
- note over fe
- response
- {
- "QueryVars": {
- "TokenType": "MSQXP",
- "StartDate": "YYYYMMDD",
- "EndDate" : "YYYYMMDD"
- },
- "PageVars": { "Asc": "aaa","Desc": "bbb",
- "Limit": 10,"Offset": 10 },
- "TokenInfo": {
- "UnitPoint": "12,
- "DecimalPoint":"2"
- "TokenType": "MSQXP"
- }
- "Page": [
- {
- "TransterTime": Unixtime,
- "FromAddr": "aaa",
- "ToAddr": "bbb",
- "TransactionAmt": "23408330234",
- "Status": "0" // 0:success, 1:Failed
- },
- {
- "TransterTime": Unixtime,
- "FromAddr": "aaa",
- "ToAddr": "bbb",
- "TransactionAmt": "23408330234",
- "Status": "0" // 0:success, 1:Failed
- }
- ]
- }
- end note
- fe->up: show transaction page by pagination
- @enduml
|