public Import CreateImport(Import import)
        {
            var request = new RestRequest(Method.POST)
            {
                Resource = "/account/import",
                RequestFormat = DataFormat.Json,
                RootElement = "import"
            };
            request.AddBody(import);

            var response = _client.Execute<Import>(request);

            return response;
        }
        public Import CreateImport(Import import, int customObjectId)
        {
            var request = new RestRequest(Method.POST)
            {
                Resource = string.Format("/customObject/{0}/import", customObjectId),
                RequestFormat = DataFormat.Json,
                RootElement = "import"
            };
            request.AddBody(import);

            var response = _client.Execute<Import>(request);

            return response;
        }
        public virtual async Task<Import> CreateImportAsync(Import import, string resourceName)
        {
            var request = new RestRequest(Method.POST)
            {
                Resource = $"/{resourceName}/import",
                RequestFormat = DataFormat.Json,
                RootElement = "import"
            };

            request.AddBody(import);

            IRestResponse<Import> importResponse = await Client.ExecuteTaskAsync<Import>(request);

            return importResponse.Data;
        }
 public async Task<Import> CreateImportAsync(Import import, int customObjectId) =>
     await base.CreateImportAsync(import, $"customObject/{customObjectId}");
 public async Task<Import> CreateImportAsync(Import import) => await base.CreateImportAsync(import, "contact");