Пример #1
0
 public GetForwardedDocumentsResponse GetForwardedDocuments(string authToken, string boxId,
                                                            GetForwardedDocumentsRequest request)
 {
     if (string.IsNullOrEmpty(boxId))
     {
         throw new ArgumentNullException("boxId");
     }
     return(diadocHttpApi.GetForwardedDocuments(authToken, boxId, request));
 }
Пример #2
0
        public Task <GetForwardedDocumentsResponse> GetForwardedDocumentsAsync([NotNull] string authToken, [NotNull] string boxId, [NotNull] GetForwardedDocumentsRequest request)
        {
            var queryString = BuildQueryStringWithBoxId("/V2/GetForwardedDocuments", boxId);

            return(PerformHttpRequestAsync <GetForwardedDocumentsRequest, GetForwardedDocumentsResponse>(authToken, queryString, request));
        }