/basicOpen/product/getPagingLogLists{
"operation": {
"method": "POST",
"path": "/basicOpen/product/getPagingLogLists"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/product/getPagingLogLists?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"businessId\": 1234567890,\n \"endTime\": \"示例值\",\n \"startTime\": \"示例值\",\n \"page\": 1,\n \"size\": 20\n}'",
"responseExample": {
"code": 0,
"data": [
{
"action": "创建商品",
"datetime": "2024-01-01 16:35:53",
"detail": "SKU: P-001 被用户A创建",
"userId": 1234567890,
"userName": "示例用户A"
},
{
"action": "修改库存",
"datetime": "2024-01-02 10:20:15",
"detail": "SKU: P-001 库存由100修改为90",
"userId": 1234567891,
"userName": "示例用户B"
}
],
"error_details": [],
"message": "请求成功",
"request_id": "req_1234567890abcdef",
"response_time": "2024-05-18 14:30:00",
"total": 2
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | businessId | businessId | integer | — | 可选 | businessId,对应查询本地产品列表data>>id字段 |
| 2 | endTime | 结束时间 | string | — | 可选 | 结束时间 |
| 3 | startTime | 开始时间 | string | — | 可选 | 开始时间 |
| 4 | page | 页码 | integer | — | 可选 | 页码 |
| 5 | size | 每页大小 | integer | — | 可选 | 每页大小 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | 必填 | 响应码 |
| 2 | data | 返回数据 | array<object> | — | 必填 | 返回数据 |
| 2.1 | action | 操作类型 | string | 示例值 | 必填 | 操作类型 |
| 2.2 | datetime | datetime(日期格式 | string | 2024-01-01 16:35:53 | 必填 | datetime(日期格式:yyyy-MM-dd hh:mm:ss) |
| 2.3 | detail | 操作详情 | string | 示例值 | 必填 | 操作详情 |
| 2.4 | userId | 操作人ID | integer | 1234567890 | 必填 | 操作人ID |
| 2.5 | userName | 操作人 | string | 示例名称 | 必填 | 操作人 |
| 3 | error_details | 错误详情 | array<any> | — | 必填 | 错误详情 |
| 4 | message | 提示信息 | string | — | 必填 | 提示信息 |
| 5 | request_id | 请求id | string | — | 必填 | 请求id |
| 6 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 7 | total | 总记录数 | integer | — | 必填 | 总记录数 |
领星ERP的接口:查询操作日志(/basicOpen/product/getPagingLogLists),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。