示例#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));
        }