Exemple #1
0
        public Task <GetDocflowEventsResponse> GetDocflowEventsAsync([NotNull] string authToken, [NotNull] string boxId, [NotNull] GetDocflowEventsRequest request)
        {
            var queryString = BuildQueryStringWithBoxId("/V2/GetDocflowEvents", boxId);

            return(PerformHttpRequestAsync <GetDocflowEventsRequest, GetDocflowEventsResponse>(authToken, queryString, request));
        }
            public GetDocflowEventsResponseV3 GetDocflowEvents([NotNull] string authToken, [NotNull] string boxId, [NotNull] GetDocflowEventsRequest request)
            {
                var queryString = BuildQueryStringWithBoxId("/V3/GetDocflowEvents", boxId);

                return(diadocHttpApi.PerformHttpRequest <GetDocflowEventsRequest, GetDocflowEventsResponseV3>(authToken, queryString, request));
            }
 public GetDocflowEventsResponseV3 GetDocflowEvents(string authToken, string boxId, GetDocflowEventsRequest request)
 {
     if (string.IsNullOrEmpty(boxId))
     {
         throw new ArgumentNullException("boxId");
     }
     return(docflowHttpApi.GetDocflowEvents(authToken, boxId, request));
 }