Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/services/clientService.js @ 12516

Last change on this file since 12516 was 12516, checked in by dglaser, 9 years ago

#2388:

HeuristicLab.Services.Hive.DataAccess-3.3:

  • updated daos
  • changed statistics database schema
  • updated HiveStatisticsGenerator

HeuristicLab.Services.WebApp.Statistics-3.3:

  • added jobs, client and user page
File size: 712 bytes
Line 
1(function () {
2    var module = appStatisticsPlugin.getAngularModule();
3    var apiUrl = 'api/Statistics/Client/';
4    module.factory('app.statistics.clientService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { id: '@id', page: '@page', size: '@size', states: '@states', expired: '@expired', start: '@start', end: '@end' }, {
7                getClientDetails: { method: 'GET', params: { action: 'GetClientDetails' } },
8                getClients: { method: 'GET', params: { action: 'GetClients' } },
9                getClientHistory: { method: 'GET', params: { action: 'GetClientHistory' }, isArray: true }
10            });
11        }]
12    );
13})();
Note: See TracBrowser for help on using the repository browser.