云服务器内容精选

  • 响应示例 { "stateCode": "0", "errorMessage": "成功", "result": { "pos": 0, "totalCount": 1, "data": [ { "releaseTime": "2022/05/10", "sceneName": "【现场巡检2.0】-智能生活馆", "status": "有效", "sceneVersion": "1.0", "createTime": "2022-05-10T08:02:50.000+00:00", "creator": "李四 138140xxxxx" } ] } }
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": [ { "lastUpdatedBy": 153169, "appName": "isdp-task-server", "lastUpdateDate": "2022-05-13T08:07:16.000+00:00", "orderNum": "11", "industry": "", "creationDate": "2022-05-13T08:07:16.000+00:00", "parentId": 0, "isEnable": 1, "deleteFlag": 0, "lastUpdateTimestamp": 1652429236616, "createdBy": 153169, "entityName": "taskCategory", "creationTimestamp": 1652429236616, "tenantId": 886, "subCategoryList": [ { "appName": "isdp-task-server", "category": "a2", "createdBy": 391001, "createName": "杨xx改名2", "creationDate": "2023-10-26T12:43:12.000+00:00", "creationTimestamp": 1698324192363, "deleteFlag": 0, "entityName": "TaskCategory", "id": 586248, "industry": "", "isEnable": 1, "lastUpdateDate": "2023-10-26T12:43:12.000+00:00", "lastUpdatedBy": 391001, "lastUpdateName": "杨xx改名2", "lastUpdateTimestamp": 1698324192363, "orderNum": "5", "parentId": 3548, "tenantId": 886 } ], "lastUpdateName": "lyl09", "id": 3548, "category": "学科", "createName": "lyl09" } ] }
  • 响应参数 参数 类型 描述 stateCode String 响应状态码: 0-成功 其他-失败 errorMessage String 响应描述 result Object 响应结果内容data、分页数据 result出参: 参数 类型 描述 category String 类别 subCategoryList List 子类别 industry Long 行业 isEnable Integer 是否启用(0-不启用;1-启用)
  • 响应示例 { "stateCode": "0", "errorMessage": null, "result": { "data": [ { "adminOrganizationCode": "830;21494", "adminOrganizationName": "XXXX总公司;XX111", "createdBy": 153169, "createName": "lyl", "creationTimestamp": 1615432302612, "fromSceneId": 4059, "isApplyApprove": 0, "isNewVersion": 0, "lastUpdatedBy": 153169, "lastUpdateName": "lyl", "lastUpdateTimestamp": 1615448819406, "reviewProcessId": null, "reviewProcessName": null, "sceneCode": "PS20210311111142612", "sceneId": 4073, "sceneLicense": null, "sceneMode": null, "sceneName": "0311测试-003", "sceneRemark": "", "sceneStatus": 0, "sceneType": 2, "sourceSceneId": 4059, "version": "1.1" }, { "adminOrganizationCode": "830;21494", "adminOrganizationName": "XXXX总公司;XX111", "createdBy": 153169, "createName": "lyl", "creationTimestamp": 1615443237758, "fromSceneId": 4080, "isApplyApprove": 0, "isNewVersion": 0, "lastUpdatedBy": 153169, "lastUpdateName": "lyl", "lastUpdateTimestamp": 1615448808878, "reviewProcessId": null, "reviewProcessName": null, "sceneCode": "PS20210311141357758", "sceneId": 4084, "sceneLicense": null, "sceneMode": null, "sceneName": "0311测试-005", "sceneRemark": "", "sceneStatus": 1, "sceneType": 2, "sourceSceneId": 4080, "version": "1.1" } ], "pos": 0, "total_count": 2, "entityName": null } }
  • 请求示例 { "sceneId": 107996, "reviewProcessId": 34909, "sceneStatus": 1, "sceneRemark": "场景描述", "reviewProcessName": "yytest-二级审批", "sceneName": "场景名称openAPI014修改1", "sceneCode": "TS20220719154907686", "sceneMode": 2, "sceneType": 0, "sceneLicense": null, "sourceSceneId": 107993, "version": "1.2", "isNewVersion": 0, "createdBy": 699960, "createName": "星星有泪", "lastUpdatedBy": 699960, "lastUpdateName": "星星有泪", "creationTimestamp": 1658216947686, "lastUpdateTimestamp": 1658218002722, "deleteFlag": "0", "signInConfig": "1", "coverId": null, "category": "", "id": null, "parentCategory": "", "parentId": null, "adminOrganizationCode": "830", "adminOrganizationName": "张三作业系统测试1", "dataSource": "appcube", "isApplyApprove": 1, "headerInfo": { "sceneName": "场景名称openAPI014修改1", "sceneRemark": "场景描述", "adminOrganizationCode": "830", "adminOrganizationName": "张三作业系统测试1", "coverId": null, "category": "", "id": null, "sceneCode": "TS20220719154907686", "sceneId": 107996, "parentId": null }, "taskSceneBaseFieldList": [ { "fieldCode": "executor", "fieldDefaultValue": [], "fieldIsNecessary": 1, "fieldName": "执行人", "fieldOrder": 1, "fieldStatus": 1, "sceneBaseFieldId": 1224580, "sceneId": 107996, "_RID": "row_1" }, { "itemId": "374104", "fieldName": "作业对象修11", "fieldStatus": 2, "itemAttr1": "2", "fieldCode": "location", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 2, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_2", "fieldIsNecessary": 2 }, { "itemId": "374072", "fieldName": "行政区域修改11", "fieldStatus": 2, "itemAttr1": "", "fieldCode": "administrativeDivision", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 3, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_3", "fieldIsNecessary": 2 }, { "itemId": "375299", "fieldName": "计划开始时间1", "fieldStatus": 2, "itemAttr1": "2", "fieldCode": "planBeginDate", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 4, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_10", "fieldIsNecessary": 2 }, { "itemId": "375300", "fieldName": "计划完成时间1", "fieldStatus": 2, "itemAttr1": "2", "fieldCode": "planEndDate", "itemAttr3": "", "itemAttr2": "2", "itemAttr5": "", "itemAttr4": "", "fieldOrder": 5, "itemDesc": "ATTR1:状态(1-可用, 2-停用),ATTR2是否必填(1-必填, 2-不必填),ATTR3不可修改字段", "classifyCode": "QC_TASK_BASE_FIELD", "_RID": "row_11", "fieldIsNecessary": 2 }, { "fieldCode": "signInConfig", "fieldDefaultValue": null, "fieldIsNecessary": 2, "fieldName": "打卡配置", "fieldOrder": 6, "fieldStatus": 2, "sceneBaseFieldId": 1224581, "sceneId": 107996 }, { "fieldCode": "reviewRuleConfig", "fieldDefaultValue": null, "fieldIsNecessary": 2, "fieldName": "任务申请审批流配置", "fieldOrder": 7, "fieldStatus": 2, "sceneBaseFieldId": 1224582, "sceneId": 107996 } ], "taskSceneExtendFieldList": [ { "sceneExtendFieldId": 73602, "sceneId": 107996, "fieldName": "长文本有值", "fieldCode": "UDF15", "parentExtendFieldId": 0, "fieldType": "1", "fieldStatus": 1, "fieldIsNecessary": 1, "fieldOrder": 1, "fieldValue": null, "fieldDefaultValue": "12345678902345678901234567890123456789012123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012312345678901234567890123456789012345678901212345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890345678901456789034567890", "isNewWay": 1, "_RID": "row_24" }, { "id": 2248, "category": 1, "parentExtendId": 0, "fieldName": "时间有值", "fieldStatus": 1, "fieldIsNecessary": 2, "fieldOrder": 2, "fieldValue": "", "fieldDefaultValue": "1657003231000", "scopeList": [ 2, 1 ], "fieldCode": "UDF9", "fieldType": 5, "enumList": [], "_RID": "row_29", "sceneExtendEnumFieldList": [] } ], "taskSceneModeList": [ { "sceneModeId": 205721, "sceneId": 107996, "issueId": null, "parentSceneModeId": 0, "templateType": "1", "templateId": "263489", "templateName": "模板名称023", "sceneMode": 2, "taskTypeTag": 1, "modeLevel": 1, "modeOrder": 1, "templateCode": "QC2022XXXXXXXXXXXXX", "sceneModeName": "场景名称openAPI014修改1", "templateVersion": "1.0", "deleteFlag": 0, "tenantId": 886, "licenseSwitch": 0, "licenseTag": null, "lastUpdatedBy": 699960, "lastUpdateName": "星星有泪", "isAppraisal": 0, "collectionReviewId": null, "collectionReviewName": "", "signSiteId": null, "signSiteCode": null, "signSiteName": null, "regionId": null, "regionPath": null, "regionName": null, "description": null, "beginTimestamp": null, "endTimestamp": null, "priority": null, "jobDuration": null, "projectDuration": null, "administrativeDivision": null, "administrativeDivisionName": null, "address": null, "requiredStartTime": null, "requiredEndTime": null, "skill": null, "templateExistFlag": "Y", "assignedUserId": "", "assignedUserName": "", "userGroup": "", "userGroupName": "", "ccPerson": "", "ccPersonName": "", "owner": "", "ownerName": "", "ccPersonGroup": "", "ccPersonGroupName": "", "ownerGroup": "", "ownerGroupName": "", "subTaskExtendFieldList": [] } ], "baseSubTaskFieldList": [], "subTaskExtendFieldList": [], "taskSceneFileList": [], "operationFlag": "Y" }
  • 请求参数 参数 类型 是否必填 描述 dataSource String 是 创建来源标识。 submitterAccount String 是 提交人账号。 taskSceneBaseFieldList Object 是 基础字段。 taskSceneExtendFieldList Object 否 扩展字段。 sceneMode Integer 否 任务场景模式。 1:简单任务 2:关联作业检查清单 3:任务启用工序 4:父子任务 sceneStatus Integer 否 任务场景状态。 0:草稿 1:可用 2:停用 operationFlag String 是 是否是提交或者保存草稿。 Y:提交 N:保存草稿 taskSceneModeList Object 是 任务场景配置模板信息。 headerInfo Object 是 任务场景配置场景信息。 isApplyApprove Integer 否 是否需要申请审批。 0:否 1:是 reviewProcessId Long 否 评审流ID。 reviewProcessName String 否 评审流名称。 adminOrganizationCode String 是 组织单元ID。 adminOrganizationName String 是 组织单元名称。 signInConfig Integer 否 是否启用打卡配置。 1:启用 0:不启用 null:该场景没有引入打卡配置 sceneId Long 是 任务场景ID。 Version String 否 版本号。 taskSceneExtendFieldList扩展字段Object说明 参数 类型 是否必填 描述 fieldName String 是 自定义字段名称。 fieldType Integer 是 扩展字段类型。1:文本 2:枚举 3:多枚举 4:日期 5:时间 6:整数;7:小数;20:短文本 0:无意义,字段默认值。 fieldStatus Integer 是 字段状态。 fieldCode String 是 字段编码。 scopeList Object 是 适用范围。1:标准任务 2:临时任务 fieldOrder Integer 是 字段排序序号,从0开始。 fieldValue String 否 字段枚举值。 fieldDefaultValue String 否 字段默认值。 fieldIsNecessary Integer 否 是否必填。1:必填 2:其它 enumList Object 否 枚举值列表。 sceneExtendEnumFieldList Object 否 枚举值列表。 id Long 是 主键ID(引入时)。 category Integer 是 分属类别。1:任务 2:子任务 stage Integer 否 任务场景扩展属性阶段 1:创建阶段 2:执行阶段,默认为创建阶段 unitName String 否 单位 其中对象信息对照创建任务场景。