PS.CustomFieldCollection.add Method (ps.js)

Adds a new custom field to the collection of custom fields.

Applies to: Project Professional 2013 | Project Server 2013

PS.CustomFieldCollection.add(parameters)

Parameters

parameters
Type: PS.CustomFieldCreationInformation
An object that contains information that is used to create the custom field.

Return value

PS.CustomField

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/CustomFields/add(parameters)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/CustomFields/add(parameters)

Resource parameters

  • parameters