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