Exemple #1
0
 public void MoveDocuments(string authToken, DocumentsMoveOperation query)
 {
     if (authToken == null)
     {
         throw new ArgumentNullException("authToken");
     }
     if (query == null)
     {
         throw new ArgumentNullException("query");
     }
     diadocHttpApi.MoveDocuments(authToken, query);
 }
        public void MoveDocuments([NotNull] string authToken, [NotNull] DocumentsMoveOperation query)
        {
            var qsb = new PathAndQueryBuilder("/MoveDocuments");

            PerformHttpRequest(authToken, "POST", qsb.BuildPathAndQuery(), Serialize(query));
        }
Exemple #3
0
        public Task MoveDocumentsAsync([NotNull] string authToken, [NotNull] DocumentsMoveOperation query)
        {
            var qsb = new PathAndQueryBuilder("/MoveDocuments");

            return(PerformHttpRequestAsync(authToken, "POST", qsb.BuildPathAndQuery(), Serialize(query)));
        }