Appearance
供应商收款账户
Request
Url
text
[POST] : https://eapi.paiago.com/ZKGJ/Intercourse/SupplierAccount/?access_token={access_token}请求参数:
| 参数 | 类型 | 描述 | 示例 |
|---|---|---|---|
| Field | array | 请求字段 | [] |
| > id | string | 供应商id | |
| > supplier_definition | string | 供应商名称 | |
| > supplier_number | string | 供应商编码 | |
| > account_list | string | 收款账户id | |
| > id | string | 账户ID | |
| > account_name | string | 账户名称 | |
| > account_number | string | 账号 | |
| > account_mechanism | string | 开户机构 | |
| > account_land | string | 开户地 | |
| > supplier_id | string | 供应商ID | |
| > bank_branch_id | string | 联行号 | |
| > leb | string | 1银行账户; 现金账户: 3支付宝 4微信 5其他 | |
| Order | array | 排序规则 | |
| Where | array | 查询条件 | |
| Page | number | 页数 | 0 |
| ListRow | number | 条数 | 20 |
请求示例:
json
{
"Field":[
"id",
"supplier_number",
"supplier_definition",
"account_list"
],
"Order":{
"id":"asc"
},
"Where":[
],
"Page":1,
"ListRow":20
}Response
响应参数
| 参数 | 描述 | 类型 | 示例 |
|---|---|---|---|
| count | 总数 | int | |
| data | 列表(详见请求Field释义) | array(object) |
响应示例:
json
{
"data": [
{
"id": "Xixxxkssq",
"supplier_number": "GYS2021082500001",
"supplier_definition": "H供应商",
"account_list": [
{
"id": "XJSiQ0kVj",
"account_name": "星辰",
"account_number": "62170028****622",
"account_mechanism": "中国建设银行",
"account_land": "中国建设银行北京新华支行",
"supplier_id": "Xixxxkssq",
"bank_branch_id": "308584001475",
"leb": 1
},
{
"id": "Xxexz0kVq",
"account_name": "搜账户",
"account_number": "62170028****622",
"account_mechanism": "中国建设银行",
"account_land": "中国建设银行北京市分行东四支行营业部",
"supplier_id": "Xixxxkssq",
"bank_branch_id": "",
"leb": 1
}
]
},
{
"id": "XJNyzqVaa",
"supplier_number": "VEN00003",
"supplier_definition": "supplier03",
"account_list": []
}
],
"errcode": 0,
"errmsg": "请求成功",
"request_id": null,
"env": "zkgj-cs",
"count": 34
}