123456789101112131415161718192021222324252627282930 |
- "use strict";
- define(['underscore', 'bi/commons/ui/core/Class'], function (_, Class) {
- var GlobalParametersService = Class.extend({
- init: function init(options) {
- GlobalParametersService.inherited('init', this, arguments);
- _.extend(this, options);
- this.fetchService = options.glassContext.services.fetch;
- },
- getSystemUserProfileSettings: function getSystemUserProfileSettings(data) {
- return this.fetchService.post('v1/reports', {
- 'headers': {
- 'SOAPAction': 'http://www.ibm.com/xmlns/prod/cognos/contentManagerService/201703/'
- },
- 'contentType': 'text/xml; charset=UTF-8',
- 'data': data
- });
- }
- });
- return GlobalParametersService;
- });
|