private async Task <string> CreateOneNoteSectionAsync(string sectionContentUrl, string sectionTitle) { var makeSectionContent = await ExecuteContentFetchAsync(sectionContentUrl); var httpRequestMessage = ServiceHelper.GenerateCreateSectionHttpRequest(makeSectionContent, sectionContentUrl, sectionTitle); var result = await httpClient.SendAsync(httpRequestMessage); dynamic responseContent = JObject.Parse(await result.Content.ReadAsStringAsync()); if (result.IsSuccessStatusCode) { return((string)responseContent.id); } else { ServiceException serviceException = ServiceHelper.GenerateServiceException(responseContent); throw serviceException; } }