Beispiel #1
0
        public BaseResponse <ListIncrementsResponse> ListIncrements(ListIncrementsRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/subscriptions/{request.SubscriptionId}/increments/";
            var query    = request.ToDictionary();

            return(this.HttpClientUtil.SendRequest <ListIncrementsResponse>(method, endpoint, null, query));
        }
        public BaseResponse <PagingResponse <GetIncrementResponse>, MundipaggErrorsResponse> ListIncrements(ListIncrementsRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/subscriptions/{request.SubscriptionId}/increments/";
            var query    = request.ToDictionary();

            return(this.SendRequest <PagingResponse <GetIncrementResponse> >(method, endpoint, null, query));
        }