Skip to main content

<a id=“SuperOffice_WebApi_Agents_IProjectAgent”></a> Interface IProjectAgent

Namespace: SuperOffice.WebApi.Agents
Assembly: SuperOffice.WebApi.dll
Collection of all services that works with Project data.

Implements

IAgentBase, IDisposable

Methods

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_AddProjectMembersAsync_System_Int32_SuperOffice_WebApi_Data_ProjectMember___SuperOffice_WebApi_RequestOptions_”></a> AddProjectMembersAsync(int, ProjectMember[], RequestOptions)

Add multiple project members to a project

Parameters

projectEntityId int Project to add members to projectMembers ProjectMember[] Project members to add requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_CreateDefaultProjectEntityAsync_SuperOffice_WebApi_RequestOptions_”></a> CreateDefaultProjectEntityAsync(RequestOptions)

Set default values into a new ProjectEntity. NetServer calculates default values on the entity, which is required when creating/storing a new instance

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEntity&gt; A blank ProjectEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_CreateDefaultProjectEventEntityAsync_SuperOffice_WebApi_RequestOptions_”></a> CreateDefaultProjectEventEntityAsync(RequestOptions)

Set default values into a new ProjectEventEntity. NetServer calculates default values on the entity, which is required when creating/storing a new instance

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEventEntity&gt; A blank ProjectEventEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_CreateDefaultProjectMemberAsync_SuperOffice_WebApi_RequestOptions_”></a> CreateDefaultProjectMemberAsync(RequestOptions)

Set default values into a new ProjectMember. NetServer calculates default values on the entity, which is required when creating/storing a new instance

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectMember&gt; A blank ProjectMember

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_CreateNewEntryAsync_SuperOffice_WebApi_Data_DuplicateEntry_SuperOffice_WebApi_RequestOptions_”></a> CreateNewEntryAsync(DuplicateEntry, RequestOptions)

Creates a new project based on external duplicate

Parameters

duplicate DuplicateEntry The duplicate to create a new entry based upon requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<int&gt; The database identity of the newly created entry

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_DeleteProjectEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> DeleteProjectEntityAsync(int, RequestOptions)

Deletes the ProjectEntity

Parameters

projectEntityId int The identity of the ProjectEntity requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_DeleteProjectEventEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> DeleteProjectEventEntityAsync(int, RequestOptions)

Deletes the ProjectEventEntity

Parameters

projectEventEntityId int The identity of the ProjectEventEntity requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_DeleteProjectEventEntityFromProjectIdAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> DeleteProjectEventEntityFromProjectIdAsync(int, RequestOptions)

Delete a project event based on a project id. Does not delete the project, but does delete the published and ExternalEvent and AudienceVisibility records.

Parameters

projectId int The project id of the external event to delete. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task Nothing

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_DeleteProjectMemberAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> DeleteProjectMemberAsync(int, RequestOptions)

Deletes the ProjectMember

Parameters

projectMemberId int The identity of the ProjectMember requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_DeleteProjectMemberByIdsAsync_System_Int32___SuperOffice_WebApi_RequestOptions_”></a> DeleteProjectMemberByIdsAsync(int[], RequestOptions)

Deletes projectmembers rows.

Parameters

projectMemberIds int[] An Array of projectmember ids. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_DeleteProjectMembersAsync_System_Int32_System_Int32___SuperOffice_WebApi_RequestOptions_”></a> DeleteProjectMembersAsync(int, int[], RequestOptions)

Delete the given project members from a project

Parameters

projectEntityId int Project to remove members from memberIds int[] Project member ids requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetDuplicateRulesAsync_SuperOffice_WebApi_RequestOptions_”></a> GetDuplicateRulesAsync(RequestOptions)

Retrieve all available duplicate rules for project

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<DuplicateRule[]&gt; All available duplicate rules

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetDuplicatesAsync_System_String_SuperOffice_WebApi_RequestOptions_”></a> GetDuplicatesAsync(string, RequestOptions)

Get duplicates(exact or similar in the database) based on the name

Parameters

