文档首页> ISDP> API参考> API接口> 任务管理> 任务场景管理> 查询场景模板列表(API名称:querySceneList)
更新时间:2024-01-18 GMT+08:00
分享

查询场景模板列表(API名称:querySceneList)

功能介绍

查询场景模板列表。

相关API

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/openTaskScene/querySceneList

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

参数

类型

是否必填

描述

page

Object

分页参数

dataSource

String

数据来源 (只支持 appcube 入参)

sceneName

Long

一级工艺名称 右模糊

UDF1

String

(扩展属性1) 顺序

UDF2

String

(扩展属性2) 文档编号 右模糊

UDF3

String

(扩展属性3) 版本号

UDF4

String

(扩展属性4) 车型key

UDF5

String

(扩展属性5) 检修工艺模板key

UDF6

String

(扩展属性6) 部件key

UDF7

String

(扩展属性7) 型号key

UDF8

String

(扩展属性8) 加改

UDF9

String

(扩展属性9) 注意事项

UDF10

String

(扩展属性10) 作业条件

page入参

参数

类型

是否必填

描述

start

Integer

开始行 默认0

count

Integer

总行数 默认15

响应参数

参数

类型

描述

stateCode

String

响应状态码。

0:成功

其他:失败

errorMessage

String

响应描述。

result

Object

响应结果内容data、

result出参

参数

类型

描述

pos

Integer

当前页码,从0开始

total_count

Integer

查询结果总条数

data

List<Object>

场景列表

data出参

参数

类型

描述

sceneId

Long

任务场景管理主键

skill

String

要求技能

jobDuration

String

标准作业时长

jobDurationUnit

String

标准作业时长单位

projectDurationUnit

String

工期单位

reviewProcessId

Long

任务场景配置审批流主键ID

reviewProcessName

String

任务场景配置审批流名字

sceneName

String

任务场景名称

sceneCode

String

任务场景编码

sceneStatus

Integer

任务场景状态(0-草稿, 1-可用, 2-停用)

sourceSceneId

Long

任务场景源头SCENE_ID(同一个父SCENE_ID)

sceneRemark

String

任务场景描述

sceneMode

Integer

任务场景模式(1-简单任务,2-关联作业检查清单,3-任务启用工序,4-父子任务)

sceneType

Integer

场景创建类型(0-按场景创建 1-手动创建虚拟场景)

sceneLicense

Integer

配置许可(0-否,1-是)

version

String

版本号(默认1.0)

isNewVersion

Integer

是否是最新版本(0-最新版本;1-历史版本)

signInConfig

Integer

设置打卡配置

createdBy

Long

创建人ID

creationTimestamp

Long

创建时间戳

lastUpdatedBy

Long

最后修改人ID

lastUpdateTimestamp

Long

最后修改时间戳

adminOrganizationCode

String

行政组织

adminOrganizationName

String

行政组织名字

isApplyApprove

Integer

是否需要申请审批:否:0,是:1

parentCategory

String

任务类别 领域

category

String

任务类别

coverId

Long

设置场景封面图片ID

deleteFlag

Integer

是否删除 0未删除 1已删除

UDF1

String

扩展字段1的值 顺序

UDF2

String

扩展字段2的值 文档编号

UDF3

String

扩展字段3的值 版本号

UDF4

String

扩展字段4的值 车型key

UDF5

String

扩展字段5的值 检修工艺模板key

UDF6

String

扩展字段6的值 部件key

UDF7

String

扩展字段7的值 型号key

UDF8

String

扩展字段8的值 加改

UDF9

String

扩展字段9的值 注意事项

UDF10

String

扩展字段10的值 作业条件

UDF11

String

扩展字段11的值 作业位置key

UDF12

String

扩展字段12的值 作业环境要求

UDF13

String

扩展字段13的值 作业人数

UDF14

String

扩展字段14的值 工艺标识key

UDF15

String

扩展字段15的值 作业班组key

UDF16

String

扩展字段16的值 抽检比例

UDF17

String

扩展字段17的值 作业积分

UDF18

String

扩展字段18的值 参考资料key

UDF19

String

扩展字段19的值 参考资料

UDF20

String

扩展字段20的值 作业单元

UDF21

String

扩展字段21的值 周期

……..

……..

……..

UDF40

String

扩展字段40的值

请求示例

{
    " dataSource ": "appcube",
    " sceneName": "更换"
}

响应示例

