Appearance
供应商列表
Request
Url
text
[POST] : https://eapi.paiago.com/ZKGJ/Intercourse/Supplier/?access_token={access_token}请求参数:
| 参数 | 类型 | 描述 | 示例 |
|---|---|---|---|
| Field | array | 请求字段 | [] |
| > id | string | 供应商id | |
| > supplier_definition | string | 供应商名称 | |
| > supplier_number | string | 供应商编码 | |
| > identification_code | string | 纳税人识别号 | |
| > telephone | string | 联系人电话 | |
| > contacts | string | 联系人 | |
| > remarks | string | 备注 | |
| > add_user | string | 创建人id | |
| > add_date | string | 创建时间 | |
| > supplier_type_id | string | 供应商类型id | |
| > supplier_type | string | 供应商类型名称 | |
| > leader | string | 负责人id | |
| > leader_name | string | 负责人姓名 | |
| > account | string | 收款账户id | |
| > account_mechanism | string | 开户机构 | |
| > account_definition | string | 账户名称 | |
| > account_code | string | 账户信息 | |
| Order | array | 排序规则 | |
| Where | array | 查询条件 | |
| Page | number | 页数 | 0 |
| ListRow | number | 条数 | 20 |
请求示例:
json
{
"Field":[
"id",
"supplier_definition",
"supplier_number",
"supplier_type",
"supplier_type_id",
"identification_code",
"telephone",
"contacts",
"add_user",
"add_date",
"remarks",
"leader",
"leader_name",
"account",
"account_mechanism",
"account_definition",
"account_code"
],
"Order":{
"telephone":"desc"
},
"Where":[
],
"Page":1,
"ListRow":3
}Response
响应参数
| 参数 | 描述 | 类型 | 示例 |
|---|---|---|---|
| count | 总数 | int | |
| data | 列表(详见请求Field释义) | array(object) |
响应示例:
json
{
"data":[
{
"id":"XixSJk0jV",
"supplier_definition":"wwj应付供应商",
"supplier_number":"GYS2021072900001",
"supplier_type":"23412",
"supplier_type_id":"PSxeNx0ag",
"identification_code":"78657566545",
"telephone":"18392390727",
"contacts":"王静",
"add_user":"liyq7skqk",
"add_date":1627529952,
"remarks":"但是",
"leader":"liyq7skqk",
"leader_name":"王*静",
"account":"Xxxyz0s7a",
"account_mechanism":"中国银行",
"account_definition":"张三",
"account_code":"4545645546"
}
],
"count":206,
"errcode":0,
"errmsg":"请求成功",
"request_id":null,
"env":"zkgj-cs"
}