schedule-api/C#/SDK-Sample/ScheduleAPIHelpers.cs
/// <summary>
/// Calls the action to create an operationSet
/// </summary>
/// <param name="projectId">project id for the operations to be included in this operationSet</param>
/// <param name="description">description of this operationSet</param>
/// <returns>operationSet id</returns>
Calls the action to create an operationSet
Calls the action to create an operationSet
public string CallCreateOperationSetAction(Guid projectId, string description)
        {
            OrganizationRequest operationSetRequest = new OrganizationRequest("msdyn_CreateOperationSetV1");
            operationSetRequest["ProjectId"] = projectId.ToString();
            operationSetRequest["Description"] = description;
            OrganizationResponse response = organizationService.Execute(operationSetRequest);
            return response["OperationSetId"].ToString();
        }
public string CallCreateOperationSetAction ( Guid projectId , string description ) { OrganizationRequest operationSetRequest = new OrganizationRequest ( " " ) ; operationSetRequest [ " " ] = projectId . ToString ( ) ; operationSetRequest [ " " ] = description ; OrganizationResponse response = organizationService . Execute ( operationSetRequest ) ; return response [ " " ] . ToString ( ) ; }
Calls the action to create an operationSet
Calls the action to create an operationSet
None
projectId
Guid
project id for the operations to be included in this operationSet
project id for the operations to be included in this operationSet
description
string
description of this operationSet
description of this operationSet