获取订单列表
接口说明: 获取业绩中的订单列表
请求方式: POST(HTTPS)
请求地址: https://api.xinrenxinshi.com/v5/statistic/performance/order/list
请求Header:
key | value |
---|---|
access_token | 获取的access_token的实际值 |
Query参数:
key | value |
---|---|
sign | 签名值 |
Body参数:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
pageNo | Integer | N | 查询页码,最小值为0,翻页+1,未传时默认为0 |
pageSize | Integer | N | 每页条目数,每页条目数不超过1000条,不小于1条,未传时默认100条 |
timestamp | Integer | Y | 请求时间戳(精确到毫秒) |
返回结果:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
errcode | Integer | Y | 错误码枚举值,0:成功,其他值为失败 |
errmsg | String | Y | 结果描述 |
data | PageResult |
Y | 查询成功时返回分页订单数据 |
PageResult:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
totalPageSize | Long | Y | 总页数 |
hasMore | Boolean | Y | 是否有下一页 true-有,false-没有 |
pageNo | Integer | Y | 当前页 |
pageSize | Integer | Y | 每页显示条数 |
result | List<SaleOrderDO> | Y | 订单列表 |
SaleOrderDO:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
saleOrderId | Long | Y | 销售订单Id |
orderId | String | Y | 客户订单id |
customerName | String | Y | 客户名称 |
customerIndustry | String | N | 所属行业 |
clueTime | String | N | 首次接触线索日期 日期格式: yyyy-MM-dd |
orderTime | String | Y | 订单日期 日期格式: yyyy-MM-dd |
orderAmount | Double | Y | 订单金额 |
saleEmployeeName | String | Y | 负责销售姓名 |
saleEmployeeMobile | String | Y | 负责销售手机号,必须为系统存在的员工手机号 |
saleOrderPaymentList | List<SaleOrderPaymentDO> | Y | 回款明细 |
SaleOrderPaymentDO:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
saleOrderPaymentId | Long | Y | 销售订单回款id |
paymentTime | String | Y | 回款时间 日期格式: yyyy-MM-dd |
paymentAmount | Double | Y | 回款金额 |
arrAmountPerson | Double | Y | arr个人部分 |
arrAmountDep | Double | Y | arr部门部分 |
请求示例(HTTPS):
https://api.xinrenxinshi.com/v5/statistic/performance/order/list?sign=tAMMvw%2FiNEMLd3jf4i6U510aZ1c%3D
请求Body示例:
{
"pageSize": 1000,
"pageNo": 0,
"timestamp": 1721895946221
}
SDK请求示例(java):
StatisticsSaleOrderQueryRequest request = new StatisticsSaleOrderQueryRequest(access_token());
request.setPageSize(1000);
request.setPageNo(0);
OpenapiResponse<PageResult<SaleOrderDO>> saleOrderList = XrxsStatisticService.getSaleOrderList(request);
响应示例
{
"errcode": 0,
"errmsg": "成功",
"data": {
"totalPageSize": 1,
"pageNo": 0,
"pageSize": 1000,
"result": [
{
"saleOrderId": 406,
"orderId": "123452",
"customerName": "李四2",
"customerIndustry": "测试2",
"clueTime": "2024-01-01",
"orderTime": "2024-01-02",
"orderAmount": 12315.0,
"saleEmployeeName": "张三2",
"saleEmployeeMobile": "18810055225",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 386,
"paymentTime": "2024-01-03",
"paymentAmount": 12313.0,
"arrAmountPerson": 12330.0,
"arrAmountDep": 123132.0
},
{
"saleOrderPaymentId": 387,
"paymentTime": "2024-01-03",
"paymentAmount": 12314.0,
"arrAmountPerson": 12331.0,
"arrAmountDep": 123133.0
}
]
},
{
"saleOrderId": 405,
"orderId": "123451",
"customerName": "李四1",
"customerIndustry": "测试1",
"clueTime": "2024-01-01",
"orderTime": "2024-01-02",
"orderAmount": 12314.0,
"saleEmployeeName": "张三1",
"saleEmployeeMobile": "18810055225",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 384,
"paymentTime": "2024-01-03",
"paymentAmount": 12313.0,
"arrAmountPerson": 12330.0,
"arrAmountDep": 123132.0
},
{
"saleOrderPaymentId": 385,
"paymentTime": "2024-01-03",
"paymentAmount": 12314.0,
"arrAmountPerson": 12331.0,
"arrAmountDep": 123133.0
}
]
},
{
"saleOrderId": 404,
"orderId": "123450",
"customerName": "李四0",
"customerIndustry": "测试0",
"clueTime": "2024-01-01",
"orderTime": "2024-01-02",
"orderAmount": 12313.0,
"saleEmployeeName": "张三0",
"saleEmployeeMobile": "18810055225",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 382,
"paymentTime": "2024-01-03",
"paymentAmount": 12313.0,
"arrAmountPerson": 12330.0,
"arrAmountDep": 123132.0
},
{
"saleOrderPaymentId": 383,
"paymentTime": "2024-01-03",
"paymentAmount": 12314.0,
"arrAmountPerson": 12331.0,
"arrAmountDep": 123133.0
}
]
},
{
"saleOrderId": 403,
"orderId": "o00111",
"customerName": "抖音转换下所名称",
"customerIndustry": "o00111",
"clueTime": "2024-06-09",
"orderTime": "2024-06-09",
"orderAmount": 30.22,
"saleEmployeeName": "测试员工522",
"saleEmployeeMobile": "18810055225",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 380,
"paymentTime": "2024-06-09",
"paymentAmount": 30.22,
"arrAmountPerson": 10.22,
"arrAmountDep": 23.22
},
{
"saleOrderPaymentId": 381,
"paymentTime": "2024-06-09",
"paymentAmount": 30.22,
"arrAmountPerson": 10.22,
"arrAmountDep": 23.22
}
]
},
{
"saleOrderId": 399,
"orderId": "w20015",
"customerName": "韩亚0015",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-15",
"orderTime": "2024-07-15",
"orderAmount": 10015.0,
"saleEmployeeName": "19400004515",
"saleEmployeeMobile": "19400004515",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 376,
"paymentTime": "2024-07-15",
"paymentAmount": 5015.0,
"arrAmountPerson": 5015.0,
"arrAmountDep": 5015.0
}
]
},
{
"saleOrderId": 398,
"orderId": "w20014",
"customerName": "韩亚0014",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-14",
"orderTime": "2024-07-14",
"orderAmount": 10014.0,
"saleEmployeeName": "张虎120",
"saleEmployeeMobile": "18903812039",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 375,
"paymentTime": "2024-07-14",
"paymentAmount": 5014.0,
"arrAmountPerson": 5014.0,
"arrAmountDep": 5014.0
}
]
},
{
"saleOrderId": 397,
"orderId": "w20013",
"customerName": "亚0013",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-13",
"orderTime": "2024-07-13",
"orderAmount": 10013.0,
"saleEmployeeName": "工号0001",
"saleEmployeeMobile": "13636336363",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 374,
"paymentTime": "2024-07-13",
"paymentAmount": 5013.0,
"arrAmountPerson": 5013.0,
"arrAmountDep": 5013.0
}
]
},
{
"saleOrderId": 396,
"orderId": "w20012",
"customerName": "亚0012",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-12",
"orderTime": "2024-07-12",
"orderAmount": 10012.0,
"saleEmployeeName": "郭宏伟",
"saleEmployeeMobile": "18810055220",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 373,
"paymentTime": "2024-07-12",
"paymentAmount": 5012.0,
"arrAmountPerson": 5012.0,
"arrAmountDep": 5012.0
}
]
},
{
"saleOrderId": 395,
"orderId": "w20011",
"customerName": "亚0011",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-11",
"orderTime": "2024-07-11",
"orderAmount": 10011.0,
"saleEmployeeName": "慧文1",
"saleEmployeeMobile": "18333158595",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 372,
"paymentTime": "2024-07-11",
"paymentAmount": 5011.0,
"arrAmountPerson": 5011.0,
"arrAmountDep": 5011.0
}
]
},
{
"saleOrderId": 384,
"orderId": "10001",
"customerName": "演示数据,此条不会导入",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-01-01",
"orderTime": "2024-01-04",
"orderAmount": 1000.0,
"saleEmployeeName": "20231213001",
"saleEmployeeMobile": "18810055001",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 361,
"paymentTime": "2024-01-04",
"paymentAmount": 1000.0,
"arrAmountPerson": 1000.0,
"arrAmountDep": 1000.0
}
]
},
{
"saleOrderId": 390,
"orderId": "w20006",
"customerName": "韩亚0006",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-06",
"orderTime": "2024-07-06",
"orderAmount": 10006.0,
"saleEmployeeName": "致远测试-0021",
"saleEmployeeMobile": "19400000021",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 367,
"paymentTime": "2024-07-06",
"paymentAmount": 5006.0,
"arrAmountPerson": 5006.0,
"arrAmountDep": 5006.0
}
]
},
{
"saleOrderId": 389,
"orderId": "w20005",
"customerName": "亚0005",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-05",
"orderTime": "2024-07-05",
"orderAmount": 10005.0,
"saleEmployeeName": "测试离职交接待办",
"saleEmployeeMobile": "19400003343",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 366,
"paymentTime": "2024-07-05",
"paymentAmount": 5005.0,
"arrAmountPerson": 5005.0,
"arrAmountDep": 5005.0
}
]
},
{
"saleOrderId": 388,
"orderId": "w20004",
"customerName": "0004",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-04",
"orderTime": "2024-07-04",
"orderAmount": 10004.0,
"saleEmployeeName": "员工103",
"saleEmployeeMobile": "18810055223",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 365,
"paymentTime": "2024-07-04",
"paymentAmount": 5004.0,
"arrAmountPerson": 5004.0,
"arrAmountDep": 5004.0
}
]
},
{
"saleOrderId": 387,
"orderId": "w20003",
"customerName": "亚0003",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-03",
"orderTime": "2024-07-03",
"orderAmount": 10003.0,
"saleEmployeeName": "测试员工5",
"saleEmployeeMobile": "18810055225",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 364,
"paymentTime": "2024-07-03",
"paymentAmount": 5003.0,
"arrAmountPerson": 5003.0,
"arrAmountDep": 5003.0
}
]
},
{
"saleOrderId": 386,
"orderId": "w20002",
"customerName": "亚0002",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-02",
"orderTime": "2024-07-02",
"orderAmount": 10002.0,
"saleEmployeeName": "同步员工006",
"saleEmployeeMobile": "18810055226",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 363,
"paymentTime": "2024-07-02",
"paymentAmount": 5002.0,
"arrAmountPerson": 5002.0,
"arrAmountDep": 5002.0
}
]
},
{
"saleOrderId": 385,
"orderId": "w20001",
"customerName": "亚0001",
"customerIndustry": "互联网/信息技术",
"clueTime": "2024-06-01",
"orderTime": "2024-07-01",
"orderAmount": 10001.0,
"saleEmployeeName": "测试员工008",
"saleEmployeeMobile": "18810055228",
"saleOrderPaymentList": [
{
"saleOrderPaymentId": 362,
"paymentTime": "2024-07-01",
"paymentAmount": 5001.0,
"arrAmountPerson": 5001.0,
"arrAmountDep": 5001.0
}
]
}
],
"hasMore": false
}
}