通过id查询模板详情(API名称:querySceneById)
功能介绍
通过id查询模板详情
相关接口
接口名称 |
调用说明 |
---|---|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
---|---|---|---|
POST |
https://isdp+域名/openapi/v1/openTaskScene/querySceneById |
OpenAPI |
application/json |
请求头
KEY |
VALUE |
是否必填 |
描述 |
---|---|---|---|
Content-Type |
application/json |
是 |
无 |
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
参数 |
类型 |
是否必填 |
描述 |
---|---|---|---|
dataSource |
String |
是 |
来源“appcube” |
sceneIdList |
List<Long> |
是 |
一级工艺ID 最大支持1000 |
响应参数
参数 |
类型 |
描述 |
---|---|---|
stateCode |
String |
响应状态码:0-成功 其他-失败 |
errorMessage |
String |
响应描述 |
result |
Object |
返回值 |
Result:
参数 |
类型 |
描述 |
---|---|---|
sceneId |
Long |
一级工艺ID |
sceneCode |
String |
一级工艺编码 |
请求示例
{ "dataSource": "appcube", "sceneIdList": [ 5004519, 5004518, 5004517 ] }
响应示例
{ "stateCode": "0", "errorMessage": null, "result": [ { "sceneId": 5004519, "reviewProcessId": null, "reviewProcessName": null, "sceneName": "1703000631555", "sceneCode": "PS20231219234351730", "sceneStatus": 0, "sourceSceneId": 5004519, "sceneRemark": "", "sceneMode": null, "sceneType": 2, "sceneLicense": null, "version": "1.0", "isNewVersion": 0, "createdBy": 1823, "createName": "superman", "signInConfig": null, "creationDate": 1703000631000, "lastUpdatedBy": 1823, "lastUpdateName": "superman", "lastUpdateDate": 1703000631000, "creationTimestamp": 1703000631730, "lastUpdateTimestamp": 1703000631730, "adminOrganizationCode": "1543", "adminOrganizationName": "1508098844233300", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0 }, { "sceneId": 5004518, "reviewProcessId": null, "reviewProcessName": "", "sceneName": "测试1010", "sceneCode": "TS20231219163807218", "sceneStatus": 1, "sourceSceneId": 5004518, "sceneRemark": "测试1010", "sceneMode": 4, "sceneType": 0, "sceneLicense": null, "version": "1.0", "isNewVersion": 0, "createdBy": 1823, "createName": "张三", "signInConfig": null, "creationDate": 1702975087000, "lastUpdatedBy": 1823, "lastUpdateName": "张三", "lastUpdateDate": 1702975087000, "creationTimestamp": 1702975087218, "lastUpdateTimestamp": 1702975087898, "adminOrganizationCode": "1543", "adminOrganizationName": "1508098844233300", "isApplyApprove": null, "parentCategory": null, "category": "", "coverId": null, "deleteFlag": 0 }, { "sceneId": 5004517, "reviewProcessId": null, "reviewProcessName": null, "sceneName": "1702914494454", "sceneCode": "PS20231218234814632", "sceneStatus": 0, "sourceSceneId": 5004517, "sceneRemark": "", "sceneMode": null, "sceneType": 2, "sceneLicense": null, "version": "1.0", "isNewVersion": 0, "createdBy": 1823, "createName": "superman", "signInConfig": null, "creationDate": 1702914494000, "lastUpdatedBy": 1823, "lastUpdateName": "superman", "lastUpdateDate": 1702914494000, "creationTimestamp": 1702914494632, "lastUpdateTimestamp": 1702914494632, "adminOrganizationCode": "1543", "adminOrganizationName": "1508098844233300", "isApplyApprove": null, "parentCategory": null, "category": null, "coverId": null, "deleteFlag": 0 } ] }