文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
通过别名获取科目信息
更新时间:2018-04-25 18:42:10   更新人员:叶洋   文档状态:完成 #250    测试接口
摘要
通过别名获取科目信息
  1. 接口基本信息
    接口名称:通过别名获取科目信息
    请求方法:GET
    接口地址:accountsubject/:alias
    登录验证:是
  2. 路由参数
    参数名 参数 数据类型 是否必须 示例值 说明
    alias 科目别名 string 是
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    id 科目id int
    pid 上级科目ID int
    sort 排序 int
    title 科目名称 string
    alias 科目别名 string 科目别名重要,在业务实现时代指科目用
    description 科目描述 string
    aliaskey 别名key值 int 0
    desctpl_inflow 流入描述模板 string 用户[{uname}]通过{pay_type}给{atype_name}帐户[{accou
    desctpl_outflow 流出描述模板 string
    desctpl_advection 内流描述模板 string
  4. 请求示例
    请求例子:
     
    apirq('accountsubject/:alias', {
        data: {
            "alias": "cskmts"
        },
        urlparams: [
            "alias"
        ]
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1524652487",
        "data": {
            "id": 34,
            "pid": 3,
            "sort": 10,
            "title": "测试修改账户科目",
            "alias": "cskmts",
            "description": "添加修改了描述"
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员