Beispiel #1
0
        /// <summary>
        /// Set the request information
        /// </summary>
        /// <param name="template">Request template</param>
        /// <returns>Request information</returns>
        private APIRequestContentMove SetValue(APIRequestContentMove template)
        {
            var requestInfo = template;

            #region Required

            //Request Summary
            requestInfo.RequestSummary = "Content Move Sample";

            #endregion

            #region Not Required

            //Request Description
            requestInfo.Description = "";

            this.SetMetadataValue(requestInfo);

            #endregion

            return(requestInfo);
        }
Beispiel #2
0
        /// <summary>
        /// Save and submit Content Move request
        /// </summary>
        /// <param name="requestInfo">Request information</param>
        /// <returns>The result of submitting request</returns>
        private Boolean SaveAndSubmit(APIRequestContentMove requestInfo)
        {
            var requestId = this.requestService.Save(requestInfo);

            return(this.requestService.Submit(requestId));
        }