예제 #1
0
 public GetForwardedDocumentEventsResponse GetForwardedDocumentEvents(string authToken, string boxId,
                                                                      GetForwardedDocumentEventsRequest request)
 {
     if (string.IsNullOrEmpty(boxId))
     {
         throw new ArgumentNullException("boxId");
     }
     return(diadocHttpApi.GetForwardedDocumentEvents(authToken, boxId, request));
 }
예제 #2
0
        public Task <GetForwardedDocumentEventsResponse> GetForwardedDocumentEventsAsync([NotNull] string authToken, [NotNull] string boxId, [NotNull] GetForwardedDocumentEventsRequest request)
        {
            var queryString = BuildQueryStringWithBoxId("/V2/GetForwardedDocumentEvents", boxId);

            return(PerformHttpRequestAsync <GetForwardedDocumentEventsRequest, GetForwardedDocumentEventsResponse>(authToken, queryString, request));
        }