name string Name used for lookup requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<DuplicateEntry[]&gt; Any records matching the specified name

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetMyMemberProjectsAsync_SuperOffice_WebApi_RequestOptions_”></a> GetMyMemberProjectsAsync(RequestOptions)

Returning the projects where an user is project member.

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; The list of projects.

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetMyProjectEventsAsync_SuperOffice_WebApi_RequestOptions_”></a> GetMyProjectEventsAsync(RequestOptions)

Gets all project events that belongs to the currently logged on user. The list of events are filtered by the Audience Visibility restrictions set when the project event is created.

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEvent[]&gt; Array of project events

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetMyProjectsAsync_System_Boolean_SuperOffice_WebApi_RequestOptions_”></a> GetMyProjectsAsync(bool, RequestOptions)

Returning the projects belonging to an associate. If memberProjects is false only the projects where the associate is project responsible is returned, otherwise both the projects where the associate is project responsible and project member is returned.

Parameters

includeMemberProjects bool True to include projects where the user is project member. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; The list of projects

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetMyPublishedProjectsAsync_SuperOffice_WebApi_RequestOptions_”></a> GetMyPublishedProjectsAsync(RequestOptions)

Get published projects from the logged in user.

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; Projects

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetNextMilestoneAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetNextMilestoneAsync(int, RequestOptions)

Next upcoming milestone appointment

Parameters

projectId int Project id - primary key requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Appointment&gt; Upcoming milestone appointment

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetNextProjectStatusAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetNextProjectStatusAsync(int, RequestOptions)

Parameters

projectId int requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<int&gt;

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectAsync(int, RequestOptions)

Gets a specific Project object.

Parameters

projectId int The identifier of the Project object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project&gt; Project

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEntityAsync(int, RequestOptions)

Gets a specific ProjectEntity object.

Parameters

projectEntityId int The identifier of the ProjectEntity object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEntity&gt; ProjectEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEntityWithoutMembersAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEntityWithoutMembersAsync(int, RequestOptions)

Get a project entity with no project members. Project members property is always an empty array.

Parameters

projectId int The project id of the project. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEntity&gt; Project entity with the specified id. The project members property is always an empty array.

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEventAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEventAsync(int, RequestOptions)

Gets a specific ProjectEvent object.

Parameters

projectEventId int The identifier of the ProjectEvent object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEvent&gt; ProjectEvent

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEventEntityAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEventEntityAsync(int, RequestOptions)

Gets a specific ProjectEventEntity object.

Parameters

projectEventEntityId int The identifier of the ProjectEventEntity object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEventEntity&gt; ProjectEventEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEventEntityFromProjectIdAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEventEntityFromProjectIdAsync(int, RequestOptions)

Get a ProjectEventEntity based on a projectId.

Parameters

projectId int The projectId to get a ProjectEventEntity for requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEventEntity&gt; ProjectEventEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEventListAsync_System_Int32___SuperOffice_WebApi_RequestOptions_”></a> GetProjectEventListAsync(int[], RequestOptions)

Gets an array of specific ProjectEvent objects.

Parameters

projectEventIds int[] The identifiers of the ProjectEvent object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEvent[]&gt; Array of ProjectEvent objects

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEventOnPersonAsync_System_Int32_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEventOnPersonAsync(int, int, RequestOptions)

Gets a ProjectEvent object from a project and a person.

Parameters

projectId int The project Id personId int Id of the person the project events belong to. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEvent&gt;

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectEventsOnPersonAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectEventsOnPersonAsync(int, RequestOptions)

Gets all project events that belongs to the person specified. The list of events are filtered by the Audience Visibility restrictions set when the project event is created.

Parameters

personId int Id of the person the project events belong to. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEvent[]&gt; Array of project events

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectFencingInfoAsync_SuperOffice_WebApi_RequestOptions_”></a> GetProjectFencingInfoAsync(RequestOptions)

Get the current project fencing status for the tenant

Parameters

requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<FencingInfo&gt; Current fencing status including count, maximum, and warning state

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectImageAsync_System_Int32_System_String_SuperOffice_WebApi_RequestOptions_”></a> GetProjectImageAsync(int, string, RequestOptions)

