付款项目列表
更新时间:2022-03-21 11:31
描述

URL

{你的ERP域名}/finance_v2/aapi_payment_item/xlist

HTTP请求方式

post

是否需要登录

true

请求参数
字段 必选 类型及范围 说明
appid true string 应用id
sign true string 应用签名[参见签名规则]
token true string 用户登录接口获取的token
nonce_str true string 随机字符串
lang true string 语言[zh_cn/english]
limit false int 返回记录条数1-500,默认返回200条
page false int 默认1,第2页为2
order_by false string 需要排序的字段名,如:sort
order_type false enum 排序的方式,[desc,asc]
search false string 搜索条件的json字符串,如:[{’field':'order_code','xtype':'=','val':'N0200-3030-001'},{'field':'order_code','xtype':'=','val':'N0200-3030-001'}]
search[0][field] false string 搜索条件数组,支持的字段,item_id,unit_name,status,sort
search[0][xtype] false string 搜索的方法,=,>=,<=,!=,like,like%,%like
search[0][val] false string 搜索条件的搜索关键词
返回字段说明
字段 类型及范围 说明
status string 状态 y=成功 n=失败
info html 提示信息
data array 返回的数据
item_id int 付款项目唯一id
item_code string 付款项目编码
item_name string 付款项目名称
status string 状态1正常,9已删除
sort int 排序值
status_name string 状态表述文字,不能用于判断,判断请使用 status
TIPS