EnterpriseResourceCreationInformation class

Contains the properties that can be set when creating a EnterpriseResource.

Syntax

CSOM

class EnterpriseResourceCreationInformation 

JSOM

PS.EnterpriseResourceCreationInformation

REST Interface

Supported.

PS.EnterpriseResourceCreationInformation

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/EnterpriseResources/Add

POST Example (not all fields may be required)

body = {
    'parameters': {
        'Id':'value', 
        'IsBudget':'value', 
        'IsGeneric':'value', 
        'IsInactive':'value', 
        'Name':'value', 
        'ResourceType':'value'      
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
Id ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the enterprise resource.
IsBudget ✓ʷ ✓ʷ ✓ʷ Boolean Gets or sets a Boolean value that indicates whether this is a budget resource.
IsGeneric ✓ʷ ✓ʷ ✓ʷ Boolean Gets or sets a Boolean value that indicates whether this is a generic resource.
IsInactive ✓ʷ ✓ʷ ✓ʷ Boolean Gets or sets a Boolean value that indicates whether this resource should be created in an inactive state.
Name ✓ʷ ✓ʷ ✓ʷ String Gets or sets the name of the enterprise resource.
ResourceType ✓ʷ ✓ʷ ✓ʷ EnterpriseResourceType Gets or sets a value that represents the resource type.

See Also

EnterpriseResource
EnterpriseResourceCollection