文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
获取指定的账户流水明细信息
更新时间:2018-05-11 12:11:39   更新人员:叶洋   文档状态:完成 #263    测试接口
摘要
  1. 接口基本信息
    接口名称:获取指定的账户交易明细信息
    请求方法:GET
    接口地址:accountlog/:id
    登录验证:是
  2. 路由参数
    参数名 参数 数据类型 是否必须 示例值 说明
    id 流水id int
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    id 流水id int
    trade_no 交易编号 string
    trade_time 交易时间 int
    year int
    month int
    day int
    hour int
    minute int
    trade_by 交易操作用户 string
    account_id 账户id string
    category 类目 string
    subject 科目 int
    category_name 类目名 string
    subject_name 科目名 string
    expenses 支出 float
    income 收入 float
    surplus 当前结余 float
    flow_to 流入到 string
    flow_from 流出源 string
    description 描述 string
    content 内容 string
  4. 请求示例
    请求例子:
     
    apirq('accountlog/:id', {
        data: {
            "id": 9
        },
        urlparams: [
            "id"
        ]
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1526011814",
        "data": {
            "id": 9,
            "trade_no": "2018050851519948",
            "trade_time": 1525747299,
            "year": 2018,
            "month": 5,
            "day": 8,
            "hour": 10,
            "minute": 41,
            "trade_by": 100,
            "account_id": 1,
            "category": 24,
            "subject": 25,
            "expenses": "-3.0000",
            "income": "0.0000",
            "surplus": "988.0000",
            "flow_to": "\"0000000000000002\"",
            "flow_from": "\"0000000000000001\"",
            "description": "帐户系统转账到账户内建商户上,转出金额为3元",
            "content": "",
            "signature": "0000000000000100"
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员