Result1.md 2.1 KB

Get Balance Operation Log

Description

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

Method URL

{besoftapi}/api/game/getbalanceoperationLog

Request Parameters

Name Type Required Description
cert String Y security code
user String Y Agent ID
extension1 String Y User ID

Example

Return Result

| 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
}