查询任务调度明细(API名称:findTaskScheduleById)
功能介绍
查询任务调度明细。
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/openTaskSchedule/findTaskScheduleById |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
taskScheduleId |
Long |
否 |
任务调度ID。 |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
stateCode |
String |
响应编码。 |
|
errorMessage |
String |
错误信息。 |
|
result |
Object |
响应数据。 |
请求示例
{"taskScheduleId":4612}
响应示例
{
"stateCode": "0",
"errorMessage": null,
"result": {
"taskScheduleId": 4612,
"taskBody": {
"isSubTask": null,
"issueId": null,
"sceneId": 107879,
"sceneTaskId": null,
"sceneName": "测试OpenAPI",
"sceneCode": "TS20220714104642265",
"sceneVersion": "1.0",
"signSiteId": 98990722,
"signSiteCode": "5756",
"signSiteName": "75675",
"adminRegion": null,
"adminRegionName": null,
"projectNo": "55788",
"projectName": "gcl",
"adminOrganization": "830",
"adminOrganizationName": "XX作业系统测试1",
"supplierName": "",
"taskName": "75675_测试OpenAPI",
"templateId": 263435,
"templateName": "测试模板20220714001",
"templateCode": "QC2022XXXXXXXXXXXXX",
"version": "1.0",
"beginTimestamp": 1657814400000,
"endTimestamp": 1657900799999,
"taskRemark": "",
"taskMode": 2,
"assignedUserId": "",
"assignedUserName": "",
"userGroup": "",
"userGroupName": "",
"signInConfig": null,
"submitBy": null,
"submitName": null,
"operationGuideList": null,
"attachmentList": null,
"taskExtend": [],
"procedureList": [],
"subTaskList": [],
"reviewRuleId": null,
"reviewRuleName": "",
"processType": null,
"saveDraft": 1,
"isApplyApprove": null,
"licenseSwitch": null,
"isAppraisal": 0,
"collectionReviewId": null,
"collectionReviewName": "",
"collectionProcessType": null,
"sceneLicense": null,
"customCollectionReviewerList": [],
"customApproveReviewerList": [],
"terminalType": null,
"priority": "",
"jobDuration": null,
"projectDuration": null,
"schedulingMode": "",
"administrativeDivision": "455845",
"administrativeDivisionName": "Y区域",
"regionId": null,
"regionPath": null,
"regionName": null,
"address": "wwww",
"requiredStartTime": null,
"requiredEndTime": null,
"skill": "",
"customerId": null,
"customerName": "",
"category": "",
"categoryId": null,
"parentCategory": "",
"parentCategoryId": null,
"isAssociationIssue": null,
"associationIssueId": null,
"ccPerson": "",
"ccPersonName": "",
"owner": "",
"ownerName": "",
"ccPersonGroup": "",
"ccPersonGroupName": "",
"ownerGroup": "",
"ownerGroupName": "",
"resource": null,
"status": null,
"positionName": null,
"cronExpr": "0 0 2,3,5 ? * 2,3,4,5,6",
"scheduleHour": "2,3,5",
"scheduleWeek": "2,3,4,5,6",
"scheduleMoon": "",
"scheduleDay": "",
"scheduleDayList": [],
"scheduleType": 1,
"beginNumberOfHours": 0,
"endNumberOfHours": 0,
"plannedCompletionType": 0,
"plannedBeginType": 0,
"creatorDescribe": null,
"schedulerBy": null,
"schedulerName": null,
"schedulerTimestamp": null,
"schedulerDate": null,
"validateFile": true
},
"platJobId": 1041731,
"taskScheduleName": "wwwwww111",
"isEnable": 1,
"createdBy": 390841,
"createName": "zdrun-test",
"creationDate": "2022-07-15 15:02:09",
"lastUpdatedBy": 390841,
"lastUpdateName": "zdrun-test",
"lastUpdateDate": "2022-07-15 15:02:09",
"creationTimestamp": 1657868529731,
"lastUpdateTimestamp": 1657868529731,
"deleteFlag": 0
}
}