POST api/ganttchart/project/SetProjectMilestoneChargeUser

设置里程碑负责人

请求信息

URI 参数

None.

Body 参数

修改实体

UpdateChargeUserModel
名称说明类型其他信息
Id

任务Id或里程碑Id

string

Required

ChargeUserId

负责人Id

string

None.

ChargeUserName

负责人名称

string

None.

请求格式

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "ChargeUserId": "sample string 2",
  "ChargeUserName": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateChargeUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.IBLL">
  <ChargeUserId>sample string 2</ChargeUserId>
  <ChargeUserName>sample string 3</ChargeUserName>
  <Id>sample string 1</Id>
</UpdateChargeUserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

响应说明

ResponseEx
名称说明类型其他信息
StatusCode

状态码

ResponseStatusCode

None.

Message

信息

string

None.

Data

数据

Object

None.

响应格式

application/json, text/json

Sample:
{
  "StatusCode": 0,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.WebApi.Models">
  <Data />
  <Message>sample string 1</Message>
  <StatusCode>OK</StatusCode>
</ResponseEx>