将新的自定义字段添加到自定义字段的集合。
PS.StageCustomFieldCollection.add(creationInfo)
参数
creationInfo
类型: PS.StageCustomFieldCreationInformation
对象,其中包含用于创建自定义字段的信息。
返回值
PS.StageCustomField
REST 资源端点
终结点 URI 结构
http://<sitecollection>/<site>/_api/ProjectServer/Stages('stageid')/CustomFields/add(creationInfo)
HTTP 请求
此资源支持以下 HTTP 命令:
- 无
开机自检语法
POST http://<sitecollection>/<site>/_api/ProjectServer/Stages('stageid')/CustomFields/add(creationInfo)
资源参数
- creationInfo