|
@@ -0,0 +1,96 @@
|
|
|
|
+# <font >Get User Balance Transaction Records</font>
|
|
|
|
+## Description
|
|
|
|
+> This function allows Operator to query previous balance operation for target player via transaction code. This is to query and understand if previous transaction is successfully updated.
|
|
|
|
+
|
|
|
|
+> Request method:( Host-> BeSoft):post
|
|
|
|
+
|
|
|
|
+> Encoding method:application/x-www-form-urlencoded
|
|
|
|
+
|
|
|
|
+> Besoft The response data format is: application/json
|
|
|
|
+
|
|
|
|
+## Method URL
|
|
|
|
+> {besoftapi}/api/game/usertradeinfo
|
|
|
|
+
|
|
|
|
+## Request Parameters
|
|
|
|
+
|
|
|
|
+|Name | Type | Required | Description |
|
|
|
|
+|--------|-----|--------|--------|
|
|
|
|
+|cert| String |Y| security code|
|
|
|
|
+|extension1| String |Y| agent Id|
|
|
|
|
+| user | String | Y | player account queried |
|
|
|
|
+|startdate| String |Y| Need to convert datetime to long format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)Start date and time|
|
|
|
|
+|enddate| String |Y| Need to convert datetime to long format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)End date and time|
|
|
|
|
+|page| Int32 |N| start from 0 |
|
|
|
|
+|pagesize| Int32 |N| maximum 2000
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+## Example
|
|
|
|
+- URL:
|
|
|
|
+ - http://127.0.0.1:8000/api/game/usertradeinfo
|
|
|
|
+- HTTP Method
|
|
|
|
+ - POST
|
|
|
|
+- Form Data
|
|
|
|
+ > Content-Type: application/x-www-form-urlencoded
|
|
|
|
+ ```
|
|
|
|
+ cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
|
|
|
|
+ extension1:adminweb
|
|
|
|
+ user:Guest492
|
|
|
|
+ startdate:1700122818110
|
|
|
|
+ enddate:1700123037718
|
|
|
|
+ page:0
|
|
|
|
+ pagesize:20
|
|
|
|
+ ```
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+## Return Result
|
|
|
|
+
|
|
|
|
+|Nmae| Type | Description |
|
|
|
|
+|--------|----------|--------|
|
|
|
|
+|status| Int32 |status code|
|
|
|
|
+|totalsize| Int32 |total transactions in query result|
|
|
|
|
+|result| array |Result data array|
|
|
|
|
+|result.user| string |Player account|
|
|
|
|
+|result.sellbuy| double |1. Transfer score to player , 2. Transfer score from player|
|
|
|
|
+|result.createdate| Int64 |TimeStamp of data addition (MS)|
|
|
|
|
+|result.extension1| string |Agent account|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+## Successful Result
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ "status": 1,
|
|
|
|
+ "totalsize": 2,
|
|
|
|
+ "result": [
|
|
|
|
+ {
|
|
|
|
+ "user": "test1",
|
|
|
|
+ "extension1": "admin",
|
|
|
|
+ "sellbuy": "2",
|
|
|
|
+ "tradescore": "10.00",
|
|
|
|
+ "createdate": 1732500566495
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "user": "test1",
|
|
|
|
+ "extension1": "admin",
|
|
|
|
+ "sellbuy": "1",
|
|
|
|
+ "tradescore": "10.00",
|
|
|
|
+ "createdate": 1732500566495
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+## Failed Result
|
|
|
|
+```
|
|
|
|
+{"status":1, "totalsize": 0,"result":[]}
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+## Failed Result
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+{
|
|
|
|
+"status": 0
|
|
|
|
+}
|
|
|
|
+```
|