Loads all transactions.
Syntax: GET /api/Transaction/LoadAll
PowerScript code example:
Integer li_rc String ls_body httpclient lhc_client lhc_client = create httpclient lhc_client.setrequestheader("Content-Type", "application/json;charset=UTF-8",true) li_rc = lhc_client.sendrequest( "Get", "http://172.25.100.32:5000/api/Transaction/LoadAll") if li_rc = 1 and lhc_client.getresponsestatuscode( ) = 200 then lhc_client.getrequestbody(ls_body) end if
When successful, it returns the response status code 200 and the following response body:
[ { "duration": 0, "status": "string", "cacheName": "string", "sessionId": "string", "application": "string", "transactionId": "string", "beginTime": "2022-02-21T02:53:31.576Z", "lastVisitTime": "2022-02-21T02:53:31.576Z" } ]