Returns the project image that is displayed in the CRM application.

Parameters

projectId int The project id of the project the image belongs to. returnContentType string Accept content-type. Default “application/octet-stream”. Could also be “application/pdf”, “text/plain”, “text/html”, or “multipart/related” requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<byte[]&gt; The project image.

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectListAsync_System_Int32___SuperOffice_WebApi_RequestOptions_”></a> GetProjectListAsync(int[], RequestOptions)

Gets an array of specific Project objects.

Parameters

projectIds int[] The identifiers of the Project object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; Array of Project objects

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectMemberAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectMemberAsync(int, RequestOptions)

Gets a specific ProjectMember object.

Parameters

projectMemberId int The identifier of the ProjectMember object requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectMember&gt; ProjectMember

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectMembersAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectMembersAsync(int, RequestOptions)

Returns an array of project members

Parameters

projectId int The project id requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectMember[]&gt; An array of project members

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectMembersByIdAsync_System_Int32___SuperOffice_WebApi_RequestOptions_”></a> GetProjectMembersByIdAsync(int[], RequestOptions)

Returns an array of project members

Parameters

projectMemberIds int[] requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectMember[]&gt; An array of project members

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectsFromContactAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectsFromContactAsync(int, RequestOptions)

Returns all projects where the given contact has projectmembers.

Parameters

contactId int The contact id requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; ProjectListEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetProjectsFromPersonAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetProjectsFromPersonAsync(int, RequestOptions)

Return all projects where the person is project member.

Parameters

personId int The person id requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; ProjectListEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetPublishedProjectAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetPublishedProjectAsync(int, RequestOptions)

Get published project by project id.

Parameters

projectId int The project id. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project&gt; Project

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetPublishedProjectsAsync_System_Int32___SuperOffice_WebApi_RequestOptions_”></a> GetPublishedProjectsAsync(int[], RequestOptions)

Get published projects by project ids.

Parameters

projectIds int[] The array of project ids requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; Projects

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_GetPublishedProjectsOnPersonIdAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> GetPublishedProjectsOnPersonIdAsync(int, RequestOptions)

Get published projects where person is a member

Parameters

personId int The person id requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<Project[]&gt; Array of project

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_HasGuideActivitiesAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> HasGuideActivitiesAsync(int, RequestOptions)

Parameters

projectId int requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<bool&gt;

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_HasGuideAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> HasGuideAsync(int, RequestOptions)

Does this project have a guide associated with its project type?

Parameters

projectId int Project id requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<bool&gt; True if the project has a guide

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_IsNumberValidAsync_System_Int32_System_String_SuperOffice_WebApi_RequestOptions_”></a> IsNumberValidAsync(int, string, RequestOptions)

Checks if the number is unique or required. The setting is configured from admin under system options.

Parameters

contactId int The Project id number string The number to check for uniqueness and validity requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<bool&gt; True if the number is valid

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_MergeAsync_System_Int32_System_Int32_System_Boolean_SuperOffice_WebApi_RequestOptions_”></a> MergeAsync(int, int, bool, RequestOptions)

Merge two projects into one, removing the source project in the process

Parameters

sourceProjectId int Id of source project for merge. This project is removed after the merge is completed. destinationProjectId int Id of destination project to merge to. This project is updated with info from the source. replaceEmptyFieldsOnDestination bool Fill in empty fields on destination from source? requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_OfferAutoNextStatusOnApppointmentCompletedAsync_System_Int32_SuperOffice_WebApi_RequestOptions_”></a> OfferAutoNextStatusOnApppointmentCompletedAsync(int, RequestOptions)

Parameters

appointmentId int requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<bool&gt;

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SaveProjectEntityAsync_SuperOffice_WebApi_Data_ProjectEntity_SuperOffice_WebApi_RequestOptions_”></a> SaveProjectEntityAsync(ProjectEntity, RequestOptions)

Updates the existing ProjectEntity or creates a new ProjectEntity if the id parameter is 0.

Parameters

