根据条件查询所有场景ID(API名称:queryTaskPictureByCondition)
功能介绍
按照作业对象ID、作业对象名称、作业对象编码、作业类型名称、采集开始时间、采集结束时间筛选获取场景ID。
相关API
接口名称 |
调用说明 |
---|---|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
调用流程
URL
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
---|---|---|---|
POST |
https://isdp+域名/openapi/v1/pictureAndLike/queryTaskPictureByCondition |
OpenAPI |
application/json |
请求头
KEY |
VALUE |
是否必填 |
描述 |
---|---|---|---|
Content-Type |
application/json |
是 |
无 |
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
参数 |
类型 |
是否必填 |
描述 |
---|---|---|---|
signSiteId |
Int |
否 |
作业对象ID |
signSiteName |
String |
否 |
作业对象名称 |
signSiteCode |
String |
否 |
作业对象编码 |
signSiteType |
String |
否 |
作业类型 |
startDate |
String |
否 |
采集开始时间,格式yyyy-MM-dd |
endDate |
String |
否 |
采集结束时间,格式yyyy-MM-dd |
pageStart |
Int |
否 |
当前页码,从0开始 |
pageSize |
Int |
否 |
每页数量,默认15条,最多100条 |
响应参数
参数 |
类型 |
描述 |
---|---|---|
stateCode |
String |
响应状态码:
|
errorMessage |
String |
响应描述 |
result |
Object |
响应结果内容data、分页数据 |
result出参:
参数 |
类型 |
描述 |
---|---|---|
pos |
int |
当前页,从0开始 |
total_count |
int |
总数量 |
data |
List<Object> |
响应结果内容data |
data出参:
参数 |
类型 |
描述 |
---|---|---|
sceneId |
Long |
场景id |
sceneName |
String |
场景名称 |
mediaCollectionSum |
Long |
采集的图片和视频总数 |
likesCollectionSum |
Long |
点赞的图片和视频总数 |
taskCollections |
List<Object> |
List |
TaskCollections出参:
参数 |
类型 |
描述 |
---|---|---|
sceneTaskId |
Long |
任务id |
taskName |
String |
任务名称 |
mediaCollectionSum |
Long |
采集的图片和视频总数 |
likesCollectionSum |
Long |
点赞的图片和视频总数 |
procedureCollections |
List<Object> |
List |
subTaskCollections |
List<Object> |
List |
subTaskCollections出参:
参数 |
类型 |
描述 |
---|---|---|
subTaskId |
Long |
子任务ID |
subTaskName |
String |
子任务名称 |
mediaCollectionSum |
Long |
采集的图片和视频总数 |
likesCollectionSum |
Long |
点赞的图片和视频总数 |
procedureCollections |
List<Object> |
List |
procedureCollections出参:
参数 |
类型 |
描述 |
---|---|---|
procedureId |
Long |
工序ID |
procedureName |
String |
工序名称 |
mediaCollectionSum |
Long |
采集的图片和视频总数 |
likesCollectionSum |
Long |
点赞的图片和视频总数 |
subTaskCollections |
List<Object> |
List |
请求示例
{ "startDate":"2020-01-01", "endDate":"2022-10-13" }
响应示例
{ "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 2, "data": [ { "sceneName": "维护作业test", "sceneId": 22191, "mediaCollectionSum": 1, "taskCollections": [ { "subTaskCollections": [ { "subTaskName": "", "procedureCollections": [ { "procedureName": "", "mediaCollectionSum": 1, "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0, "procedureId": "" } ], "mediaCollectionSum": 1, "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0, "subTaskId": "" } ], "sceneTaskId": 186025, "procedureCollections": [ { "procedureName": "", "mediaCollectionSum": 1, "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0, "procedureId": "" } ], "mediaCollectionSum": 1, "taskName": "维护作业test", "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0 } ], "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0 }, { "sceneName": "一般抢修", "sceneId": 22196, "mediaCollectionSum": 1, "taskCollections": [ { "subTaskCollections": [ { "subTaskName": "", "procedureCollections": [ { "procedureName": "", "mediaCollectionSum": 1, "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0, "procedureId": "" } ], "mediaCollectionSum": 1, "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0, "subTaskId": "" } ], "sceneTaskId": 185986, "procedureCollections": [ { "procedureName": "", "mediaCollectionSum": 1, "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0, "procedureId": "" } ], "mediaCollectionSum": 1, "taskName": "抢修任务20221012", "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0 } ], "LabelCountsList": [ { "labelCollectionSum": 0, "labelName": "AI训练" }, { "labelCollectionSum": 0, "labelName": "学习案例" } ], "likesCollectionSum": 0 } ], "header": null } }
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。