接口地址:/webapi/plangroup/{planGroupId}/action/modify
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
修改计划组
请求示例:
{
"planGroupId": 0,
"propertiesToUpdate": {
"planGroupName": "",
"description": ""
},
"requestId": ""
}
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| planGroupId | 请求planGroupId数据 | path | true | integer(int32) | |
| planGroupId | 计划组id | body | false | integer(int32) | |
| propertiesToUpdate | body | false | PropertiesToUpdateForPGForm | PropertiesToUpdateForPGForm | |
| planGroupName | 计划组名称 | body | false | string | |
| description | 描述 | body | false | string | |
| requestId | 请求id | body | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultPlanGroupResultVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | PlanGroupResultVo | PlanGroupResultVo | |
| errorCode | 错误码 | integer(int32) | |
| message | 响应信息 | string | |
| planGroupId | 计划组Id | integer(int64) | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": {
"errorCode": 0,
"message": "",
"planGroupId": 0
},
"dataCount": 10
}