Пример #1
0
        public byte[] RetrievePagesModified(DateTime startDate, DateTime endDate, DataFileFormat fileFormat)
        {
            var uri      = BaseRoot + BuildUrlModifed(startDate, endDate);
            var response = HttpChannel.PerformRawRequest("GET", uri, ContentTypes.GetAcceptContentType(fileFormat));

            return(response.Content.Content);
        }
Пример #2
0
        public byte[] RetrievePaymentsBetween(DateTime startDate, DateTime endDate, DataFileFormat fileFormat)
        {
            var uri      = BuildFormatUri(startDate, endDate);
            var response = HttpChannel.PerformRawRequest("GET", uri, ContentTypes.GetAcceptContentType(fileFormat));

            return(response.Content.Content);
        }
Пример #3
0
        public byte[] RetrieveReport(int paymentId, DataFileFormat fileFormat)
        {
            var uri      = Uri.Combine(ResourceBase, paymentId.ToString());
            var response = HttpChannel.PerformRawRequest("GET", uri, ContentTypes.GetAcceptContentType(fileFormat));

            return(response.Content.Content);
        }
Пример #4
0
        public byte[] Search(PageCreatedSearchQuery query, DateTime startDate, DateTime endDate, DataFileFormat fileFormat)
        {
            var uri      = BuildFormatUriForSearch(query, startDate, endDate);
            var response = HttpChannel.PerformRawRequest("GET", uri, ContentTypes.GetAcceptContentType(fileFormat));

            return(response.Content.Content);
        }