public ChildPagesOutput_Result CreateChildPageX(string url, string payload)
 {
     return(HttpClientHelper.ExecutePost <ChildPagesOutput_Result>(url, payload, this.logger));
 }
 public SpaceOutput CreateChildPage(string url, string payload)
 {
     return(HttpClientHelper.ExecutePost <SpaceOutput>(url, payload, this.logger));
 }
        public PageByTitleAndKeyOutput GetPageByKeyAndTitle(string parentKey, string pageTitle)
        {
            string url = string.Format(AppSettingsHelper.GetValue(Strings.GET_PAGEBY_TITLE_KEY_URL), pageTitle, parentKey);

            return(HttpClientHelper.ExecuteGet <PageByTitleAndKeyOutput>(url, this.logger));
        }
 private SpaceOutput ExecuteNonCurl(string url, string payload)
 {
     return(HttpClientHelper.ExecutePost <SpaceOutput>(url, payload, this.logger));
 }
        public UpdatePageOutput UpdateParentPage(string pageId, UpdatePageInput param)
        {
            string url = string.Format(AppSettingsHelper.GetValue(Strings.UPDATEPAGE_URL_KEY), pageId);

            return(HttpClientHelper.ExecutePut <UpdatePageOutput>(url, JsonConvert.SerializeObject(param), this.logger));
        }