{
    "stateCode": "0",
    "errorMessage": null,
    "result": {
        "data": [
            {
                "sceneId": -17046,
                "reviewProcessId": null,
                "reviewProcessName": "",
                "sceneName": "更换减速机检修作业-PDD-JX-001",
                "sceneCode": "TS20220901120117662",
                "sceneStatus": 1,
                "sourceSceneId": -17036,
                "sceneRemark": "更换减速机",
                "sceneMode": 2,
                "sceneType": 0,
                "sceneLicense": null,
                "version": "1.1",
                "isNewVersion": 0,
                "createdBy": -151168,
                "createName": "张三",
                "signInConfig": null,
                "creationDate": 1662014686000,
                "lastUpdatedBy": -151169,
                "lastUpdateName": "李四",
                "lastUpdateDate": 1664345792000,
                "creationTimestamp": 1662004877662,
                "lastUpdateTimestamp": 1664345792431,
                "adminOrganizationCode": "-977556",
                "adminOrganizationName": "皮带运输队",
                "isApplyApprove": null,
                "parentCategory": null,
                "category": null,
                "coverId": null,
                "deleteFlag": 0
            },
            {
                "sceneId": -17047,
                "reviewProcessId": null,
                "reviewProcessName": "",
                "sceneName": "更换电机检修作业-PDD-JX-002",
                "sceneCode": "TS20220901141801858",
                "sceneStatus": 1,
                "sourceSceneId": -17038,
                "sceneRemark": "更换电机",
                "sceneMode": 2,
                "sceneType": 0,
                "sceneLicense": null,
                "version": "1.1",
                "isNewVersion": 0,
                "createdBy": -151168,
                "createName": "张三",
                "signInConfig": null,
                "creationDate": 1662014746000,
                "lastUpdatedBy": -151169,
                "lastUpdateName": "李四",
                "lastUpdateDate": 1664345769000,
                "creationTimestamp": 1662013081858,
                "lastUpdateTimestamp": 1664345769506,
                "adminOrganizationCode": "-977556",
                "adminOrganizationName": "皮带运输队",
                "isApplyApprove": null,
                "parentCategory": null,
                "category": null,
                "coverId": null,
                "deleteFlag": 0,
                "UDF1": null,
                "UDF2": null,
                "UDF3": null,
                "UDF4": "车型型号A",
                "UDF5": null,
                "UDF6": null,
                "UDF7": null,
                "UDF8": null,
                "UDF9": null,
                "UDF10": null,
                "UDF11": null,
                "UDF12": null,
                "UDF13": null,
                "UDF14": null,
                "UDF15": null,
                "UDF16": null,
                "UDF17": null,
                "UDF18": null,
                "UDF19": null,
                "UDF20": null,
                "UDF21": null,
                "UDF22": null,
                "UDF23": null,
                "UDF24": null,
                "UDF25": null,
                "UDF26": null,
                "UDF27": null,
                "UDF28": null,
                "UDF29": null,
                "UDF31": null,
                "UDF32": null,
                "UDF33": null,
                "UDF34": null,
                "UDF35": null,
                "UDF36": null,
                "UDF37": null,
                "UDF38": null,
                "UDF39": null,
                "UDF40": null
            },
            {
                "sceneId": -17048,
                "reviewProcessId": null,
                "reviewProcessName": "",
                "sceneName": "更换滚筒检修作业-PDD-JX-003",
                "sceneCode": "TS20220901142416480",
                "sceneStatus": 1,
                "sourceSceneId": -17039,
                "sceneRemark": "更换滚筒",
                "sceneMode": 2,
                "sceneType": 0,
                "sceneLicense": null,
                "version": "1.1",
                "isNewVersion": 0,
                "createdBy": -151168,
                "createName": "张三",
                "signInConfig": null,
                "creationDate": 1662014760000,
                "lastUpdatedBy": -151169,
                "lastUpdateName": "李四",
                "lastUpdateDate": 1664345749000,
                "creationTimestamp": 1662013456480,
                "lastUpdateTimestamp": 1664345749300,
                "adminOrganizationCode": "-977556",
                "adminOrganizationName": "皮带运输队",
                "isApplyApprove": null,
                "parentCategory": null,
                "category": null,
                "coverId": null,
                "deleteFlag": 0,
                "UDF1": null,
                "UDF2": null,
                "UDF3": null,
                "UDF4": "车型型号A",
                "UDF5": null,
                "UDF6": null,
                "UDF7": null,
                "UDF8": null,
                "UDF9": null,
                "UDF10": null,
                "UDF11": null,
                "UDF12": null,
                "UDF13": null,
                "UDF14": null,
                "UDF15": null,
                "UDF16": null,
                "UDF17": null,
                "UDF18": null,
                "UDF19": null,
                "UDF20": null,
                "UDF21": null,
                "UDF22": null,
                "UDF23": null,
                "UDF24": null,
                "UDF25": null,
                "UDF26": null,
                "UDF27": null,
                "UDF28": null,
                "UDF29": null,
                "UDF31": null,
                "UDF32": null,
                "UDF33": null,
                "UDF34": null,
                "UDF35": null,
                "UDF36": null,
                "UDF37": null,
                "UDF38": null,
                "UDF39": null,
                "UDF40": null
            }
        ],
        "pos": 0,
        "total_count": 3,
        "entityName": null,
        "totalCount": 3
    }
}
分享:

    相关文档

    相关产品