diff --git a/ProjectManagerClient.nuspec b/ProjectManagerClient.nuspec index 319c197..61536d1 100644 --- a/ProjectManagerClient.nuspec +++ b/ProjectManagerClient.nuspec @@ -23,109 +23,8 @@ * ProjectField.RetrieveAllProjectFieldValues (GET /api/data/projects/{projectId}/fields) Changes to existing APIs: - * ApiKey.CreateApiKey added header parameter `x-integration-name` - * ApiKey.ListApiKeys added header parameter `x-integration-name` - * ApiKey.RevokeAllApiKeys added header parameter `x-integration-name` - * ApiKey.RevokeAPIKey added header parameter `x-integration-name` - * Changeset.RetrieveChangeset added header parameter `x-integration-name` - * Changeset.RetrieveCompletedChangeset added header parameter `x-integration-name` - * Dashboard.RetrieveDashboardUserSettings added header parameter `x-integration-name` - * Dashboard.CreateorUpdateUserDashboardSettings added header parameter `x-integration-name` - * Discussion.RetrieveTaskComments added header parameter `x-integration-name` - * Discussion.CreateTaskComments added header parameter `x-integration-name` - * File.DownloadFile added header parameter `x-integration-name` - * File.UpdateFile added header parameter `x-integration-name` - * HomeFile.UploadHomeFile added header parameter `x-integration-name` - * HomeFile.UploadHomeFileToFolder added header parameter `x-integration-name` - * Integration.RetrieveIntegration added header parameter `x-integration-name` - * Integration.EnableIntegration added header parameter `x-integration-name` - * Integration.DisableIntegration added header parameter `x-integration-name` - * Integration.RetrieveAllIntegrations added header parameter `x-integration-name` - * IntegrationCategory.RetrieveProviderCategories added header parameter `x-integration-name` - * IntegrationProvider.ListProviders added header parameter `x-integration-name` - * IntegrationProvider.ActivateIntegrationProvider added header parameter `x-integration-name` - * IntegrationProvider.UpdateIntegrationProvider added header parameter `x-integration-name` * IntegrationProvider.UpdateIntegrationProvider changed [body].Value.DataType from AuthenticationDto to AuthenticationStatusDto * IntegrationProvider.UpdateIntegrationProvider changed [body].Value.DataTypeRef from /docs/authenticationdto to /docs/authenticationstatusdto - * IntegrationProvider.DeactivateIntegrationProvider added header parameter `x-integration-name` - * IntegrationProvider.CreateUserIntegrationProviderConnection added header parameter `x-integration-name` - * IntegrationProvider.UpdateUserIntegrationProviderConnection added header parameter `x-integration-name` - * License.RetrieveLicenses added header parameter `x-integration-name` - * License.AddLicense added header parameter `x-integration-name` - * Me.RetrieveMe added header parameter `x-integration-name` - * Project.QueryProjects added header parameter `x-integration-name` - * Project.CreateProject added header parameter `x-integration-name` - * Project.RetrieveProject added header parameter `x-integration-name` - * Project.UpdateProject added header parameter `x-integration-name` - * ProjectChargeCode.RetrieveChargeCodes added header parameter `x-integration-name` - * ProjectCustomer.RetrieveProjectCustomers added header parameter `x-integration-name` - * ProjectField.RetrieveProjectFields added header parameter `x-integration-name` - * ProjectField.CreateProjectField added header parameter `x-integration-name` - * ProjectField.DeleteProjectField added header parameter `x-integration-name` - * ProjectField.UpdateProjectField added header parameter `x-integration-name` - * ProjectFile.UploadProjectFile added header parameter `x-integration-name` - * ProjectFile.UploadProjectFileToFolder added header parameter `x-integration-name` - * ProjectFolder.RetrieveProjectFolders added header parameter `x-integration-name` - * ProjectMembers.RetrieveNewProjectMembers added header parameter `x-integration-name` - * ProjectMembers.RetrieveProjectMembers added header parameter `x-integration-name` - * ProjectMembers.RetrieveUserProjectMemberShip added header parameter `x-integration-name` - * ProjectMembers.CreateUserProjectMembership added header parameter `x-integration-name` - * ProjectMembers.UpdateUserProjectMembership added header parameter `x-integration-name` - * ProjectMembers.RemoveUserProjectMembership added header parameter `x-integration-name` - * ProjectPriority.RetrieveProjectPriorities added header parameter `x-integration-name` - * ProjectStatus.RetrieveProjectStatuses added header parameter `x-integration-name` - * ProjectTemplate.RetrieveProjectTemplates added header parameter `x-integration-name` - * ProjectTemplate.RetrieveTemplateCategories added header parameter `x-integration-name` - * Resource.CreateResource added header parameter `x-integration-name` - * Resource.QueryResources added header parameter `x-integration-name` - * Resource.UpdateResource added header parameter `x-integration-name` - * Resource.RetrieveResource added header parameter `x-integration-name` - * ResourceSkill.RetrieveResourceSkills added header parameter `x-integration-name` - * ResourceSkill.CreateResourceSkill added header parameter `x-integration-name` - * ResourceSkill.UpdateResourceSkill added header parameter `x-integration-name` - * ResourceSkill.DeleteResourceSkill added header parameter `x-integration-name` - * ResourceTeam.RetrieveResourceTeams added header parameter `x-integration-name` - * ResourceTeam.CreateResourceTeam added header parameter `x-integration-name` - * ResourceTeam.DeleteResourceTeam added header parameter `x-integration-name` - * ResourceTeam.UpdateResourceTeam added header parameter `x-integration-name` - * Tag.QueryTags added header parameter `x-integration-name` - * Tag.CreateTag added header parameter `x-integration-name` - * Tag.UpdateTag added header parameter `x-integration-name` - * Task.QueryTasks added header parameter `x-integration-name` - * Task.RetrieveTask added header parameter `x-integration-name` - * Task.UpdateTask added header parameter `x-integration-name` - * Task.DeleteTask added header parameter `x-integration-name` - * Task.CreateTask added header parameter `x-integration-name` - * Task.RetrieveTaskPriorities added header parameter `x-integration-name` - * Task.CreateManyTasks added header parameter `x-integration-name` - * Task.AddParentTask added header parameter `x-integration-name` - * Task.UpdateParentTask added header parameter `x-integration-name` - * Task.RemoveParentTask added header parameter `x-integration-name` - * TaskAssignee.ReplaceTaskAssignees added header parameter `x-integration-name` - * TaskAssignee.CreateOrUpdateTaskAssignee added header parameter `x-integration-name` - * TaskAssignee.DeleteTaskAssignees added header parameter `x-integration-name` - * TaskField.RetrieveTaskFields added header parameter `x-integration-name` - * TaskField.CreateTaskField added header parameter `x-integration-name` - * TaskField.DeleteTaskField added header parameter `x-integration-name` - * TaskField.RetrieveTaskFieldValue added header parameter `x-integration-name` - * TaskField.UpdateTaskFieldValue added header parameter `x-integration-name` - * TaskField.RetrieveAllTaskFieldValues added header parameter `x-integration-name` - * TaskFile.UploadTaskFile added header parameter `x-integration-name` - * TaskStatus.RetrieveTaskStatuses added header parameter `x-integration-name` - * TaskStatus.CreateTaskStatus added header parameter `x-integration-name` - * TaskStatus.UpdateTaskStatus added header parameter `x-integration-name` - * TaskStatus.DeleteTaskStatus added header parameter `x-integration-name` - * TaskTag.ReplaceTaskTags added header parameter `x-integration-name` - * TaskTag.AddTaskTagtoTask added header parameter `x-integration-name` - * TaskTag.RemoveTaskTagfromTask added header parameter `x-integration-name` - * Timesheet.Createtimeentry added header parameter `x-integration-name` - * Timesheet.QueryTimeSheets added header parameter `x-integration-name` - * Timesheet.Deletetimeentry added header parameter `x-integration-name` - * Timesheet.Updatetimeentry added header parameter `x-integration-name` - * Timesheet.Returnsactiveadmintasksthatareusedtoreporttime added header parameter `x-integration-name` - * UserRole.RetrieveUserRoles added header parameter `x-integration-name` - * WorkSpace.RetrieveWorkspaces added header parameter `x-integration-name` - * WorkSpace.InvitetoWorkspace added header parameter `x-integration-name` Deprecated 2 old APIs: * Integration.AddIntegrationInstance diff --git a/src/Clients/ApiKeyClient.cs b/src/Clients/ApiKeyClient.cs index e47831e..9820740 100644 --- a/src/Clients/ApiKeyClient.cs +++ b/src/Clients/ApiKeyClient.cs @@ -46,9 +46,8 @@ public ApiKeyClient(ProjectManagerClient client) /// Some best practices for working with API keys: * An API key is valid for a two year period after it is created. We encourage you to rotate your API keys regularly according to your company's security policies. * You should create separate API keys for each system that works with your API. If that API key is exposed or if that program needs to be shut down, you can revoke that one key and reissue it. * An API key is tied to the workspace that created it. A single API key can only interact with one workspace. /// /// - /// The name of the calling system passed along as a header parameter /// Options for the API key to create - public async Task> CreateApiKey(ApiKeyCreateDto body, string xintegrationname = null) + public async Task> CreateApiKey(ApiKeyCreateDto body) { var url = $"/api/data/api-keys"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -62,8 +61,7 @@ public async Task> CreateApiKey(ApiKeyCreateDto body, str /// Some best practices for working with API keys: * An API key is valid for a two year period after it is created. We encourage you to rotate your API keys regularly according to your company's security policies. * You should create separate API keys for each system that works with your API. If that API key is exposed or if that program needs to be shut down, you can revoke that one key and reissue it. * An API key is tied to the workspace that created it. A single API key can only interact with one workspace. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> ListApiKeys(string xintegrationname = null) + public async Task> ListApiKeys() { var url = $"/api/data/api-keys"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -77,8 +75,7 @@ public async Task> ListApiKeys(string xintegrationname /// Some best practices for working with API keys: * An API key is valid for a two year period after it is created. We encourage you to rotate your API keys regularly according to your company's security policies. * You should create separate API keys for each system that works with your API. If that API key is exposed or if that program needs to be shut down, you can revoke that one key and reissue it. * An API key is tied to the workspace that created it. A single API key can only interact with one workspace. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RevokeAllApiKeys(string xintegrationname = null) + public async Task> RevokeAllApiKeys() { var url = $"/api/data/api-keys/revoke-all"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -93,8 +90,7 @@ public async Task> RevokeAllApiKeys(string xintegrationname /// /// /// The unique identifier of the API key to revoke - /// The name of the calling system passed along as a header parameter - public async Task> RevokeAPIKey(Guid id, string xintegrationname = null) + public async Task> RevokeAPIKey(Guid id) { var url = $"/api/data/api-keys/{id}/revoke"; return await _client.Request(HttpMethod.Delete, url, null, null, null); diff --git a/src/Clients/ChangesetClient.cs b/src/Clients/ChangesetClient.cs index 25b0731..82519f5 100644 --- a/src/Clients/ChangesetClient.cs +++ b/src/Clients/ChangesetClient.cs @@ -47,8 +47,7 @@ public ChangesetClient(ProjectManagerClient client) /// /// /// The unique ID number of the Changeset to retrieve - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveChangeset(Guid changeSetId, string xintegrationname = null) + public async Task> RetrieveChangeset(Guid changeSetId) { var url = $"/api/data/changesets/{changeSetId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -65,8 +64,7 @@ public async Task> RetrieveChangeset(Guid c /// /// /// The unique ID number of the Changeset to retrieve - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveCompletedChangeset(Guid changeSetId, string xintegrationname = null) + public async Task> RetrieveCompletedChangeset(Guid changeSetId) { var url = $"/api/data/changesets/{changeSetId}/poll"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/DashboardClient.cs b/src/Clients/DashboardClient.cs index 68e8ada..42adc3e 100644 --- a/src/Clients/DashboardClient.cs +++ b/src/Clients/DashboardClient.cs @@ -43,8 +43,7 @@ public DashboardClient(ProjectManagerClient client) /// /// /// The dashboard type that is not custom. For a list of values, see `DashboardTypeValues`. - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveDashboardUserSettings(string type, string xintegrationname = null) + public async Task> RetrieveDashboardUserSettings(string type) { var url = $"/api/data/dashboards/settings/{type}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -54,9 +53,8 @@ public async Task> RetrieveDashboardUserSetting /// Create or Update User Dashboard Settings /// /// - /// The name of the calling system passed along as a header parameter /// User dashboard settings object - public async Task> CreateorUpdateUserDashboardSettings(DashboardSettingCreateDto body, string xintegrationname = null) + public async Task> CreateorUpdateUserDashboardSettings(DashboardSettingCreateDto body) { var url = $"/api/data/dashboards/settings"; return await _client.Request(HttpMethod.Post, url, null, body, null); diff --git a/src/Clients/DiscussionClient.cs b/src/Clients/DiscussionClient.cs index bc07dbb..4eb093d 100644 --- a/src/Clients/DiscussionClient.cs +++ b/src/Clients/DiscussionClient.cs @@ -43,8 +43,7 @@ public DiscussionClient(ProjectManagerClient client) /// /// /// The unique ID number of the task to retrieve comments - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTaskComments(Guid taskId, string xintegrationname = null) + public async Task> RetrieveTaskComments(Guid taskId) { var url = $"/api/data/tasks/{taskId}/discussions"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -57,9 +56,8 @@ public async Task> RetrieveTaskComments(Guid taskId /// /// /// The unique ID number of the task being commented upon - /// The name of the calling system passed along as a header parameter /// The Markdown-formatted text of the comment - public async Task> CreateTaskComments(Guid taskId, DiscussionCreateDto body, string xintegrationname = null) + public async Task> CreateTaskComments(Guid taskId, DiscussionCreateDto body) { var url = $"/api/data/tasks/{taskId}/discussions"; return await _client.Request(HttpMethod.Post, url, null, body, null); diff --git a/src/Clients/FileClient.cs b/src/Clients/FileClient.cs index 048cef1..346c8db 100644 --- a/src/Clients/FileClient.cs +++ b/src/Clients/FileClient.cs @@ -48,8 +48,7 @@ public FileClient(ProjectManagerClient client) /// /// The unique identifier of the document to download /// If you specify a type of `html`, processes the file using text encoding, otherwise binary - /// The name of the calling system passed along as a header parameter - public async Task> DownloadFile(Guid documentId, string type = null, string xintegrationname = null) + public async Task> DownloadFile(Guid documentId, string type = null) { var url = $"/api/data/files/{documentId}/download"; var options = new Dictionary(); @@ -66,9 +65,8 @@ public async Task> DownloadFile(Guid documentId, string type /// /// /// The unique identifier of the File to update - /// The name of the calling system passed along as a header parameter /// Information to change about the File and its location - public async Task> UpdateFile(Guid fileId, UpdateRequestDto body, string xintegrationname = null) + public async Task> UpdateFile(Guid fileId, UpdateRequestDto body) { var url = $"/api/data/files/{fileId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); diff --git a/src/Clients/HomeFileClient.cs b/src/Clients/HomeFileClient.cs index 9e95f84..5987599 100644 --- a/src/Clients/HomeFileClient.cs +++ b/src/Clients/HomeFileClient.cs @@ -46,9 +46,8 @@ public HomeFileClient(ProjectManagerClient client) /// When you upload a File, please allow a few moments for the File to be processed and verified. ProjectManager may reject File uploads that contain problems such as malware. Once a File has completed the upload the process, you may retrieve it using the DownloadFile API. /// /// - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - public async Task> UploadHomeFile(string filename, string xintegrationname = null) + public async Task> UploadHomeFile(string filename) { var url = $"/api/data/home/files"; return await _client.Request(HttpMethod.Post, url, null, null, filename); @@ -65,9 +64,8 @@ public async Task> UploadHomeFile(string filename, string x /// /// /// The reference to the sub folder to put the file into - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - public async Task> UploadHomeFileToFolder(Guid folderId, string filename, string xintegrationname = null) + public async Task> UploadHomeFileToFolder(Guid folderId, string filename) { var url = $"/api/data/home/folders/{folderId}/files"; return await _client.Request(HttpMethod.Post, url, null, null, filename); diff --git a/src/Clients/IntegrationCategoryClient.cs b/src/Clients/IntegrationCategoryClient.cs index b6e46d1..bfeb298 100644 --- a/src/Clients/IntegrationCategoryClient.cs +++ b/src/Clients/IntegrationCategoryClient.cs @@ -44,8 +44,7 @@ public IntegrationCategoryClient(ProjectManagerClient client) /// An IntegrationProvider is the name of an external application or service that can be connected to ProjectManager.com. The Integrations API is intended for use by ProjectManager and its business development partners. Please contact ProjectManager's sales team to request use of this API. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProviderCategories(string xintegrationname = null) + public async Task> RetrieveProviderCategories() { var url = $"/api/data/integrations/categories"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/IntegrationClient.cs b/src/Clients/IntegrationClient.cs index f37fe0c..815b35c 100644 --- a/src/Clients/IntegrationClient.cs +++ b/src/Clients/IntegrationClient.cs @@ -45,8 +45,7 @@ public IntegrationClient(ProjectManagerClient client) /// /// /// The unique identifier of this Integration - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveIntegration(Guid integrationId, string xintegrationname = null) + public async Task> RetrieveIntegration(Guid integrationId) { var url = $"/api/data/integrations/{integrationId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -59,8 +58,7 @@ public async Task> RetrieveIntegration(Guid integrat /// /// /// The unique identifier of the Integration to enable - /// The name of the calling system passed along as a header parameter - public async Task> EnableIntegration(Guid integrationId, string xintegrationname = null) + public async Task> EnableIntegration(Guid integrationId) { var url = $"/api/data/integrations/{integrationId}"; return await _client.Request(HttpMethod.Post, url, null, null, null); @@ -73,8 +71,7 @@ public async Task> EnableIntegration(Guid integratio /// /// /// The unique identifier of the Integration to disable - /// The name of the calling system passed along as a header parameter - public async Task> DisableIntegration(Guid integrationId, string xintegrationname = null) + public async Task> DisableIntegration(Guid integrationId) { var url = $"/api/data/integrations/{integrationId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -86,8 +83,7 @@ public async Task> DisableIntegration(Guid integrationId, st /// The Integrations API is intended for use by ProjectManager and its business development partners. Please contact ProjectManager's sales team to request use of this API. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveAllIntegrations(string xintegrationname = null) + public async Task> RetrieveAllIntegrations() { var url = $"/api/data/integrations"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/IntegrationProviderClient.cs b/src/Clients/IntegrationProviderClient.cs index a8f7d65..fa6ffc0 100644 --- a/src/Clients/IntegrationProviderClient.cs +++ b/src/Clients/IntegrationProviderClient.cs @@ -44,8 +44,7 @@ public IntegrationProviderClient(ProjectManagerClient client) /// An IntegrationProvider is the name of an external application or service that can be connected to ProjectManager.com. The Integrations API is intended for use by ProjectManager and its business development partners. Please contact ProjectManager's sales team to request use of this API. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> ListProviders(string xintegrationname = null) + public async Task> ListProviders() { var url = $"/api/data/integrations/providers"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -58,8 +57,7 @@ public async Task> ListProviders(string xi /// /// /// The unique identifier of the IntegrationProvider for which you are requesting authentication information - /// The name of the calling system passed along as a header parameter - public async Task> ActivateIntegrationProvider(Guid providerId, string xintegrationname = null) + public async Task> ActivateIntegrationProvider(Guid providerId) { var url = $"/api/data/integrations/providers/{providerId}"; return await _client.Request(HttpMethod.Post, url, null, null, null); @@ -70,9 +68,8 @@ public async Task> ActivateIntegrationProvider( /// /// /// The identifier to the provider - /// The name of the calling system passed along as a header parameter /// Specify the auth status - public async Task> UpdateIntegrationProvider(Guid providerId, AuthenticationDto body, string xintegrationname = null) + public async Task> UpdateIntegrationProvider(Guid providerId, AuthenticationDto body) { var url = $"/api/data/integrations/providers/{providerId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -83,8 +80,7 @@ public async Task> UpdateIntegrationProvider(Guid providerId /// /// /// The identifier to the provider - /// The name of the calling system passed along as a header parameter - public async Task> DeactivateIntegrationProvider(Guid providerId, string xintegrationname = null) + public async Task> DeactivateIntegrationProvider(Guid providerId) { var url = $"/api/data/integrations/providers/{providerId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -97,8 +93,7 @@ public async Task> DeactivateIntegrationProvider(Guid provid /// /// /// The unique identifier of the IntegrationProvider for which you are requesting authentication information - /// The name of the calling system passed along as a header parameter - public async Task> CreateUserIntegrationProviderConnection(Guid providerId, string xintegrationname = null) + public async Task> CreateUserIntegrationProviderConnection(Guid providerId) { var url = $"/api/data/integrations/providers/{providerId}/user-connection"; return await _client.Request(HttpMethod.Post, url, null, null, null); @@ -109,9 +104,8 @@ public async Task> CreateUserIntegrationProviderConne /// /// /// The identifier to the provider - /// The name of the calling system passed along as a header parameter /// Specify the auth status - public async Task> UpdateUserIntegrationProviderConnection(Guid providerId, AuthenticationStatusDto body, string xintegrationname = null) + public async Task> UpdateUserIntegrationProviderConnection(Guid providerId, AuthenticationStatusDto body) { var url = $"/api/data/integrations/providers/{providerId}/user-connection"; return await _client.Request(HttpMethod.Put, url, null, body, null); diff --git a/src/Clients/LicenseClient.cs b/src/Clients/LicenseClient.cs index 0670078..7d77421 100644 --- a/src/Clients/LicenseClient.cs +++ b/src/Clients/LicenseClient.cs @@ -44,8 +44,7 @@ public LicenseClient(ProjectManagerClient client) /// Licenses contain information about your current subscription level and features that have been enabled on your Workspace. To modify the License information, please log on to the ProjectManager.com application and use the Account | Editions screen to review or update your Licenses. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveLicenses(string xintegrationname = null) + public async Task> RetrieveLicenses() { var url = $"/api/data/license"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -58,8 +57,7 @@ public async Task> RetrieveLicenses(string xintegratio /// /// /// Information about the SKU you wish to add to your Workspace - /// The name of the calling system passed along as a header parameter - public async Task> AddLicense(string bundleSku, string xintegrationname = null) + public async Task> AddLicense(string bundleSku) { var url = $"/api/data/license/{bundleSku}/try"; return await _client.Request(HttpMethod.Post, url, null, null, null); diff --git a/src/Clients/MeClient.cs b/src/Clients/MeClient.cs index bad3bb2..35733c1 100644 --- a/src/Clients/MeClient.cs +++ b/src/Clients/MeClient.cs @@ -44,8 +44,7 @@ public MeClient(ProjectManagerClient client) /// This API call will always succeed with a 200 OK if called with valid authentication information. If the authentication information provided is not valid, calling this API will return a 401 Authentication Failed error message. If successful, this API returns information about the user including its home URL, email address, user name, and workspace name. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveMe(string xintegrationname = null) + public async Task> RetrieveMe() { var url = $"/api/data/me"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectChargeCodeClient.cs b/src/Clients/ProjectChargeCodeClient.cs index df02801..d643f96 100644 --- a/src/Clients/ProjectChargeCodeClient.cs +++ b/src/Clients/ProjectChargeCodeClient.cs @@ -44,8 +44,7 @@ public ProjectChargeCodeClient(ProjectManagerClient client) /// A ChargeCode is a code used to identify costs within your Projects. Each ChargeCode has a name and a unique identifier. ChargeCodes are defined per Workspace and are shared among Projects. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveChargeCodes(string xintegrationname = null) + public async Task> RetrieveChargeCodes() { var url = $"/api/data/projects/chargecodes"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectClient.cs b/src/Clients/ProjectClient.cs index 07f03a9..4e59c7b 100644 --- a/src/Clients/ProjectClient.cs +++ b/src/Clients/ProjectClient.cs @@ -44,14 +44,13 @@ public ProjectClient(ProjectManagerClient client) /// A Project is a collection of Tasks that contributes towards a goal. Within a Project, Tasks represent individual items of work that team members must complete. The sum total of Tasks within a Project represents the work to be completed for that Project. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> QueryProjects(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> QueryProjects(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/projects"; var options = new Dictionary(); @@ -70,9 +69,8 @@ public async Task> QueryProjects(string xintegrationna /// A Project is a collection of Tasks that contributes towards a goal. Within a Project, Tasks represent individual items of work that team members must complete. The sum total of Tasks within a Project represents the work to be completed for that Project. /// /// - /// The name of the calling system passed along as a header parameter /// Information about the Project you wish to create - public async Task> CreateProject(ProjectCreateDto body, string xintegrationname = null) + public async Task> CreateProject(ProjectCreateDto body) { var url = $"/api/data/projects"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -85,8 +83,7 @@ public async Task> CreateProject(ProjectCreateDto body, /// /// /// The unique identifier of the Project to retrieve. - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProject(string projectId, string xintegrationname = null) + public async Task> RetrieveProject(string projectId) { var url = $"/api/data/projects/{projectId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -101,9 +98,8 @@ public async Task> RetrieveProject(string projectId, str /// /// /// The unique identifier of the Project to update - /// The name of the calling system passed along as a header parameter /// All non-null fields in this object will replace previous data within the Project - public async Task> UpdateProject(Guid projectId, ProjectUpdateDto body, string xintegrationname = null) + public async Task> UpdateProject(Guid projectId, ProjectUpdateDto body) { var url = $"/api/data/projects/{projectId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); diff --git a/src/Clients/ProjectCustomerClient.cs b/src/Clients/ProjectCustomerClient.cs index 687e1bf..085f91e 100644 --- a/src/Clients/ProjectCustomerClient.cs +++ b/src/Clients/ProjectCustomerClient.cs @@ -44,8 +44,7 @@ public ProjectCustomerClient(ProjectManagerClient client) /// A ProjectCustomer is a code used to identify costs within your Projects. Each ProjectCustomer has a name and a unique identifier. ProjectCustomers are defined per Workspace and are shared among Projects. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectCustomers(string xintegrationname = null) + public async Task> RetrieveProjectCustomers() { var url = $"/api/data/projects/customers"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectFieldClient.cs b/src/Clients/ProjectFieldClient.cs index 4d94f44..f531553 100644 --- a/src/Clients/ProjectFieldClient.cs +++ b/src/Clients/ProjectFieldClient.cs @@ -44,8 +44,7 @@ public ProjectFieldClient(ProjectManagerClient client) /// A ProjectField is a custom field defined within your Workspace. You can define ProjectFields for any integration purpose that is important to your business. Each ProjectField has a data type as well as options in how it is handled. ProjectFields can be edited for each Project within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectFields(string xintegrationname = null) + public async Task> RetrieveProjectFields() { var url = $"/api/data/projects/fields"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -57,9 +56,8 @@ public async Task> RetrieveProjectFie /// A ProjectField is a custom field defined within your Workspace. You can define ProjectFields for any integration purpose that is important to your business. Each ProjectField has a data type as well as options in how it is handled. ProjectFields can be edited for each Project within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter /// Information about the ProjectField to create - public async Task> CreateProjectField(CreateProjectFieldDto body, string xintegrationname = null) + public async Task> CreateProjectField(CreateProjectFieldDto body) { var url = $"/api/data/projects/fields"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -71,9 +69,8 @@ public async Task> CreateProjectField /// A ProjectField is a custom field defined within your Workspace. You can define ProjectFields for any integration purpose that is important to your business. Each ProjectField has a data type as well as options in how it is handled. ProjectFields can be edited for each Project within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter /// The identity of the ProjectField to delete - public async Task> DeleteProjectField(DeleteProjectFieldDto body, string xintegrationname = null) + public async Task> DeleteProjectField(DeleteProjectFieldDto body) { var url = $"/api/data/projects/fields"; return await _client.Request(HttpMethod.Delete, url, null, body, null); @@ -87,9 +84,8 @@ public async Task> DeleteProjectField(DeleteProjectFieldDto /// /// The unique identifier of the Project that contains this ProjectField /// The unique identifier of this ProjectField - /// The name of the calling system passed along as a header parameter /// The new information for this ProjectField - public async Task> UpdateProjectField(Guid projectId, Guid fieldId, UpdateProjectFieldValueDto body, string xintegrationname = null) + public async Task> UpdateProjectField(Guid projectId, Guid fieldId, UpdateProjectFieldValueDto body) { var url = $"/api/data/projects/{projectId}/fields/{fieldId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -101,8 +97,7 @@ public async Task> UpdateProjectField(Guid projectId, Guid f /// /// The unique identifier of the Project of the value to retrieve /// The unique identifier of the ProjectField of the value to retrieve - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectFieldValue(Guid projectId, Guid fieldId, string xintegrationname = null) + public async Task> RetrieveProjectFieldValue(Guid projectId, Guid fieldId) { var url = $"/api/data/projects/{projectId}/fields/{fieldId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -113,8 +108,7 @@ public async Task> RetrieveProjectFie /// /// /// The unique identifier of the Project for which we want ProjectField values - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveAllProjectFieldValues(Guid projectId, string xintegrationname = null) + public async Task> RetrieveAllProjectFieldValues(Guid projectId) { var url = $"/api/data/projects/{projectId}/fields"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectFileClient.cs b/src/Clients/ProjectFileClient.cs index f477137..2965871 100644 --- a/src/Clients/ProjectFileClient.cs +++ b/src/Clients/ProjectFileClient.cs @@ -47,9 +47,8 @@ public ProjectFileClient(ProjectManagerClient client) /// /// /// The reference to the project - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - public async Task> UploadProjectFile(Guid projectId, string filename, string xintegrationname = null) + public async Task> UploadProjectFile(Guid projectId, string filename) { var url = $"/api/data/projects/{projectId}/files"; return await _client.Request(HttpMethod.Post, url, null, null, filename); @@ -67,9 +66,8 @@ public async Task> UploadProjectFile(Guid projectId, string /// /// The reference to the project /// The reference to the sub folder to put the file into - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - public async Task> UploadProjectFileToFolder(Guid projectId, Guid folderId, string filename, string xintegrationname = null) + public async Task> UploadProjectFileToFolder(Guid projectId, Guid folderId, string filename) { var url = $"/api/data/projects/{projectId}/folders/{folderId}/files"; return await _client.Request(HttpMethod.Post, url, null, null, filename); diff --git a/src/Clients/ProjectFolderClient.cs b/src/Clients/ProjectFolderClient.cs index 09f1c05..719c81a 100644 --- a/src/Clients/ProjectFolderClient.cs +++ b/src/Clients/ProjectFolderClient.cs @@ -44,8 +44,7 @@ public ProjectFolderClient(ProjectManagerClient client) /// A ProjectFolder is a named storage location that can contain Projects. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectFolders(string xintegrationname = null) + public async Task> RetrieveProjectFolders() { var url = $"/api/data/project-folders"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectMembersClient.cs b/src/Clients/ProjectMembersClient.cs index de8f83f..39e4dbc 100644 --- a/src/Clients/ProjectMembersClient.cs +++ b/src/Clients/ProjectMembersClient.cs @@ -42,8 +42,7 @@ public ProjectMembersClient(ProjectManagerClient client) /// Returns a list of membership options for new projects. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveNewProjectMembers(string xintegrationname = null) + public async Task> RetrieveNewProjectMembers() { var url = $"/api/data/projects/members"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -55,8 +54,7 @@ public async Task> RetrieveNewProjectMembers(str /// /// Reference to the project /// Set to true to include all users in the workspace - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectMembers(Guid projectId, bool? includeAllUsers = null, string xintegrationname = null) + public async Task> RetrieveProjectMembers(Guid projectId, bool? includeAllUsers = null) { var url = $"/api/data/projects/{projectId}/members"; var options = new Dictionary(); @@ -70,8 +68,7 @@ public async Task> RetrieveProjectMembers(Guid p /// /// Reference of Project /// Reference of User - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveUserProjectMemberShip(Guid projectId, Guid userId, string xintegrationname = null) + public async Task> RetrieveUserProjectMemberShip(Guid projectId, Guid userId) { var url = $"/api/data/projects/{projectId}/members/{userId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -83,9 +80,8 @@ public async Task> RetrieveUserProjectMemberShip(G /// /// Reference to Project /// Reference to User - /// The name of the calling system passed along as a header parameter /// The permission to set - public async Task> CreateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body, string xintegrationname = null) + public async Task> CreateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body) { var url = $"/api/data/projects/{projectId}/members/{userId}"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -97,9 +93,8 @@ public async Task> CreateUserProjectMembership(Gui /// /// Reference to Project /// Reference to User - /// The name of the calling system passed along as a header parameter /// The permission to update - public async Task> UpdateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body, string xintegrationname = null) + public async Task> UpdateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body) { var url = $"/api/data/projects/{projectId}/members/{userId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -111,8 +106,7 @@ public async Task> UpdateUserProjectMembership(Gui /// /// Reference to Project /// Reference to User - /// The name of the calling system passed along as a header parameter - public async Task> RemoveUserProjectMembership(Guid projectId, Guid userId, string xintegrationname = null) + public async Task> RemoveUserProjectMembership(Guid projectId, Guid userId) { var url = $"/api/data/projects/{projectId}/members/{userId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); diff --git a/src/Clients/ProjectPriorityClient.cs b/src/Clients/ProjectPriorityClient.cs index 91f2220..f934315 100644 --- a/src/Clients/ProjectPriorityClient.cs +++ b/src/Clients/ProjectPriorityClient.cs @@ -46,8 +46,7 @@ public ProjectPriorityClient(ProjectManagerClient client) /// Note that TaskPriority and ProjectPriority are different classes of priority levels. Even if they may have similar names, they are different objects and must be tracked separately. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectPriorities(string xintegrationname = null) + public async Task> RetrieveProjectPriorities() { var url = $"/api/data/projects/priorities"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectStatusClient.cs b/src/Clients/ProjectStatusClient.cs index 0f908ea..ef1bfca 100644 --- a/src/Clients/ProjectStatusClient.cs +++ b/src/Clients/ProjectStatusClient.cs @@ -44,8 +44,7 @@ public ProjectStatusClient(ProjectManagerClient client) /// A ProjectStatus is a named condition used by your business to categorize the completion level of Tasks and Projects within your Workspace. You can name your ProjectStatus levels anything you like and you can reorganize the order of the ProjectPriority levels at any time. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectStatuses(string xintegrationname = null) + public async Task> RetrieveProjectStatuses() { var url = $"/api/data/projects/statuses"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ProjectTemplateClient.cs b/src/Clients/ProjectTemplateClient.cs index 2da78ff..da9976e 100644 --- a/src/Clients/ProjectTemplateClient.cs +++ b/src/Clients/ProjectTemplateClient.cs @@ -44,8 +44,7 @@ public ProjectTemplateClient(ProjectManagerClient client) /// A ProjectTemplate is a definition of default project related data (eg. Tasks) that can be applied to a new project when it is created. ProjectTemplates are categorized using the TemplateCategory system. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveProjectTemplates(string xintegrationname = null) + public async Task> RetrieveProjectTemplates() { var url = $"/api/data/projects/templates"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -57,8 +56,7 @@ public async Task> RetrieveProjectTemplates(st /// A ProjectTemplate is a definition of default project related data (eg. Tasks) that can be applied to a new project when it is created. ProjectTemplates are categorized using the TemplateCategory system. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTemplateCategories(string xintegrationname = null) + public async Task> RetrieveTemplateCategories() { var url = $"/api/data/projects/templates/categories"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ResourceClient.cs b/src/Clients/ResourceClient.cs index 08f44a3..659bf22 100644 --- a/src/Clients/ResourceClient.cs +++ b/src/Clients/ResourceClient.cs @@ -44,9 +44,8 @@ public ResourceClient(ProjectManagerClient client) /// A Resource represents a person, material, or tool that is used within your Projects. When you attach a Resources to more than one Task, the software will schedule the usage of your Resource so that it is not allocated to more than one Task at the same time. The users in your Workspace are also considered Resources. To invite a new User to your Workspace, create a new Resource for that user. /// /// - /// The name of the calling system passed along as a header parameter /// The details for the new Resource to create - public async Task> CreateResource(ResourceCreateDto body, string xintegrationname = null) + public async Task> CreateResource(ResourceCreateDto body) { var url = $"/api/data/resources"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -58,14 +57,13 @@ public async Task> CreateResource(ResourceCreateDto bod /// A Resource represents a person, material, or tool that is used within your Projects. When you attach a Resources to more than one Task, the software will schedule the usage of your Resource so that it is not allocated to more than one Task at the same time. The users in your Workspace are also considered Resources. To invite a new User to your Workspace, create a new Resource for that user. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> QueryResources(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> QueryResources(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/resources"; var options = new Dictionary(); @@ -85,9 +83,8 @@ public async Task> QueryResources(string xintegration /// /// /// The id of the resource - /// The name of the calling system passed along as a header parameter /// The information to update the resource - public async Task> UpdateResource(Guid resourceId, ResourceUpdateDto body, string xintegrationname = null) + public async Task> UpdateResource(Guid resourceId, ResourceUpdateDto body) { var url = $"/api/data/resources/{resourceId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -100,8 +97,7 @@ public async Task> UpdateResource(Guid resourceId, Reso /// /// /// The id of the Resource - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveResource(Guid resourceId, string xintegrationname = null) + public async Task> RetrieveResource(Guid resourceId) { var url = $"/api/data/resources/{resourceId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/ResourceSkillClient.cs b/src/Clients/ResourceSkillClient.cs index 94fedf7..7f9f32c 100644 --- a/src/Clients/ResourceSkillClient.cs +++ b/src/Clients/ResourceSkillClient.cs @@ -44,14 +44,13 @@ public ResourceSkillClient(ProjectManagerClient client) /// A ResourceSkill is a capability possessed by a Resource that can be used to distinguish different classes of Resources suitable for use by a Task. You can specify that a Task requires a Resource with a particular set of ResourceSkills and then allocate Resources based on whether or not they have the suitable ResourceSkills. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> RetrieveResourceSkills(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> RetrieveResourceSkills(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/resources/skills"; var options = new Dictionary(); @@ -68,9 +67,8 @@ public async Task> RetrieveResourceSkills(string /// Create a Resource Skill. /// /// - /// The name of the calling system passed along as a header parameter /// The name of the skill to create. - public async Task> CreateResourceSkill(CreateResourceSkillDto body, string xintegrationname = null) + public async Task> CreateResourceSkill(CreateResourceSkillDto body) { var url = $"/api/data/resources/skills"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -81,9 +79,8 @@ public async Task> CreateResourceSkill(CreateResou /// /// /// The id of the skill to update. - /// The name of the calling system passed along as a header parameter /// The data of the skill to update. - public async Task> UpdateResourceSkill(Guid skillId, UpdateResourceSkillDto body, string xintegrationname = null) + public async Task> UpdateResourceSkill(Guid skillId, UpdateResourceSkillDto body) { var url = $"/api/data/resources/skills/{skillId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -94,8 +91,7 @@ public async Task> UpdateResourceSkill(Guid skillI /// /// /// The Id of the skill to be removed. - /// The name of the calling system passed along as a header parameter - public async Task> DeleteResourceSkill(Guid resourceSkillId, string xintegrationname = null) + public async Task> DeleteResourceSkill(Guid resourceSkillId) { var url = $"/api/data/resources/skills/{resourceSkillId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); diff --git a/src/Clients/ResourceTeamClient.cs b/src/Clients/ResourceTeamClient.cs index 9f7f913..daf0be1 100644 --- a/src/Clients/ResourceTeamClient.cs +++ b/src/Clients/ResourceTeamClient.cs @@ -44,14 +44,13 @@ public ResourceTeamClient(ProjectManagerClient client) /// A ResourceTeam is a grouping of Resources that allows you to keep track of assignments in a manner consistent with your business needs. You can assign Resources to be members of zero, one, or many ResourceTeams. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> RetrieveResourceTeams(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> RetrieveResourceTeams(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/resources/teams"; var options = new Dictionary(); @@ -68,9 +67,8 @@ public async Task> RetrieveResourceTeams(string x /// Create a Resource Team. /// /// - /// The name of the calling system passed along as a header parameter /// The name of the team to create. - public async Task> CreateResourceTeam(CreateResourceTeamDto body, string xintegrationname = null) + public async Task> CreateResourceTeam(CreateResourceTeamDto body) { var url = $"/api/data/resources/teams"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -81,8 +79,7 @@ public async Task> CreateResourceTeam(CreateResourc /// /// /// The Id of the team to be removed. - /// The name of the calling system passed along as a header parameter - public async Task> DeleteResourceTeam(Guid resourceTeamId, string xintegrationname = null) + public async Task> DeleteResourceTeam(Guid resourceTeamId) { var url = $"/api/data/resources/teams/{resourceTeamId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -93,9 +90,8 @@ public async Task> DeleteResourceTeam(Guid resourceTeamId, s /// /// /// The id of the resource team - /// The name of the calling system passed along as a header parameter /// The name of the team to Update. - public async Task> UpdateResourceTeam(Guid teamresourceId, UpdateResourceTeamDto body, string xintegrationname = null) + public async Task> UpdateResourceTeam(Guid teamresourceId, UpdateResourceTeamDto body) { var url = $"/api/data/resources/teams/{teamresourceId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); diff --git a/src/Clients/TagClient.cs b/src/Clients/TagClient.cs index 5f78d35..11d0620 100644 --- a/src/Clients/TagClient.cs +++ b/src/Clients/TagClient.cs @@ -44,14 +44,13 @@ public TagClient(ProjectManagerClient client) /// A Tag is a named categorization you can use to distinguish objects from each other. Tags each have a unique identifier, a name, and a color. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> QueryTags(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> QueryTags(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/tags"; var options = new Dictionary(); @@ -70,9 +69,8 @@ public async Task> QueryTags(string xintegrationname = nul /// A Tag is a named categorization you can use to distinguish objects from each other. Tags each have a unique identifier, a name, and a color. /// /// - /// The name of the calling system passed along as a header parameter /// The information for the new Tag to create - public async Task> CreateTag(TagCreateDto body, string xintegrationname = null) + public async Task> CreateTag(TagCreateDto body) { var url = $"/api/data/tags"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -85,9 +83,8 @@ public async Task> CreateTag(TagCreateDto body, string xinte /// /// /// The id of the tag - /// The name of the calling system passed along as a header parameter /// The information to update the tag - public async Task> UpdateTag(Guid tagId, TagUpdateDto body, string xintegrationname = null) + public async Task> UpdateTag(Guid tagId, TagUpdateDto body) { var url = $"/api/data/tags/{tagId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); diff --git a/src/Clients/TaskAssigneeClient.cs b/src/Clients/TaskAssigneeClient.cs index c155cee..6ab5395 100644 --- a/src/Clients/TaskAssigneeClient.cs +++ b/src/Clients/TaskAssigneeClient.cs @@ -45,9 +45,8 @@ public TaskAssigneeClient(ProjectManagerClient client) /// /// /// The unique identifier of the Task whose TaskAssignees will be replaced - /// The name of the calling system passed along as a header parameter /// The new list of TaskAssignees for this Task - public async Task> ReplaceTaskAssignees(Guid taskId, AssigneeUpsertDto[] body, string xintegrationname = null) + public async Task> ReplaceTaskAssignees(Guid taskId, AssigneeUpsertDto[] body) { var url = $"/api/data/tasks/{taskId}/assignees"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -60,9 +59,8 @@ public async Task> ReplaceTaskAssignees(Guid tas /// /// /// The unique identifier of the Task to add or update an assignment - /// The name of the calling system passed along as a header parameter /// List of Assignee data - public async Task> CreateOrUpdateTaskAssignee(Guid taskId, AssigneeUpsertDto[] body, string xintegrationname = null) + public async Task> CreateOrUpdateTaskAssignee(Guid taskId, AssigneeUpsertDto[] body) { var url = $"/api/data/tasks/{taskId}/assignees"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -75,9 +73,8 @@ public async Task> CreateOrUpdateTaskAssignee(Gu /// /// /// The unique identifier of the Task whose TaskAssignee will be removed - /// The name of the calling system passed along as a header parameter /// List of TaskAssignee records to remove - public async Task> DeleteTaskAssignees(Guid taskId, IdDto[] body, string xintegrationname = null) + public async Task> DeleteTaskAssignees(Guid taskId, IdDto[] body) { var url = $"/api/data/tasks/{taskId}/assignees"; return await _client.Request(HttpMethod.Delete, url, null, body, null); diff --git a/src/Clients/TaskClient.cs b/src/Clients/TaskClient.cs index fdb60f2..293ce43 100644 --- a/src/Clients/TaskClient.cs +++ b/src/Clients/TaskClient.cs @@ -44,14 +44,13 @@ public TaskClient(ProjectManagerClient client) /// A Task is an individual element of work that must be performed to complete a Project. A Task can have one or more Resources assigned to it. Tasks can be linked to other Tasks to indicate whether they have a dependency or a connection. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> QueryTasks(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> QueryTasks(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/tasks"; var options = new Dictionary(); @@ -71,8 +70,7 @@ public async Task> QueryTasks(string xintegrationname = n /// /// /// The unique identifier or short ID of the Task to retrieve - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTask(string taskId, string xintegrationname = null) + public async Task> RetrieveTask(string taskId) { var url = $"/api/data/tasks/{taskId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -89,9 +87,8 @@ public async Task> RetrieveTask(string taskId, strin /// /// /// The unique identifier of the Task to update - /// The name of the calling system passed along as a header parameter /// All non-null fields in this object will replace existing data in the Task - public async Task> UpdateTask(Guid taskId, TaskUpdateDto body, string xintegrationname = null) + public async Task> UpdateTask(Guid taskId, TaskUpdateDto body) { var url = $"/api/data/tasks/{taskId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -106,8 +103,7 @@ public async Task> UpdateTask(Guid taskId, TaskU /// /// /// Unique identifier of the Task to delete - /// The name of the calling system passed along as a header parameter - public async Task> DeleteTask(Guid taskId, string xintegrationname = null) + public async Task> DeleteTask(Guid taskId) { var url = $"/api/data/tasks/{taskId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -120,9 +116,8 @@ public async Task> DeleteTask(Guid taskId, strin /// /// /// The unique identifier of the Project that will contain this Task - /// The name of the calling system passed along as a header parameter /// The new Task to create - public async Task> CreateTask(Guid projectId, TaskCreateDto body, string xintegrationname = null) + public async Task> CreateTask(Guid projectId, TaskCreateDto body) { var url = $"/api/data/projects/{projectId}/tasks"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -136,8 +131,7 @@ public async Task> CreateTask(Guid projectId, Ta /// Note that TaskPriority and ProjectPriority are different classes of priority levels. Even if they may have similar names, they are different objects and must be tracked separately. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTaskPriorities(string xintegrationname = null) + public async Task> RetrieveTaskPriorities() { var url = $"/api/data/tasks/priorities"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -150,9 +144,8 @@ public async Task> RetrieveTaskPriorities(string /// /// /// The unique identifier of the Project that will contain these Tasks - /// The name of the calling system passed along as a header parameter /// The list of new Tasks to create - public async Task> CreateManyTasks(Guid projectId, TaskCreateDto[] body, string xintegrationname = null) + public async Task> CreateManyTasks(Guid projectId, TaskCreateDto[] body) { var url = $"/api/data/projects/{projectId}/tasks/bulk"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -164,8 +157,7 @@ public async Task> CreateManyTasks(Guid projec /// /// The task that will become the child /// The parent task - /// The name of the calling system passed along as a header parameter - public async Task> AddParentTask(Guid taskId, Guid parentTaskId, string xintegrationname = null) + public async Task> AddParentTask(Guid taskId, Guid parentTaskId) { var url = $"/api/data/tasks/{taskId}/parent/{parentTaskId}"; return await _client.Request(HttpMethod.Post, url, null, null, null); @@ -177,8 +169,7 @@ public async Task> AddParentTask(Guid taskId, Gu /// /// The task that will become the child /// The parent task - /// The name of the calling system passed along as a header parameter - public async Task> UpdateParentTask(Guid taskId, Guid parentTaskId, string xintegrationname = null) + public async Task> UpdateParentTask(Guid taskId, Guid parentTaskId) { var url = $"/api/data/tasks/{taskId}/parent/{parentTaskId}"; return await _client.Request(HttpMethod.Put, url, null, null, null); @@ -189,8 +180,7 @@ public async Task> UpdateParentTask(Guid taskId, /// /// /// The child task - /// The name of the calling system passed along as a header parameter - public async Task> RemoveParentTask(Guid taskId, string xintegrationname = null) + public async Task> RemoveParentTask(Guid taskId) { var url = $"/api/data/tasks/{taskId}/parent"; return await _client.Request(HttpMethod.Delete, url, null, null, null); diff --git a/src/Clients/TaskFieldClient.cs b/src/Clients/TaskFieldClient.cs index 0edee28..9cedd70 100644 --- a/src/Clients/TaskFieldClient.cs +++ b/src/Clients/TaskFieldClient.cs @@ -45,8 +45,7 @@ public TaskFieldClient(ProjectManagerClient client) /// /// /// The unique identifier of the Project to retrieve TaskFields - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTaskFields(Guid projectId, string xintegrationname = null) + public async Task> RetrieveTaskFields(Guid projectId) { var url = $"/api/data/projects/{projectId}/tasks/fields"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -59,9 +58,8 @@ public async Task> RetrieveTaskFields(Gu /// /// /// The unique identifier of the Project within which to create this TaskField - /// The name of the calling system passed along as a header parameter /// Information about the TaskField to create - public async Task> CreateTaskField(Guid projectId, CreateTaskFieldRequestDto body, string xintegrationname = null) + public async Task> CreateTaskField(Guid projectId, CreateTaskFieldRequestDto body) { var url = $"/api/data/projects/{projectId}/tasks/fields"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -75,8 +73,7 @@ public async Task> CreateTaskField(Guid projectI /// /// The unique identifier of the Project that contains this TaskField /// The unique identifier of the TaskField to delete - /// The name of the calling system passed along as a header parameter - public async Task> DeleteTaskField(Guid projectId, Guid fieldId, string xintegrationname = null) + public async Task> DeleteTaskField(Guid projectId, Guid fieldId) { var url = $"/api/data/projects/{projectId}/tasks/fields/{fieldId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -90,8 +87,7 @@ public async Task> DeleteTaskField(Guid projectId, Guid fiel /// /// The unique identifier of the Task of the value to retrieve /// The unique identifier of the TaskField of the value to retrieve - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTaskFieldValue(Guid taskId, Guid fieldId, string xintegrationname = null) + public async Task> RetrieveTaskFieldValue(Guid taskId, Guid fieldId) { var url = $"/api/data/tasks/{taskId}/fields/{fieldId}"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -105,9 +101,8 @@ public async Task> RetrieveTaskFieldValu /// /// The unique identifier of the Task whose value you wish to update /// The unique identifier of the TaskField whose value you wish to update - /// The name of the calling system passed along as a header parameter /// The new value for this TaskField for this Task - public async Task> UpdateTaskFieldValue(Guid taskId, Guid fieldId, UpdateTaskFieldValueDto body, string xintegrationname = null) + public async Task> UpdateTaskFieldValue(Guid taskId, Guid fieldId, UpdateTaskFieldValueDto body) { var url = $"/api/data/tasks/{taskId}/fields/{fieldId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -120,8 +115,7 @@ public async Task> UpdateTaskFieldValue(Guid tas /// /// /// The unique identifier of the Task for which we want TaskField values - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveAllTaskFieldValues(Guid taskId, string xintegrationname = null) + public async Task> RetrieveAllTaskFieldValues(Guid taskId) { var url = $"/api/data/tasks/{taskId}/fields"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/TaskFileClient.cs b/src/Clients/TaskFileClient.cs index f9766e7..a260374 100644 --- a/src/Clients/TaskFileClient.cs +++ b/src/Clients/TaskFileClient.cs @@ -47,9 +47,8 @@ public TaskFileClient(ProjectManagerClient client) /// /// /// The reference to the task - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - public async Task> UploadTaskFile(Guid taskId, string filename, string xintegrationname = null) + public async Task> UploadTaskFile(Guid taskId, string filename) { var url = $"/api/data/tasks/{taskId}/files"; return await _client.Request(HttpMethod.Post, url, null, null, filename); diff --git a/src/Clients/TaskStatusClient.cs b/src/Clients/TaskStatusClient.cs index 5f7873d..4dc6f6e 100644 --- a/src/Clients/TaskStatusClient.cs +++ b/src/Clients/TaskStatusClient.cs @@ -45,8 +45,7 @@ public TaskStatusClient(ProjectManagerClient client) /// /// /// The unique identifier of the Project to retrieve TaskStatuses - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveTaskStatuses(Guid projectId, string xintegrationname = null) + public async Task> RetrieveTaskStatuses(Guid projectId) { var url = $"/api/data/projects/{projectId}/tasks/statuses"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -59,9 +58,8 @@ public async Task> RetrieveTaskStatuses(Guid projec /// /// /// The unique identifier of the Project for the new TaskStatus - /// The name of the calling system passed along as a header parameter /// Information about the new TaskStatus level to create within this Project - public async Task> CreateTaskStatus(Guid projectId, TaskStatusCreateDto body, string xintegrationname = null) + public async Task> CreateTaskStatus(Guid projectId, TaskStatusCreateDto body) { var url = $"/api/data/projects/{projectId}/tasks/statuses"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -74,9 +72,8 @@ public async Task> CreateTaskStatus(Guid projectId, T /// /// /// The unique identifier of the Project for the new TaskStatus - /// The name of the calling system passed along as a header parameter /// Information about the existing TaskStatus level to update within this Project - public async Task> UpdateTaskStatus(Guid projectId, TaskStatusUpdateDto body, string xintegrationname = null) + public async Task> UpdateTaskStatus(Guid projectId, TaskStatusUpdateDto body) { var url = $"/api/data/projects/{projectId}/tasks/statuses"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -90,8 +87,7 @@ public async Task> UpdateTaskStatus(Guid projectId, T /// /// The unique identifier of the Project for the TaskStatus level to delete /// The Id of the TaskStatus level to be removed. - /// The name of the calling system passed along as a header parameter - public async Task> DeleteTaskStatus(Guid projectId, Guid taskStatusId, string xintegrationname = null) + public async Task> DeleteTaskStatus(Guid projectId, Guid taskStatusId) { var url = $"/api/data/projects/{projectId}/tasks/statuses/{taskStatusId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); diff --git a/src/Clients/TaskTagClient.cs b/src/Clients/TaskTagClient.cs index 41cd478..8573384 100644 --- a/src/Clients/TaskTagClient.cs +++ b/src/Clients/TaskTagClient.cs @@ -45,9 +45,8 @@ public TaskTagClient(ProjectManagerClient client) /// /// /// The unique identifier of the Task for which we will replace TaskTags - /// The name of the calling system passed along as a header parameter /// The replacement list of TaskTags for this Task - public async Task> ReplaceTaskTags(Guid taskId, NameDto[] body, string xintegrationname = null) + public async Task> ReplaceTaskTags(Guid taskId, NameDto[] body) { var url = $"/api/data/tasks/{taskId}/tags"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -60,9 +59,8 @@ public async Task> ReplaceTaskTags(Guid taskId, /// /// /// The unique identifier of the Task for which we will add TaskTags - /// The name of the calling system passed along as a header parameter /// The new TaskTags to add to this Task - public async Task> AddTaskTagtoTask(Guid taskId, NameDto[] body, string xintegrationname = null) + public async Task> AddTaskTagtoTask(Guid taskId, NameDto[] body) { var url = $"/api/data/tasks/{taskId}/tags"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -75,9 +73,8 @@ public async Task> AddTaskTagtoTask(Guid taskId, /// /// /// The unique identifier of the Task for which we will remove existing TaskTags - /// The name of the calling system passed along as a header parameter /// The TaskTags to remove from this Task - public async Task> RemoveTaskTagfromTask(Guid taskId, NameDto[] body, string xintegrationname = null) + public async Task> RemoveTaskTagfromTask(Guid taskId, NameDto[] body) { var url = $"/api/data/tasks/{taskId}/tags"; return await _client.Request(HttpMethod.Delete, url, null, body, null); diff --git a/src/Clients/TimesheetClient.cs b/src/Clients/TimesheetClient.cs index dbd71a1..5f89c14 100644 --- a/src/Clients/TimesheetClient.cs +++ b/src/Clients/TimesheetClient.cs @@ -42,9 +42,8 @@ public TimesheetClient(ProjectManagerClient client) /// Creates new time entry for given resource on given day. /// /// - /// The name of the calling system passed along as a header parameter /// Payload - public async Task> Createtimeentry(TimesheetCreateRequestDto body, string xintegrationname = null) + public async Task> Createtimeentry(TimesheetCreateRequestDto body) { var url = $"/api/data/timesheets"; return await _client.Request(HttpMethod.Post, url, null, body, null); @@ -56,14 +55,13 @@ public async Task> Createtimeentry(TimesheetCr /// Time Sheets is a list of times per task /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - public async Task> QueryTimeSheets(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) + public async Task> QueryTimeSheets(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null) { var url = $"/api/data/timesheets"; var options = new Dictionary(); @@ -81,8 +79,7 @@ public async Task> QueryTimeSheets(string xintegrati /// /// /// time entry id - /// The name of the calling system passed along as a header parameter - public async Task> Deletetimeentry(Guid timesheetId, string xintegrationname = null) + public async Task> Deletetimeentry(Guid timesheetId) { var url = $"/api/data/timesheets/{timesheetId}"; return await _client.Request(HttpMethod.Delete, url, null, null, null); @@ -93,9 +90,8 @@ public async Task> Deletetimeentry(Guid timesheetId, string /// /// /// time entry id - /// The name of the calling system passed along as a header parameter /// payload - public async Task> Updatetimeentry(Guid timesheetId, TimesheetUpdateRequestDto body, string xintegrationname = null) + public async Task> Updatetimeentry(Guid timesheetId, TimesheetUpdateRequestDto body) { var url = $"/api/data/timesheets/{timesheetId}"; return await _client.Request(HttpMethod.Put, url, null, body, null); @@ -105,8 +101,7 @@ public async Task> Updatetimeentry(Guid timesh /// Returns active admin tasks that are used to report time not related to work on projects. I.e. annual/sick leave etc /// /// - /// The name of the calling system passed along as a header parameter - public async Task> Returnsactiveadmintasksthatareusedtoreporttime(string xintegrationname = null) + public async Task> Returnsactiveadmintasksthatareusedtoreporttime() { var url = $"/api/data/timesheets/admin-tasks"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/UserRoleClient.cs b/src/Clients/UserRoleClient.cs index 9a6ed24..6fa32ee 100644 --- a/src/Clients/UserRoleClient.cs +++ b/src/Clients/UserRoleClient.cs @@ -44,8 +44,7 @@ public UserRoleClient(ProjectManagerClient client) /// A UserRole is a name for a privilege level granted to a specific User. The 'Global Admin' UserRole is granted to the owner of the Workspace, and this UserRole cannot be changed. You can choose which UserRole applies to a User within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveUserRoles(string xintegrationname = null) + public async Task> RetrieveUserRoles() { var url = $"/api/data/users/roles"; return await _client.Request(HttpMethod.Get, url, null, null, null); diff --git a/src/Clients/WorkSpaceClient.cs b/src/Clients/WorkSpaceClient.cs index 4f1d698..1224238 100644 --- a/src/Clients/WorkSpaceClient.cs +++ b/src/Clients/WorkSpaceClient.cs @@ -44,8 +44,7 @@ public WorkSpaceClient(ProjectManagerClient client) /// A single User may have access to multiple Workspaces, although they can only be logged on to one Workspace at a time. This API lists all Workspaces to which the currently logged on user is entitled to access. To determine which Workspace a user is currently logged on use the `/api/data/me` endpoint. /// /// - /// The name of the calling system passed along as a header parameter - public async Task> RetrieveWorkspaces(string xintegrationname = null) + public async Task> RetrieveWorkspaces() { var url = $"/api/data/workspaces"; return await _client.Request(HttpMethod.Get, url, null, null, null); @@ -60,9 +59,8 @@ public async Task> RetrieveWorkspaces(string xintegr /// /// /// The unique identifier of the Organization that you are inviting a User to joi - /// The name of the calling system passed along as a header parameter /// Information about the user which will receive the invitation - public async Task> InvitetoWorkspace(string organizationId, WorkSpaceJoinDto body, string xintegrationname = null) + public async Task> InvitetoWorkspace(string organizationId, WorkSpaceJoinDto body) { var url = $"/api/data/workspaces/{organizationId}/join"; return await _client.Request(HttpMethod.Post, url, null, body, null); diff --git a/src/Interfaces/IApiKeyClient.cs b/src/Interfaces/IApiKeyClient.cs index e413af3..2e2c093 100644 --- a/src/Interfaces/IApiKeyClient.cs +++ b/src/Interfaces/IApiKeyClient.cs @@ -35,9 +35,8 @@ public interface IApiKeyClient /// Some best practices for working with API keys: * An API key is valid for a two year period after it is created. We encourage you to rotate your API keys regularly according to your company's security policies. * You should create separate API keys for each system that works with your API. If that API key is exposed or if that program needs to be shut down, you can revoke that one key and reissue it. * An API key is tied to the workspace that created it. A single API key can only interact with one workspace. /// /// - /// The name of the calling system passed along as a header parameter /// Options for the API key to create - Task> CreateApiKey(ApiKeyCreateDto body, string xintegrationname = null); + Task> CreateApiKey(ApiKeyCreateDto body); /// /// Returns a list of all API keys within the current workspace. @@ -47,8 +46,7 @@ public interface IApiKeyClient /// Some best practices for working with API keys: * An API key is valid for a two year period after it is created. We encourage you to rotate your API keys regularly according to your company's security policies. * You should create separate API keys for each system that works with your API. If that API key is exposed or if that program needs to be shut down, you can revoke that one key and reissue it. * An API key is tied to the workspace that created it. A single API key can only interact with one workspace. /// /// - /// The name of the calling system passed along as a header parameter - Task> ListApiKeys(string xintegrationname = null); + Task> ListApiKeys(); /// /// This API call revokes all existing API keys in given workspace. No existing keys will continue to work after this call completes. We strongly encourage you to revoke a single API key at a time; this method should only be used if you need to rapidly halt access to your product for automated systems. @@ -58,8 +56,7 @@ public interface IApiKeyClient /// Some best practices for working with API keys: * An API key is valid for a two year period after it is created. We encourage you to rotate your API keys regularly according to your company's security policies. * You should create separate API keys for each system that works with your API. If that API key is exposed or if that program needs to be shut down, you can revoke that one key and reissue it. * An API key is tied to the workspace that created it. A single API key can only interact with one workspace. /// /// - /// The name of the calling system passed along as a header parameter - Task> RevokeAllApiKeys(string xintegrationname = null); + Task> RevokeAllApiKeys(); /// /// Revokes a single API key in the current workspace. @@ -70,7 +67,6 @@ public interface IApiKeyClient /// /// /// The unique identifier of the API key to revoke - /// The name of the calling system passed along as a header parameter - Task> RevokeAPIKey(Guid id, string xintegrationname = null); + Task> RevokeAPIKey(Guid id); } } diff --git a/src/Interfaces/IChangesetClient.cs b/src/Interfaces/IChangesetClient.cs index 08a47b2..4dbe5c2 100644 --- a/src/Interfaces/IChangesetClient.cs +++ b/src/Interfaces/IChangesetClient.cs @@ -36,8 +36,7 @@ public interface IChangesetClient /// /// /// The unique ID number of the Changeset to retrieve - /// The name of the calling system passed along as a header parameter - Task> RetrieveChangeset(Guid changeSetId, string xintegrationname = null); + Task> RetrieveChangeset(Guid changeSetId); /// /// Retrieve a Changeset by its unique ID. This endpoint waits for the Changeset to complete its processing prior to returning a result. @@ -50,7 +49,6 @@ public interface IChangesetClient /// /// /// The unique ID number of the Changeset to retrieve - /// The name of the calling system passed along as a header parameter - Task> RetrieveCompletedChangeset(Guid changeSetId, string xintegrationname = null); + Task> RetrieveCompletedChangeset(Guid changeSetId); } } diff --git a/src/Interfaces/IDashboardClient.cs b/src/Interfaces/IDashboardClient.cs index a088031..557e1e0 100644 --- a/src/Interfaces/IDashboardClient.cs +++ b/src/Interfaces/IDashboardClient.cs @@ -32,15 +32,13 @@ public interface IDashboardClient /// /// /// The dashboard type that is not custom. For a list of values, see `DashboardTypeValues`. - /// The name of the calling system passed along as a header parameter - Task> RetrieveDashboardUserSettings(string type, string xintegrationname = null); + Task> RetrieveDashboardUserSettings(string type); /// /// Create or Update User Dashboard Settings /// /// - /// The name of the calling system passed along as a header parameter /// User dashboard settings object - Task> CreateorUpdateUserDashboardSettings(DashboardSettingCreateDto body, string xintegrationname = null); + Task> CreateorUpdateUserDashboardSettings(DashboardSettingCreateDto body); } } diff --git a/src/Interfaces/IDiscussionClient.cs b/src/Interfaces/IDiscussionClient.cs index f92a901..fcebded 100644 --- a/src/Interfaces/IDiscussionClient.cs +++ b/src/Interfaces/IDiscussionClient.cs @@ -32,8 +32,7 @@ public interface IDiscussionClient /// /// /// The unique ID number of the task to retrieve comments - /// The name of the calling system passed along as a header parameter - Task> RetrieveTaskComments(Guid taskId, string xintegrationname = null); + Task> RetrieveTaskComments(Guid taskId); /// /// Adds a Markdown-formatted comment to a task. @@ -42,8 +41,7 @@ public interface IDiscussionClient /// /// /// The unique ID number of the task being commented upon - /// The name of the calling system passed along as a header parameter /// The Markdown-formatted text of the comment - Task> CreateTaskComments(Guid taskId, DiscussionCreateDto body, string xintegrationname = null); + Task> CreateTaskComments(Guid taskId, DiscussionCreateDto body); } } diff --git a/src/Interfaces/IFileClient.cs b/src/Interfaces/IFileClient.cs index 853768b..51e10fd 100644 --- a/src/Interfaces/IFileClient.cs +++ b/src/Interfaces/IFileClient.cs @@ -37,8 +37,7 @@ public interface IFileClient /// /// The unique identifier of the document to download /// If you specify a type of `html`, processes the file using text encoding, otherwise binary - /// The name of the calling system passed along as a header parameter - Task> DownloadFile(Guid documentId, string type = null, string xintegrationname = null); + Task> DownloadFile(Guid documentId, string type = null); /// /// Updates information about a File uploaded to your Workspace. @@ -49,8 +48,7 @@ public interface IFileClient /// /// /// The unique identifier of the File to update - /// The name of the calling system passed along as a header parameter /// Information to change about the File and its location - Task> UpdateFile(Guid fileId, UpdateRequestDto body, string xintegrationname = null); + Task> UpdateFile(Guid fileId, UpdateRequestDto body); } } diff --git a/src/Interfaces/IHomeFileClient.cs b/src/Interfaces/IHomeFileClient.cs index a248a72..eaa88e5 100644 --- a/src/Interfaces/IHomeFileClient.cs +++ b/src/Interfaces/IHomeFileClient.cs @@ -35,9 +35,8 @@ public interface IHomeFileClient /// When you upload a File, please allow a few moments for the File to be processed and verified. ProjectManager may reject File uploads that contain problems such as malware. Once a File has completed the upload the process, you may retrieve it using the DownloadFile API. /// /// - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - Task> UploadHomeFile(string filename, string xintegrationname = null); + Task> UploadHomeFile(string filename); /// /// Uploads a file to a specific folder on your Home Files page. @@ -50,8 +49,7 @@ public interface IHomeFileClient /// /// /// The reference to the sub folder to put the file into - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - Task> UploadHomeFileToFolder(Guid folderId, string filename, string xintegrationname = null); + Task> UploadHomeFileToFolder(Guid folderId, string filename); } } diff --git a/src/Interfaces/IIntegrationCategoryClient.cs b/src/Interfaces/IIntegrationCategoryClient.cs index ce729fc..82ebc7d 100644 --- a/src/Interfaces/IIntegrationCategoryClient.cs +++ b/src/Interfaces/IIntegrationCategoryClient.cs @@ -33,7 +33,6 @@ public interface IIntegrationCategoryClient /// An IntegrationProvider is the name of an external application or service that can be connected to ProjectManager.com. The Integrations API is intended for use by ProjectManager and its business development partners. Please contact ProjectManager's sales team to request use of this API. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProviderCategories(string xintegrationname = null); + Task> RetrieveProviderCategories(); } } diff --git a/src/Interfaces/IIntegrationClient.cs b/src/Interfaces/IIntegrationClient.cs index ebdd574..9d86ddc 100644 --- a/src/Interfaces/IIntegrationClient.cs +++ b/src/Interfaces/IIntegrationClient.cs @@ -34,8 +34,7 @@ public interface IIntegrationClient /// /// /// The unique identifier of this Integration - /// The name of the calling system passed along as a header parameter - Task> RetrieveIntegration(Guid integrationId, string xintegrationname = null); + Task> RetrieveIntegration(Guid integrationId); /// /// Enable a specific Integration for the current Workspace. @@ -44,8 +43,7 @@ public interface IIntegrationClient /// /// /// The unique identifier of the Integration to enable - /// The name of the calling system passed along as a header parameter - Task> EnableIntegration(Guid integrationId, string xintegrationname = null); + Task> EnableIntegration(Guid integrationId); /// /// Disable a specific Integration for the current Workspace. @@ -54,8 +52,7 @@ public interface IIntegrationClient /// /// /// The unique identifier of the Integration to disable - /// The name of the calling system passed along as a header parameter - Task> DisableIntegration(Guid integrationId, string xintegrationname = null); + Task> DisableIntegration(Guid integrationId); /// /// Retrieves all Integrations for the current Workspace. @@ -63,7 +60,6 @@ public interface IIntegrationClient /// The Integrations API is intended for use by ProjectManager and its business development partners. Please contact ProjectManager's sales team to request use of this API. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveAllIntegrations(string xintegrationname = null); + Task> RetrieveAllIntegrations(); } } diff --git a/src/Interfaces/IIntegrationProviderClient.cs b/src/Interfaces/IIntegrationProviderClient.cs index 00fb864..ea1f09c 100644 --- a/src/Interfaces/IIntegrationProviderClient.cs +++ b/src/Interfaces/IIntegrationProviderClient.cs @@ -33,8 +33,7 @@ public interface IIntegrationProviderClient /// An IntegrationProvider is the name of an external application or service that can be connected to ProjectManager.com. The Integrations API is intended for use by ProjectManager and its business development partners. Please contact ProjectManager's sales team to request use of this API. /// /// - /// The name of the calling system passed along as a header parameter - Task> ListProviders(string xintegrationname = null); + Task> ListProviders(); /// /// Activates an Integration Provider and retrieves authentication information about a specific IntegrationProvider. @@ -43,25 +42,22 @@ public interface IIntegrationProviderClient /// /// /// The unique identifier of the IntegrationProvider for which you are requesting authentication information - /// The name of the calling system passed along as a header parameter - Task> ActivateIntegrationProvider(Guid providerId, string xintegrationname = null); + Task> ActivateIntegrationProvider(Guid providerId); /// /// Allows you to update the auth status of the provider specific connection. /// /// /// The identifier to the provider - /// The name of the calling system passed along as a header parameter /// Specify the auth status - Task> UpdateIntegrationProvider(Guid providerId, AuthenticationDto body, string xintegrationname = null); + Task> UpdateIntegrationProvider(Guid providerId, AuthenticationDto body); /// /// Allows you to deactivate an integration provider /// /// /// The identifier to the provider - /// The name of the calling system passed along as a header parameter - Task> DeactivateIntegrationProvider(Guid providerId, string xintegrationname = null); + Task> DeactivateIntegrationProvider(Guid providerId); /// /// Retrieves user authentication information about a specific IntegrationProvider. @@ -70,16 +66,14 @@ public interface IIntegrationProviderClient /// /// /// The unique identifier of the IntegrationProvider for which you are requesting authentication information - /// The name of the calling system passed along as a header parameter - Task> CreateUserIntegrationProviderConnection(Guid providerId, string xintegrationname = null); + Task> CreateUserIntegrationProviderConnection(Guid providerId); /// /// Allows you to update the auth status of the provider specific user connection. /// /// /// The identifier to the provider - /// The name of the calling system passed along as a header parameter /// Specify the auth status - Task> UpdateUserIntegrationProviderConnection(Guid providerId, AuthenticationStatusDto body, string xintegrationname = null); + Task> UpdateUserIntegrationProviderConnection(Guid providerId, AuthenticationStatusDto body); } } diff --git a/src/Interfaces/ILicenseClient.cs b/src/Interfaces/ILicenseClient.cs index fbe5a2e..f005be5 100644 --- a/src/Interfaces/ILicenseClient.cs +++ b/src/Interfaces/ILicenseClient.cs @@ -33,8 +33,7 @@ public interface ILicenseClient /// Licenses contain information about your current subscription level and features that have been enabled on your Workspace. To modify the License information, please log on to the ProjectManager.com application and use the Account | Editions screen to review or update your Licenses. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveLicenses(string xintegrationname = null); + Task> RetrieveLicenses(); /// /// Adds a new License to the current Workspace. @@ -43,7 +42,6 @@ public interface ILicenseClient /// /// /// Information about the SKU you wish to add to your Workspace - /// The name of the calling system passed along as a header parameter - Task> AddLicense(string bundleSku, string xintegrationname = null); + Task> AddLicense(string bundleSku); } } diff --git a/src/Interfaces/IMeClient.cs b/src/Interfaces/IMeClient.cs index 38954ae..f26ea20 100644 --- a/src/Interfaces/IMeClient.cs +++ b/src/Interfaces/IMeClient.cs @@ -33,7 +33,6 @@ public interface IMeClient /// This API call will always succeed with a 200 OK if called with valid authentication information. If the authentication information provided is not valid, calling this API will return a 401 Authentication Failed error message. If successful, this API returns information about the user including its home URL, email address, user name, and workspace name. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveMe(string xintegrationname = null); + Task> RetrieveMe(); } } diff --git a/src/Interfaces/IProjectChargeCodeClient.cs b/src/Interfaces/IProjectChargeCodeClient.cs index f7807a3..d9eaad8 100644 --- a/src/Interfaces/IProjectChargeCodeClient.cs +++ b/src/Interfaces/IProjectChargeCodeClient.cs @@ -33,7 +33,6 @@ public interface IProjectChargeCodeClient /// A ChargeCode is a code used to identify costs within your Projects. Each ChargeCode has a name and a unique identifier. ChargeCodes are defined per Workspace and are shared among Projects. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveChargeCodes(string xintegrationname = null); + Task> RetrieveChargeCodes(); } } diff --git a/src/Interfaces/IProjectClient.cs b/src/Interfaces/IProjectClient.cs index 9998249..7c87d92 100644 --- a/src/Interfaces/IProjectClient.cs +++ b/src/Interfaces/IProjectClient.cs @@ -33,14 +33,13 @@ public interface IProjectClient /// A Project is a collection of Tasks that contributes towards a goal. Within a Project, Tasks represent individual items of work that team members must complete. The sum total of Tasks within a Project represents the work to be completed for that Project. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> QueryProjects(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> QueryProjects(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Create a new project based on the details provided. @@ -48,9 +47,8 @@ public interface IProjectClient /// A Project is a collection of Tasks that contributes towards a goal. Within a Project, Tasks represent individual items of work that team members must complete. The sum total of Tasks within a Project represents the work to be completed for that Project. /// /// - /// The name of the calling system passed along as a header parameter /// Information about the Project you wish to create - Task> CreateProject(ProjectCreateDto body, string xintegrationname = null); + Task> CreateProject(ProjectCreateDto body); /// /// Retrieves a project based on its unique identifier. @@ -59,8 +57,7 @@ public interface IProjectClient /// /// /// The unique identifier of the Project to retrieve. - /// The name of the calling system passed along as a header parameter - Task> RetrieveProject(string projectId, string xintegrationname = null); + Task> RetrieveProject(string projectId); /// /// Update an existing Project and replace the values of fields specified. @@ -71,8 +68,7 @@ public interface IProjectClient /// /// /// The unique identifier of the Project to update - /// The name of the calling system passed along as a header parameter /// All non-null fields in this object will replace previous data within the Project - Task> UpdateProject(Guid projectId, ProjectUpdateDto body, string xintegrationname = null); + Task> UpdateProject(Guid projectId, ProjectUpdateDto body); } } diff --git a/src/Interfaces/IProjectCustomerClient.cs b/src/Interfaces/IProjectCustomerClient.cs index 95a9f98..d432428 100644 --- a/src/Interfaces/IProjectCustomerClient.cs +++ b/src/Interfaces/IProjectCustomerClient.cs @@ -33,7 +33,6 @@ public interface IProjectCustomerClient /// A ProjectCustomer is a code used to identify costs within your Projects. Each ProjectCustomer has a name and a unique identifier. ProjectCustomers are defined per Workspace and are shared among Projects. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectCustomers(string xintegrationname = null); + Task> RetrieveProjectCustomers(); } } diff --git a/src/Interfaces/IProjectFieldClient.cs b/src/Interfaces/IProjectFieldClient.cs index 8bd3d7d..4717ccf 100644 --- a/src/Interfaces/IProjectFieldClient.cs +++ b/src/Interfaces/IProjectFieldClient.cs @@ -33,8 +33,7 @@ public interface IProjectFieldClient /// A ProjectField is a custom field defined within your Workspace. You can define ProjectFields for any integration purpose that is important to your business. Each ProjectField has a data type as well as options in how it is handled. ProjectFields can be edited for each Project within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectFields(string xintegrationname = null); + Task> RetrieveProjectFields(); /// /// Creates a new ProjectField within your Workspace. @@ -42,9 +41,8 @@ public interface IProjectFieldClient /// A ProjectField is a custom field defined within your Workspace. You can define ProjectFields for any integration purpose that is important to your business. Each ProjectField has a data type as well as options in how it is handled. ProjectFields can be edited for each Project within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter /// Information about the ProjectField to create - Task> CreateProjectField(CreateProjectFieldDto body, string xintegrationname = null); + Task> CreateProjectField(CreateProjectFieldDto body); /// /// Deletes an existing ProjectField within your Workspace. @@ -52,9 +50,8 @@ public interface IProjectFieldClient /// A ProjectField is a custom field defined within your Workspace. You can define ProjectFields for any integration purpose that is important to your business. Each ProjectField has a data type as well as options in how it is handled. ProjectFields can be edited for each Project within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter /// The identity of the ProjectField to delete - Task> DeleteProjectField(DeleteProjectFieldDto body, string xintegrationname = null); + Task> DeleteProjectField(DeleteProjectFieldDto body); /// /// Updates an existing ProjectField with new information. @@ -64,9 +61,8 @@ public interface IProjectFieldClient /// /// The unique identifier of the Project that contains this ProjectField /// The unique identifier of this ProjectField - /// The name of the calling system passed along as a header parameter /// The new information for this ProjectField - Task> UpdateProjectField(Guid projectId, Guid fieldId, UpdateProjectFieldValueDto body, string xintegrationname = null); + Task> UpdateProjectField(Guid projectId, Guid fieldId, UpdateProjectFieldValueDto body); /// /// Retrieves the current ProjectField value for a particular Project and ProjectField. @@ -74,15 +70,13 @@ public interface IProjectFieldClient /// /// The unique identifier of the Project of the value to retrieve /// The unique identifier of the ProjectField of the value to retrieve - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectFieldValue(Guid projectId, Guid fieldId, string xintegrationname = null); + Task> RetrieveProjectFieldValue(Guid projectId, Guid fieldId); /// /// Retrieves all ProjectField values for a particular Project. /// /// /// The unique identifier of the Project for which we want ProjectField values - /// The name of the calling system passed along as a header parameter - Task> RetrieveAllProjectFieldValues(Guid projectId, string xintegrationname = null); + Task> RetrieveAllProjectFieldValues(Guid projectId); } } diff --git a/src/Interfaces/IProjectFileClient.cs b/src/Interfaces/IProjectFileClient.cs index cc4b592..cfe4060 100644 --- a/src/Interfaces/IProjectFileClient.cs +++ b/src/Interfaces/IProjectFileClient.cs @@ -36,9 +36,8 @@ public interface IProjectFileClient /// /// /// The reference to the project - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - Task> UploadProjectFile(Guid projectId, string filename, string xintegrationname = null); + Task> UploadProjectFile(Guid projectId, string filename); /// /// Uploads a file to a specific folder on the Files page within the project that you specify. @@ -52,8 +51,7 @@ public interface IProjectFileClient /// /// The reference to the project /// The reference to the sub folder to put the file into - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - Task> UploadProjectFileToFolder(Guid projectId, Guid folderId, string filename, string xintegrationname = null); + Task> UploadProjectFileToFolder(Guid projectId, Guid folderId, string filename); } } diff --git a/src/Interfaces/IProjectFolderClient.cs b/src/Interfaces/IProjectFolderClient.cs index 869a12a..6b9e50a 100644 --- a/src/Interfaces/IProjectFolderClient.cs +++ b/src/Interfaces/IProjectFolderClient.cs @@ -33,7 +33,6 @@ public interface IProjectFolderClient /// A ProjectFolder is a named storage location that can contain Projects. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectFolders(string xintegrationname = null); + Task> RetrieveProjectFolders(); } } diff --git a/src/Interfaces/IProjectMembersClient.cs b/src/Interfaces/IProjectMembersClient.cs index cf21e39..e65a723 100644 --- a/src/Interfaces/IProjectMembersClient.cs +++ b/src/Interfaces/IProjectMembersClient.cs @@ -31,8 +31,7 @@ public interface IProjectMembersClient /// Returns a list of membership options for new projects. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveNewProjectMembers(string xintegrationname = null); + Task> RetrieveNewProjectMembers(); /// /// Returns a list of membership options for existing members. Optionally include users who are not a member yet. @@ -40,8 +39,7 @@ public interface IProjectMembersClient /// /// Reference to the project /// Set to true to include all users in the workspace - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectMembers(Guid projectId, bool? includeAllUsers = null, string xintegrationname = null); + Task> RetrieveProjectMembers(Guid projectId, bool? includeAllUsers = null); /// /// Return the membership of a project for a user. @@ -49,8 +47,7 @@ public interface IProjectMembersClient /// /// Reference of Project /// Reference of User - /// The name of the calling system passed along as a header parameter - Task> RetrieveUserProjectMemberShip(Guid projectId, Guid userId, string xintegrationname = null); + Task> RetrieveUserProjectMemberShip(Guid projectId, Guid userId); /// /// Creates a membership for a user in a project and assigns the user appropriate permissions @@ -58,9 +55,8 @@ public interface IProjectMembersClient /// /// Reference to Project /// Reference to User - /// The name of the calling system passed along as a header parameter /// The permission to set - Task> CreateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body, string xintegrationname = null); + Task> CreateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body); /// /// Update existing Project Access Control for user for project @@ -68,9 +64,8 @@ public interface IProjectMembersClient /// /// Reference to Project /// Reference to User - /// The name of the calling system passed along as a header parameter /// The permission to update - Task> UpdateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body, string xintegrationname = null); + Task> UpdateUserProjectMembership(Guid projectId, Guid userId, ProjectMemberRoleDto body); /// /// Deletes Project Member @@ -78,7 +73,6 @@ public interface IProjectMembersClient /// /// Reference to Project /// Reference to User - /// The name of the calling system passed along as a header parameter - Task> RemoveUserProjectMembership(Guid projectId, Guid userId, string xintegrationname = null); + Task> RemoveUserProjectMembership(Guid projectId, Guid userId); } } diff --git a/src/Interfaces/IProjectPriorityClient.cs b/src/Interfaces/IProjectPriorityClient.cs index 539e63d..12d13df 100644 --- a/src/Interfaces/IProjectPriorityClient.cs +++ b/src/Interfaces/IProjectPriorityClient.cs @@ -35,7 +35,6 @@ public interface IProjectPriorityClient /// Note that TaskPriority and ProjectPriority are different classes of priority levels. Even if they may have similar names, they are different objects and must be tracked separately. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectPriorities(string xintegrationname = null); + Task> RetrieveProjectPriorities(); } } diff --git a/src/Interfaces/IProjectStatusClient.cs b/src/Interfaces/IProjectStatusClient.cs index cafdd71..7cc82a3 100644 --- a/src/Interfaces/IProjectStatusClient.cs +++ b/src/Interfaces/IProjectStatusClient.cs @@ -33,7 +33,6 @@ public interface IProjectStatusClient /// A ProjectStatus is a named condition used by your business to categorize the completion level of Tasks and Projects within your Workspace. You can name your ProjectStatus levels anything you like and you can reorganize the order of the ProjectPriority levels at any time. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectStatuses(string xintegrationname = null); + Task> RetrieveProjectStatuses(); } } diff --git a/src/Interfaces/IProjectTemplateClient.cs b/src/Interfaces/IProjectTemplateClient.cs index d9c29ff..6a37f90 100644 --- a/src/Interfaces/IProjectTemplateClient.cs +++ b/src/Interfaces/IProjectTemplateClient.cs @@ -33,8 +33,7 @@ public interface IProjectTemplateClient /// A ProjectTemplate is a definition of default project related data (eg. Tasks) that can be applied to a new project when it is created. ProjectTemplates are categorized using the TemplateCategory system. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveProjectTemplates(string xintegrationname = null); + Task> RetrieveProjectTemplates(); /// /// Retrieves all ProjectTemplate Categories defined in the system. @@ -42,7 +41,6 @@ public interface IProjectTemplateClient /// A ProjectTemplate is a definition of default project related data (eg. Tasks) that can be applied to a new project when it is created. ProjectTemplates are categorized using the TemplateCategory system. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveTemplateCategories(string xintegrationname = null); + Task> RetrieveTemplateCategories(); } } diff --git a/src/Interfaces/IResourceClient.cs b/src/Interfaces/IResourceClient.cs index d5e0d64..d1d7ea8 100644 --- a/src/Interfaces/IResourceClient.cs +++ b/src/Interfaces/IResourceClient.cs @@ -33,9 +33,8 @@ public interface IResourceClient /// A Resource represents a person, material, or tool that is used within your Projects. When you attach a Resources to more than one Task, the software will schedule the usage of your Resource so that it is not allocated to more than one Task at the same time. The users in your Workspace are also considered Resources. To invite a new User to your Workspace, create a new Resource for that user. /// /// - /// The name of the calling system passed along as a header parameter /// The details for the new Resource to create - Task> CreateResource(ResourceCreateDto body, string xintegrationname = null); + Task> CreateResource(ResourceCreateDto body); /// /// Retrieve a list of Resources that match an [OData formatted query](https://www.odata.org/). @@ -43,14 +42,13 @@ public interface IResourceClient /// A Resource represents a person, material, or tool that is used within your Projects. When you attach a Resources to more than one Task, the software will schedule the usage of your Resource so that it is not allocated to more than one Task at the same time. The users in your Workspace are also considered Resources. To invite a new User to your Workspace, create a new Resource for that user. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> QueryResources(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> QueryResources(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Updates an existing Resource based on information you provide. @@ -59,9 +57,8 @@ public interface IResourceClient /// /// /// The id of the resource - /// The name of the calling system passed along as a header parameter /// The information to update the resource - Task> UpdateResource(Guid resourceId, ResourceUpdateDto body, string xintegrationname = null); + Task> UpdateResource(Guid resourceId, ResourceUpdateDto body); /// /// Retrieve the Resource matching the specified unique ID. @@ -70,7 +67,6 @@ public interface IResourceClient /// /// /// The id of the Resource - /// The name of the calling system passed along as a header parameter - Task> RetrieveResource(Guid resourceId, string xintegrationname = null); + Task> RetrieveResource(Guid resourceId); } } diff --git a/src/Interfaces/IResourceSkillClient.cs b/src/Interfaces/IResourceSkillClient.cs index f46839e..db1078c 100644 --- a/src/Interfaces/IResourceSkillClient.cs +++ b/src/Interfaces/IResourceSkillClient.cs @@ -33,38 +33,34 @@ public interface IResourceSkillClient /// A ResourceSkill is a capability possessed by a Resource that can be used to distinguish different classes of Resources suitable for use by a Task. You can specify that a Task requires a Resource with a particular set of ResourceSkills and then allocate Resources based on whether or not they have the suitable ResourceSkills. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> RetrieveResourceSkills(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> RetrieveResourceSkills(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Create a Resource Skill. /// /// - /// The name of the calling system passed along as a header parameter /// The name of the skill to create. - Task> CreateResourceSkill(CreateResourceSkillDto body, string xintegrationname = null); + Task> CreateResourceSkill(CreateResourceSkillDto body); /// /// Update a Resource Skill. /// /// /// The id of the skill to update. - /// The name of the calling system passed along as a header parameter /// The data of the skill to update. - Task> UpdateResourceSkill(Guid skillId, UpdateResourceSkillDto body, string xintegrationname = null); + Task> UpdateResourceSkill(Guid skillId, UpdateResourceSkillDto body); /// /// The endpoint is used to delete a resource skill. Users assigned to this skill will no longer be assigned thereafter. /// /// /// The Id of the skill to be removed. - /// The name of the calling system passed along as a header parameter - Task> DeleteResourceSkill(Guid resourceSkillId, string xintegrationname = null); + Task> DeleteResourceSkill(Guid resourceSkillId); } } diff --git a/src/Interfaces/IResourceTeamClient.cs b/src/Interfaces/IResourceTeamClient.cs index 6b31109..5c4bed7 100644 --- a/src/Interfaces/IResourceTeamClient.cs +++ b/src/Interfaces/IResourceTeamClient.cs @@ -33,38 +33,34 @@ public interface IResourceTeamClient /// A ResourceTeam is a grouping of Resources that allows you to keep track of assignments in a manner consistent with your business needs. You can assign Resources to be members of zero, one, or many ResourceTeams. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> RetrieveResourceTeams(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> RetrieveResourceTeams(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Create a Resource Team. /// /// - /// The name of the calling system passed along as a header parameter /// The name of the team to create. - Task> CreateResourceTeam(CreateResourceTeamDto body, string xintegrationname = null); + Task> CreateResourceTeam(CreateResourceTeamDto body); /// /// The endpoint is used to delete a resource team. Users assigned to this team will no longer be assigned thereafter. /// /// /// The Id of the team to be removed. - /// The name of the calling system passed along as a header parameter - Task> DeleteResourceTeam(Guid resourceTeamId, string xintegrationname = null); + Task> DeleteResourceTeam(Guid resourceTeamId); /// /// Update a Resource Team. /// /// /// The id of the resource team - /// The name of the calling system passed along as a header parameter /// The name of the team to Update. - Task> UpdateResourceTeam(Guid teamresourceId, UpdateResourceTeamDto body, string xintegrationname = null); + Task> UpdateResourceTeam(Guid teamresourceId, UpdateResourceTeamDto body); } } diff --git a/src/Interfaces/ITagClient.cs b/src/Interfaces/ITagClient.cs index 81b2423..723c04e 100644 --- a/src/Interfaces/ITagClient.cs +++ b/src/Interfaces/ITagClient.cs @@ -33,14 +33,13 @@ public interface ITagClient /// A Tag is a named categorization you can use to distinguish objects from each other. Tags each have a unique identifier, a name, and a color. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> QueryTags(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> QueryTags(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Creates a new Tag based on information you provide. @@ -48,9 +47,8 @@ public interface ITagClient /// A Tag is a named categorization you can use to distinguish objects from each other. Tags each have a unique identifier, a name, and a color. /// /// - /// The name of the calling system passed along as a header parameter /// The information for the new Tag to create - Task> CreateTag(TagCreateDto body, string xintegrationname = null); + Task> CreateTag(TagCreateDto body); /// /// Updates an existing Tag based on information you provide. @@ -59,8 +57,7 @@ public interface ITagClient /// /// /// The id of the tag - /// The name of the calling system passed along as a header parameter /// The information to update the tag - Task> UpdateTag(Guid tagId, TagUpdateDto body, string xintegrationname = null); + Task> UpdateTag(Guid tagId, TagUpdateDto body); } } diff --git a/src/Interfaces/ITaskAssigneeClient.cs b/src/Interfaces/ITaskAssigneeClient.cs index 6b5da16..fbaee26 100644 --- a/src/Interfaces/ITaskAssigneeClient.cs +++ b/src/Interfaces/ITaskAssigneeClient.cs @@ -34,9 +34,8 @@ public interface ITaskAssigneeClient /// /// /// The unique identifier of the Task whose TaskAssignees will be replaced - /// The name of the calling system passed along as a header parameter /// The new list of TaskAssignees for this Task - Task> ReplaceTaskAssignees(Guid taskId, AssigneeUpsertDto[] body, string xintegrationname = null); + Task> ReplaceTaskAssignees(Guid taskId, AssigneeUpsertDto[] body); /// /// Adds or updates a TaskAssignee to a Task. If the TaskAssignee is already assigned to the Task, update their allocation. If the TaskAssignee is not yet assigned to the Task, assign them and set their allocation level to the correct amount. @@ -45,9 +44,8 @@ public interface ITaskAssigneeClient /// /// /// The unique identifier of the Task to add or update an assignment - /// The name of the calling system passed along as a header parameter /// List of Assignee data - Task> CreateOrUpdateTaskAssignee(Guid taskId, AssigneeUpsertDto[] body, string xintegrationname = null); + Task> CreateOrUpdateTaskAssignee(Guid taskId, AssigneeUpsertDto[] body); /// /// Remove one or more TaskAssignees from a Task. @@ -56,8 +54,7 @@ public interface ITaskAssigneeClient /// /// /// The unique identifier of the Task whose TaskAssignee will be removed - /// The name of the calling system passed along as a header parameter /// List of TaskAssignee records to remove - Task> DeleteTaskAssignees(Guid taskId, IdDto[] body, string xintegrationname = null); + Task> DeleteTaskAssignees(Guid taskId, IdDto[] body); } } diff --git a/src/Interfaces/ITaskClient.cs b/src/Interfaces/ITaskClient.cs index c3c080b..a089674 100644 --- a/src/Interfaces/ITaskClient.cs +++ b/src/Interfaces/ITaskClient.cs @@ -33,14 +33,13 @@ public interface ITaskClient /// A Task is an individual element of work that must be performed to complete a Project. A Task can have one or more Resources assigned to it. Tasks can be linked to other Tasks to indicate whether they have a dependency or a connection. /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> QueryTasks(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> QueryTasks(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Retrieve a Task by its unique identifier or by its short ID. A Task has both a unique identifier, which is a GUID, and a short ID, which is a small text label that is unique only within your Workspace. @@ -49,8 +48,7 @@ public interface ITaskClient /// /// /// The unique identifier or short ID of the Task to retrieve - /// The name of the calling system passed along as a header parameter - Task> RetrieveTask(string taskId, string xintegrationname = null); + Task> RetrieveTask(string taskId); /// /// Update an existing Task and replace the values of fields specified. @@ -63,9 +61,8 @@ public interface ITaskClient /// /// /// The unique identifier of the Task to update - /// The name of the calling system passed along as a header parameter /// All non-null fields in this object will replace existing data in the Task - Task> UpdateTask(Guid taskId, TaskUpdateDto body, string xintegrationname = null); + Task> UpdateTask(Guid taskId, TaskUpdateDto body); /// /// Delete an existing Task. @@ -76,8 +73,7 @@ public interface ITaskClient /// /// /// Unique identifier of the Task to delete - /// The name of the calling system passed along as a header parameter - Task> DeleteTask(Guid taskId, string xintegrationname = null); + Task> DeleteTask(Guid taskId); /// /// Create a new Task within a specified project. @@ -86,9 +82,8 @@ public interface ITaskClient /// /// /// The unique identifier of the Project that will contain this Task - /// The name of the calling system passed along as a header parameter /// The new Task to create - Task> CreateTask(Guid projectId, TaskCreateDto body, string xintegrationname = null); + Task> CreateTask(Guid projectId, TaskCreateDto body); /// /// Retrieves all TaskPriorities defined within your Workspace. @@ -98,8 +93,7 @@ public interface ITaskClient /// Note that TaskPriority and ProjectPriority are different classes of priority levels. Even if they may have similar names, they are different objects and must be tracked separately. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveTaskPriorities(string xintegrationname = null); + Task> RetrieveTaskPriorities(); /// /// Create multiple new Tasks within a specified project with a single API call. @@ -108,9 +102,8 @@ public interface ITaskClient /// /// /// The unique identifier of the Project that will contain these Tasks - /// The name of the calling system passed along as a header parameter /// The list of new Tasks to create - Task> CreateManyTasks(Guid projectId, TaskCreateDto[] body, string xintegrationname = null); + Task> CreateManyTasks(Guid projectId, TaskCreateDto[] body); /// /// Adds a task parent relationship @@ -118,8 +111,7 @@ public interface ITaskClient /// /// The task that will become the child /// The parent task - /// The name of the calling system passed along as a header parameter - Task> AddParentTask(Guid taskId, Guid parentTaskId, string xintegrationname = null); + Task> AddParentTask(Guid taskId, Guid parentTaskId); /// /// Updates a task parent relationship @@ -127,15 +119,13 @@ public interface ITaskClient /// /// The task that will become the child /// The parent task - /// The name of the calling system passed along as a header parameter - Task> UpdateParentTask(Guid taskId, Guid parentTaskId, string xintegrationname = null); + Task> UpdateParentTask(Guid taskId, Guid parentTaskId); /// /// Removes a task parent relationship completely /// /// /// The child task - /// The name of the calling system passed along as a header parameter - Task> RemoveParentTask(Guid taskId, string xintegrationname = null); + Task> RemoveParentTask(Guid taskId); } } diff --git a/src/Interfaces/ITaskFieldClient.cs b/src/Interfaces/ITaskFieldClient.cs index 70a7b5f..c0eeb1a 100644 --- a/src/Interfaces/ITaskFieldClient.cs +++ b/src/Interfaces/ITaskFieldClient.cs @@ -34,8 +34,7 @@ public interface ITaskFieldClient /// /// /// The unique identifier of the Project to retrieve TaskFields - /// The name of the calling system passed along as a header parameter - Task> RetrieveTaskFields(Guid projectId, string xintegrationname = null); + Task> RetrieveTaskFields(Guid projectId); /// /// Creates a new TaskFields for a specific Project within your Workspace. @@ -44,9 +43,8 @@ public interface ITaskFieldClient /// /// /// The unique identifier of the Project within which to create this TaskField - /// The name of the calling system passed along as a header parameter /// Information about the TaskField to create - Task> CreateTaskField(Guid projectId, CreateTaskFieldRequestDto body, string xintegrationname = null); + Task> CreateTaskField(Guid projectId, CreateTaskFieldRequestDto body); /// /// Deletes a TaskField for a specific Project within your Workspace. @@ -56,8 +54,7 @@ public interface ITaskFieldClient /// /// The unique identifier of the Project that contains this TaskField /// The unique identifier of the TaskField to delete - /// The name of the calling system passed along as a header parameter - Task> DeleteTaskField(Guid projectId, Guid fieldId, string xintegrationname = null); + Task> DeleteTaskField(Guid projectId, Guid fieldId); /// /// Retrieves the current TaskField value for a particular Task and TaskField. @@ -67,8 +64,7 @@ public interface ITaskFieldClient /// /// The unique identifier of the Task of the value to retrieve /// The unique identifier of the TaskField of the value to retrieve - /// The name of the calling system passed along as a header parameter - Task> RetrieveTaskFieldValue(Guid taskId, Guid fieldId, string xintegrationname = null); + Task> RetrieveTaskFieldValue(Guid taskId, Guid fieldId); /// /// Replaces the current value of a TaskFields for a specific Task within your Workspace. @@ -78,9 +74,8 @@ public interface ITaskFieldClient /// /// The unique identifier of the Task whose value you wish to update /// The unique identifier of the TaskField whose value you wish to update - /// The name of the calling system passed along as a header parameter /// The new value for this TaskField for this Task - Task> UpdateTaskFieldValue(Guid taskId, Guid fieldId, UpdateTaskFieldValueDto body, string xintegrationname = null); + Task> UpdateTaskFieldValue(Guid taskId, Guid fieldId, UpdateTaskFieldValueDto body); /// /// Retrieves all TaskField values for a particular Task. @@ -89,7 +84,6 @@ public interface ITaskFieldClient /// /// /// The unique identifier of the Task for which we want TaskField values - /// The name of the calling system passed along as a header parameter - Task> RetrieveAllTaskFieldValues(Guid taskId, string xintegrationname = null); + Task> RetrieveAllTaskFieldValues(Guid taskId); } } diff --git a/src/Interfaces/ITaskFileClient.cs b/src/Interfaces/ITaskFileClient.cs index c895ede..df83e26 100644 --- a/src/Interfaces/ITaskFileClient.cs +++ b/src/Interfaces/ITaskFileClient.cs @@ -36,8 +36,7 @@ public interface ITaskFileClient /// /// /// The reference to the task - /// The name of the calling system passed along as a header parameter /// The full path of a file to upload to the API - Task> UploadTaskFile(Guid taskId, string filename, string xintegrationname = null); + Task> UploadTaskFile(Guid taskId, string filename); } } diff --git a/src/Interfaces/ITaskStatusClient.cs b/src/Interfaces/ITaskStatusClient.cs index 8d56136..1de3181 100644 --- a/src/Interfaces/ITaskStatusClient.cs +++ b/src/Interfaces/ITaskStatusClient.cs @@ -34,8 +34,7 @@ public interface ITaskStatusClient /// /// /// The unique identifier of the Project to retrieve TaskStatuses - /// The name of the calling system passed along as a header parameter - Task> RetrieveTaskStatuses(Guid projectId, string xintegrationname = null); + Task> RetrieveTaskStatuses(Guid projectId); /// /// Creates a new TaskStatus level for a specific Project within your Workspace. @@ -44,9 +43,8 @@ public interface ITaskStatusClient /// /// /// The unique identifier of the Project for the new TaskStatus - /// The name of the calling system passed along as a header parameter /// Information about the new TaskStatus level to create within this Project - Task> CreateTaskStatus(Guid projectId, TaskStatusCreateDto body, string xintegrationname = null); + Task> CreateTaskStatus(Guid projectId, TaskStatusCreateDto body); /// /// Updates an existing TaskStatus level for a specific Project within your Workspace. @@ -55,9 +53,8 @@ public interface ITaskStatusClient /// /// /// The unique identifier of the Project for the new TaskStatus - /// The name of the calling system passed along as a header parameter /// Information about the existing TaskStatus level to update within this Project - Task> UpdateTaskStatus(Guid projectId, TaskStatusUpdateDto body, string xintegrationname = null); + Task> UpdateTaskStatus(Guid projectId, TaskStatusUpdateDto body); /// /// The endpoint is used to delete a TaskStatus. @@ -67,7 +64,6 @@ public interface ITaskStatusClient /// /// The unique identifier of the Project for the TaskStatus level to delete /// The Id of the TaskStatus level to be removed. - /// The name of the calling system passed along as a header parameter - Task> DeleteTaskStatus(Guid projectId, Guid taskStatusId, string xintegrationname = null); + Task> DeleteTaskStatus(Guid projectId, Guid taskStatusId); } } diff --git a/src/Interfaces/ITaskTagClient.cs b/src/Interfaces/ITaskTagClient.cs index 7bec545..aa5cdc8 100644 --- a/src/Interfaces/ITaskTagClient.cs +++ b/src/Interfaces/ITaskTagClient.cs @@ -34,9 +34,8 @@ public interface ITaskTagClient /// /// /// The unique identifier of the Task for which we will replace TaskTags - /// The name of the calling system passed along as a header parameter /// The replacement list of TaskTags for this Task - Task> ReplaceTaskTags(Guid taskId, NameDto[] body, string xintegrationname = null); + Task> ReplaceTaskTags(Guid taskId, NameDto[] body); /// /// Add one or more new TaskTags to a Task. @@ -45,9 +44,8 @@ public interface ITaskTagClient /// /// /// The unique identifier of the Task for which we will add TaskTags - /// The name of the calling system passed along as a header parameter /// The new TaskTags to add to this Task - Task> AddTaskTagtoTask(Guid taskId, NameDto[] body, string xintegrationname = null); + Task> AddTaskTagtoTask(Guid taskId, NameDto[] body); /// /// Removes one or more existing TaskTags from a Task. @@ -56,8 +54,7 @@ public interface ITaskTagClient /// /// /// The unique identifier of the Task for which we will remove existing TaskTags - /// The name of the calling system passed along as a header parameter /// The TaskTags to remove from this Task - Task> RemoveTaskTagfromTask(Guid taskId, NameDto[] body, string xintegrationname = null); + Task> RemoveTaskTagfromTask(Guid taskId, NameDto[] body); } } diff --git a/src/Interfaces/ITimesheetClient.cs b/src/Interfaces/ITimesheetClient.cs index 412d538..c4ccd9e 100644 --- a/src/Interfaces/ITimesheetClient.cs +++ b/src/Interfaces/ITimesheetClient.cs @@ -31,9 +31,8 @@ public interface ITimesheetClient /// Creates new time entry for given resource on given day. /// /// - /// The name of the calling system passed along as a header parameter /// Payload - Task> Createtimeentry(TimesheetCreateRequestDto body, string xintegrationname = null); + Task> Createtimeentry(TimesheetCreateRequestDto body); /// /// Retrieve a list of TimeSheets that match an [OData formatted query](https://www.odata.org/). @@ -41,37 +40,33 @@ public interface ITimesheetClient /// Time Sheets is a list of times per task /// /// - /// The name of the calling system passed along as a header parameter /// The number of records to return /// Skips the given number of records and then returns $top records /// Filter the expression according to oData queries /// Specify which properties should be returned /// Order collection by this field. /// Include related data in the response - Task> QueryTimeSheets(string xintegrationname = null, int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); + Task> QueryTimeSheets(int? top = null, int? skip = null, string filter = null, string select = null, string orderby = null, string expand = null); /// /// Delete time entry by id. /// /// /// time entry id - /// The name of the calling system passed along as a header parameter - Task> Deletetimeentry(Guid timesheetId, string xintegrationname = null); + Task> Deletetimeentry(Guid timesheetId); /// /// Updates a time entry by its unique identifier. /// /// /// time entry id - /// The name of the calling system passed along as a header parameter /// payload - Task> Updatetimeentry(Guid timesheetId, TimesheetUpdateRequestDto body, string xintegrationname = null); + Task> Updatetimeentry(Guid timesheetId, TimesheetUpdateRequestDto body); /// /// Returns active admin tasks that are used to report time not related to work on projects. I.e. annual/sick leave etc /// /// - /// The name of the calling system passed along as a header parameter - Task> Returnsactiveadmintasksthatareusedtoreporttime(string xintegrationname = null); + Task> Returnsactiveadmintasksthatareusedtoreporttime(); } } diff --git a/src/Interfaces/IUserRoleClient.cs b/src/Interfaces/IUserRoleClient.cs index 6deb122..690035f 100644 --- a/src/Interfaces/IUserRoleClient.cs +++ b/src/Interfaces/IUserRoleClient.cs @@ -33,7 +33,6 @@ public interface IUserRoleClient /// A UserRole is a name for a privilege level granted to a specific User. The 'Global Admin' UserRole is granted to the owner of the Workspace, and this UserRole cannot be changed. You can choose which UserRole applies to a User within your Workspace. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveUserRoles(string xintegrationname = null); + Task> RetrieveUserRoles(); } } diff --git a/src/Interfaces/IWorkSpaceClient.cs b/src/Interfaces/IWorkSpaceClient.cs index 965dfcc..79e6cb2 100644 --- a/src/Interfaces/IWorkSpaceClient.cs +++ b/src/Interfaces/IWorkSpaceClient.cs @@ -33,8 +33,7 @@ public interface IWorkSpaceClient /// A single User may have access to multiple Workspaces, although they can only be logged on to one Workspace at a time. This API lists all Workspaces to which the currently logged on user is entitled to access. To determine which Workspace a user is currently logged on use the `/api/data/me` endpoint. /// /// - /// The name of the calling system passed along as a header parameter - Task> RetrieveWorkspaces(string xintegrationname = null); + Task> RetrieveWorkspaces(); /// /// Invite a specific user to join a Workspace to which the current user has administrator rights. @@ -45,8 +44,7 @@ public interface IWorkSpaceClient /// /// /// The unique identifier of the Organization that you are inviting a User to joi - /// The name of the calling system passed along as a header parameter /// Information about the user which will receive the invitation - Task> InvitetoWorkspace(string organizationId, WorkSpaceJoinDto body, string xintegrationname = null); + Task> InvitetoWorkspace(string organizationId, WorkSpaceJoinDto body); } }