主题
接口描述
查询业务接口
请求路径
GET/v1/nodes/<nodeID>/customer
请求参数
| 名称 | 类型 | 位置 | 必须 | 描述 |
|---|---|---|---|---|
| Authorization | string | header | 是 | 鉴权 token |
| nodeID | string | path | 是 | 节点 ID |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| customers | []Customer | 业务方信息 |
Customer
| 名称 | 类型 | 描述 |
|---|---|---|
| customerID | int | 业务方编码 |
| name | string | 业务方 |
请求示例
json
返回值示例
json
正常请求:
http code 200
{
"customers": [
{
"customerID": 16504,
"name": "业务T"
}
]
}
异常请求:
http code 4xx/5xx
{
"code": 4000001,
"desc": ""
}错误码列表
| 错误码 | 描述 |
|---|---|
| 401 | 鉴权失败 |
如接口返回错误码未列举,可在错误码总览中查找