schedule-api/C#/SDK-Sample/ScheduleAPIHelpers.cs
/// <summary>
/// Calls the action to update an entity, only Task for now
/// </summary>
/// <param name="entity">Task or Resource Assignment</param>
/// <param name="operationSetId">operationSet Id</param>
/// <returns>OperationSetResponse</returns>
Calls the action to update an entity, only Task for now
Calls the action to update an entity only Task for now
public OperationSetResponse CallPssUpdateAction(Entity entity, string operationSetId)
        {
            OrganizationRequest operationSetRequest = new OrganizationRequest("msdyn_PssUpdateV1");
            operationSetRequest["Entity"] = entity;
            operationSetRequest["OperationSetId"] = operationSetId;
            return GetOperationSetResponseFromOrgResponse(organizationService.Execute(operationSetRequest));
        }
public OperationSetResponse CallPssUpdateAction ( Entity entity , string operationSetId ) { OrganizationRequest operationSetRequest = new OrganizationRequest ( " " ) ; operationSetRequest [ " " ] = entity ; operationSetRequest [ " " ] = operationSetId ; return GetOperationSetResponseFromOrgResponse ( organizationService . Execute ( operationSetRequest ) ) ; }
Calls the action to update an entity, only Task for now
Calls the action to update an entity only Task for now
None
entity
Entity
Task or Resource Assignment
Task or Resource Assignment
operationSetId
string
None