public BaseResponse <ListSubscriptionsResponse> ListSubscriptions(ListSubscriptionsRequest request) { var method = HttpMethod.Get; var endpoint = $"/subscriptions"; var query = request.ToDictionary(); return(this.HttpClientUtil.SendRequest <ListSubscriptionsResponse>(method, endpoint, null, query)); }
public BaseResponse <PagingResponse <GetSubscriptionResponse>, MundipaggErrorsResponse> ListSubscriptions(ListSubscriptionsRequest request) { var method = HttpMethod.Get; var endpoint = $"/subscriptions"; var query = request.ToDictionary(); return(this.SendRequest <PagingResponse <GetSubscriptionResponse> >(method, endpoint, null, query)); }