public GetForwardedDocumentEventsResponse GetForwardedDocumentEvents(string authToken, string boxId, GetForwardedDocumentEventsRequest request) { if (string.IsNullOrEmpty(boxId)) { throw new ArgumentNullException("boxId"); } return(diadocHttpApi.GetForwardedDocumentEvents(authToken, boxId, request)); }
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)); }