接口名称:
获取打印任务
接口描述:
获取打印任务
请求路径:
/query/print/detail
请求方式:
GET
请求参数:
- Header
参数名 | 参数值 | 必填 | 描述 |
---|---|---|---|
Content-Type | application/x-www-form-urlencoded | Y |
- Param
参数名 | 类型 | 必选 | 描述 |
---|---|---|---|
pageNo | Integer | Y | 页数 |
rowCount | Integer | Y | 每页数量 |
beginDate | Integer | Y | 开始时间 |
endDate | Integer | Y | 结束时间 |
type | Integer | N | 任务类型 |
sn | Integer | N | 打印点编号 |
- Body
请求示例:
pageNo=null&rowCount=null&beginDate=null&endDate=null&type=null&sn=null
返回参数:
参数名 | 类型 | 必选 | 描述 |
---|---|---|---|
data | List |
N | 响应内容 |
└─element | PrintJobDetailVo | Y | |
└─└─jobId | Integer | N | |
└─└─printerSn | Integer | N | |
└─└─name | String | N | 打印点名称 |
└─└─trueName | String | N | 用户昵称 |
└─└─printTime | Date | N | |
└─└─printCopies | Integer | N | |
└─└─paperId | Integer | N | |
└─└─printType | Integer | N | |
└─└─usedMoney | Integer | N | |
└─└─printPages | Integer | N | |
└─└─status | String | N | 打印任务状态 |
└─└─color | String | N | 彩色/黑白 |
└─└─doubleProp | String | N | 单面/双面 |
count | long | N | 总数 |
code | int | N | 响应码 |
message | String | N | 响应信息 |
返回示例:
{
"code": 0,
"message": "请求成功",
"data": {
"records": [
{
"jobId": 4812,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T03:01:37.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 2,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 4811,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T02:55:26.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 2,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 4810,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T02:49:36.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 2,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 4809,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T01:50:24.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 2,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 4808,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T01:49:32.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 2,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 0,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "吴",
"printTime": "2023-06-27T01:42:45.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 2,
"usedMoney": 0,
"printPages": 2,
"status": null,
"color": null,
"doubleProp": null
},
{
"jobId": 4805,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T01:39:06.000+00:00",
"printCopies": 2,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 2,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 4803,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T01:37:33.000+00:00",
"printCopies": 11,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 6,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "双面"
},
{
"jobId": 4802,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T01:31:07.000+00:00",
"printCopies": 11,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 11,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
},
{
"jobId": 4801,
"printerSn": 2005,
"name": "创友测试2",
"trueName": "",
"printTime": "2023-06-27T01:29:43.000+00:00",
"printCopies": 3,
"paperId": 9,
"printType": 1,
"usedMoney": 0,
"printPages": 3,
"status": "[已打印,文件已删除,打印文件已缴费]",
"color": "黑白",
"doubleProp": "单面"
}
],
"total": 147,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 15
}
}
文档更新时间: 2023-10-11 14:39 作者:吴温立