projectEntity ProjectEntity The ProjectEntity that is saved. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEntity&gt; New or updated ProjectEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SaveProjectEntityWithoutMembersAsync_SuperOffice_WebApi_Data_ProjectEntity_SuperOffice_WebApi_RequestOptions_”></a> SaveProjectEntityWithoutMembersAsync(ProjectEntity, RequestOptions)

Save a project entity, the project members are ignored.

Parameters

projectEntity ProjectEntity The project entity to save. Any set project members are ignored. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEntity&gt; The saved project entity without any project members. The project members property is always an empty array.

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SaveProjectEventEntityAsync_SuperOffice_WebApi_Data_ProjectEventEntity_SuperOffice_WebApi_RequestOptions_”></a> SaveProjectEventEntityAsync(ProjectEventEntity, RequestOptions)

Updates the existing ProjectEventEntity or creates a new ProjectEventEntity if the id parameter is 0.

Parameters

projectEventEntity ProjectEventEntity The ProjectEventEntity that is saved. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectEventEntity&gt; New or updated ProjectEventEntity

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SaveProjectMemberAsync_SuperOffice_WebApi_Data_ProjectMember_SuperOffice_WebApi_RequestOptions_”></a> SaveProjectMemberAsync(ProjectMember, RequestOptions)

Updates the existing ProjectMember or creates a new ProjectMember if the id parameter is 0.

Parameters

projectMember ProjectMember The ProjectMember that is saved. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectMember&gt; New or updated ProjectMember

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SaveProjectMembersFunctionAndCommentAsync_System_Int32___System_Int32_System_String_SuperOffice_WebApi_RequestOptions_”></a> SaveProjectMembersFunctionAndCommentAsync(int[], int, string, RequestOptions)

Saves role and comment on an array of projectmembers represented by ids

Parameters

projectMemberIds int[] roleId int comment string requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SetCompletedAsync_System_Int32_System_Boolean_SuperOffice_WebApi_RequestOptions_”></a> SetCompletedAsync(int, bool, RequestOptions)

Set the completed flag on the project

Parameters

projectId int isCompleted bool True if the project is completed, false if it is not requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task This method has no return value

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SetDuplicateRulesStatusAsync_SuperOffice_WebApi_Data_DuplicateRule___SuperOffice_WebApi_RequestOptions_”></a> SetDuplicateRulesStatusAsync(DuplicateRule[], RequestOptions)

Set which duplicate rules should be active or not

Parameters

rules DuplicateRule[] Duplicate rules to update active status for requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_SetProjectImageAsync_System_Int32_System_Byte___SuperOffice_WebApi_RequestOptions_”></a> SetProjectImageAsync(int, byte[], RequestOptions)

Stores the project image that is displayed in the CRM application.

Parameters

projectId int The project id of the project the image belongs to. image byte[] The project image. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_UpdateProjectMemberAsync_SuperOffice_WebApi_Data_ProjectMember_SuperOffice_WebApi_RequestOptions_”></a> UpdateProjectMemberAsync(ProjectMember, RequestOptions)

Updates a ProjectMember row.

Parameters

projectMember ProjectMember ProjectMember to update requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<ProjectMember&gt; The Updated ProjectMember

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_UpdateProjectMembersAsync_System_Int32_SuperOffice_WebApi_Data_ProjectMember___SuperOffice_WebApi_RequestOptions_”></a> UpdateProjectMembersAsync(int, ProjectMember[], RequestOptions)

Update existing project members. Not creating new (only projectmember_id > 0 accepted)

Parameters

projectId int Project of which members will be updated projectMembers ProjectMember[] Project members to update requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task This method has no return value

<a id=“SuperOffice_WebApi_Agents_IProjectAgent_ValidateProjectEntityAsync_SuperOffice_WebApi_Data_ProjectEntity_SuperOffice_WebApi_RequestOptions_”></a> ValidateProjectEntityAsync(ProjectEntity, RequestOptions)

Check that entity is ready for saving, return error messages by field.

Parameters

projectEntity ProjectEntity Entity to be checked for errors. requestOptions RequestOptions Override language/culture codes on this request.

Returns

Task<StringDictionary&gt; Error messages tagged by field.