This function allows Operator to query previous balance operation for players by ts_code.
Request method:( Host-> BeSoft):post
Encoding method:application/x-www-form-urlencoded
Besoft The response data format is: application/json
{besoftapi}/api/game/getbalanceoperationLog
Name | Type | Required | Description |
---|---|---|---|
cert | String | Y | security code |
user | String | Y | Agent ID |
extension1 | String | Y | User ID |
Form Data
Content-Type: application/x-www-form-urlencoded
cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y user:test1 extension1:adminweb
| Name | Type| Description |
| -------- | -------- | -------- |
| status | Int32| status code|
| totalsize| Int32| total transactions in query result|
| result | Int32| Result data array|
| result.user| string | Player account|
| result.sellbuy | double| 1. Transfer score to player 2 .Player transfers out score|
| result.createdate | Int64| TimeStamp of data addition (MS)|
| result.extension1| string| Agent account|
ts_code not found Result
{
"status":1, "totalsize": 0,"result":[]
}
## Success Result
{
"status": 1,
"totalsize": 2,
"result": [
{
"user": "test1",
"extension1": "admin",
"sellbuy": "2",
"tradescore": "10.00",
"createdate": 1558980270793
},
{
"user": "test1",
"extension1": "admin",
"sellbuy": "1",
"tradescore": "10.00",
"createdate": 1558980270793
}
]
}
Annotation: Data indicates success when status=1, otherwise it indicates failure.
## Failed Result
{
"status": 0
}