Share via


ResourceEngagement class

inherits members from Engagement

Syntax

CSOM

class ResourceEngagement 

JSOM

PS.ResourceEngagement

REST Interface

Supported.

PS.ResourceEngagement

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/EnterpriseResources('{resourceid}')/Engagements('{engagementid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
ApprovedFinish ✓ʷ ✓ʷ ✓ʷ DateTime
ApprovedMaxUnits ✓ʷ ✓ʷ ✓ʷ Double
ApprovedStart ✓ʷ ✓ʷ ✓ʷ DateTime
ApprovedWork ✓ʷ ✓ʷ ✓ʷ String
ApprovedWorkMilliseconds ✓ʷ ✓ʷ Integer
ApprovedWorkTimeSpan ✓ʷ ✓ʷ TimeSpan
RequestedFinish DateTime
RequestedMaxUnits Double
RequestedStart DateTime
RequestedWork String
RequestedWorkMilliseconds Integer
RequestedWorkTimeSpan TimeSpan

Methods

Name .NET JSOM REST Return Type Description
DeleteObject() void Deletes the resource engagement object.
GetTimephased(DateTime start, DateTime end, TimeScale timescale, EngagementContourType contourType) ResourceEngagementTimephasedCollection
GetTimephasedByUrl(String start, String end, String scale, String contourType) ResourceEngagementTimephasedCollection

#### Method Details

DeleteObject()

Deletes the resource engagement object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

GetTimephased(DateTime start, DateTime end, TimeScale timescale, EngagementContourType contourType)

Syntax
ResourceEngagementTimephasedCollection GetTimephased(DateTime start, DateTime end, TimeScale timescale, EngagementContourType contourType)
Parameters
Name Type Description
start DateTime
end DateTime
timescale TimeScale
contourType EngagementContourType
Return Value

ResourceEngagementTimephasedCollection

GetTimephasedByUrl(String start, String end, String scale, String contourType)

Syntax
ResourceEngagementTimephasedCollection GetTimephasedByUrl(String start, String end, String scale, String contourType)
Parameters
Name Type Description
start String
end String
scale String
contourType String
Return Value

ResourceEngagementTimephasedCollection

See Also

ResourceEngagementCollection