855.367.3511 | CONTACT US
Classes | Public Member Functions | List of all members
ReportManager.Controllers.ReportManagerController Class Reference

Inherits ApiController.

Classes

class  CacheData
 
class  InheritSecurity
 
class  LinkedReport
 
class  ReportTagsPostBack
 
class  SaveReprotPropertyPostBack
 
class  SetLinkedReport
 
class  SetPolicy
 

Public Member Functions

HttpResponseMessage GetItems (string view, string path, string instance=null)
 GetItems will return an array of catalog items based upon the given view string and path. More...
 
HttpResponseMessage FindItems (string folder, string searchOperator, string searchCriteria, string instance=null)
 FindItems will return an array of CatalogItems based upon the given search criteria More...
 
HttpResponseMessage ReportProperty (string path, string propertyName, string instance=null)
 ReportProperty will return back a list of property values based on the given property names More...
 
HttpResponseMessage SaveReportProperty (SaveReprotPropertyPostBack postValue)
 SaveReportProperty will save the properties to the given report path More...
 
HttpResponseMessage SaveThumbnail (string ReportPath, string SessionID, string instance=null)
 SaveThumbnail will cause a thumbnail to be generated and saved for the given report path. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage Thumbnail (string ReportPath, string DefDate, string instance=null)
 Thumbnail will return the requested thumbnail image (I.e. "image/JPEG"). Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage HasPermission (string path, string permission, string instance=null)
 HasPermission will return a JSON object that defines the given permission settings More...
 
HttpResponseMessage Resource (string path, string instance=null)
 Resource returns the requested resource in the default mime type for that object. for instance if you store a .pdf file in SSRS the mime type would be "application/pdf" More...
 
HttpResponseMessage DownloadFile (string path, string itemtype, string instance=null)
 DownloadFile will download the given resource using the default mime type More...
 
HttpResponseMessage SaveResource (SetResource setResource)
 SaveResource will save the given resource defined by the setResource object More...
 
HttpResponseMessage DeleteCatalogItem (string path, string safeFolderDelete, string instance=null)
 Will delete the catalog item define by path from the database. More...
 
HttpResponseMessage UpdateView (string view, string action, string path, string instance=null)
 Adds or deletes a report / resource from the favorites view. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage IsFavorite (string path, string instance=null)
 Tests if the given report / resource is contained in the favorites view. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetUserParameters (string reportPath, string instance=null, string userName=null)
 Returns any named parameter sets for the given reportPath and user. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage SaveUserParameters (SaveParameters saveParams)
 Saves the given named parameter sets. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetUserSettings (string instance=null)
 Returns the user settings for the current user. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetUserName (string instance=null)
 Returns the current user name More...
 
HttpResponseMessage SaveUserSettings (string settings, string instance=null)
 Saves the given user settings. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage CreateSubscription (SubscriptionInfoPostBack info)
 Creates an email subscription. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetSubscription (string subscriptionID, string instance=null)
 Returns the subscription information based upon the given subscription id. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage UpdateSubscription (SubscriptionInfoPostBack info)
 Updated the subscription based upon the given info parameter. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage DeleteSubscription (string subscriptionID, string instance=null)
 Delete the subscription defined by the subscription id. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage ListSubscriptions (string reportPath, string instance=null)
 Returns a list of subscriptions for the given report path and current user. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage ListMySubscriptions (string instance=null)
 Returns a list of subscriptions for the current user More...
 
HttpResponseMessage ListDeliveryExtensions (string instance=null)
 Returns an array of delivery extensions. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetExtensionSettings (string extension, string instance=null)
 Returns the extension settings based upon the given extension. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage ListSchedules (string instance=null)
 Returns a list of subscription schedules. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetReportTags (string path, string instance=null)
 Returns any / all tags that have been associated with the given report, resource or folder path. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage SaveReportTags (ReportTagsPostBack postValue)
 Saves the given report tags back to the database. Requires the UseMobilizerDB configuration option. More...
 
HttpResponseMessage GetItemPolicies (string itemPath, string instance=null)
 Returns the security policies for the given itemPath More...
 
HttpResponseMessage SetItemPolicies (SetPolicy policy)
 Sets the security polices for the given itemPath More...
 
HttpResponseMessage ListRoles (string type, string itemPath, string instance=null)
 Returns an array of security roles More...
 
HttpResponseMessage InheritParentSecurity (InheritSecurity inheritParent)
 Returns the inherited security from the parent More...
 
HttpResponseMessage GetMobilizerSetting (string instance=null)
 Returns the Mobilizer settings defined via the file referenced in the configuration appSettings "Forerunner.MobilizerSettingPath" More...
 
HttpResponseMessage GetMobilizerVersion (string instance=null)
 Returns the current Mobilizer version number More...
 
HttpResponseMessage GetMobilizerLocFile (string LocFile, string instance=null)
 Returns the requested loc file More...
 
HttpResponseMessage GetCatalog (string rootPath, bool showLinkedReport, string instance=null)
 Returns back the entire catalog (so this can be expensive). It is usefully when presenting a dialog where the user can select a report such as the Link Report feature. More...
 
HttpResponseMessage GetReportLink (string path, string instance=null)
 Returns the actual path of the original report given a linked report path More...
 
HttpResponseMessage SetReportLink (SetLinkedReport linkedReport)
 Sets the actual report path, i.e., newLink, for a linked report, i.e., linkedReportPath More...
 
HttpResponseMessage CreateLinkedReport (LinkedReport linkedReport)
 Creates a new linked report More...
 
HttpResponseMessage NewFolder (NewFolderData data)
 Creates a new folder with the given properties More...
 
HttpResponseMessage UploadFile ()
 Uploads the given file to the server. This method accepts a Post request with enctype: "multipart/form-data". The multiparts are: file, filename, overwrite, parentfolder and rsinstance. Mobilizer using the jQuery ajaxForm plugin to help format the request properly. More...
 
HttpResponseMessage MoveItem (MoveItemData data)
 Moves the curFullPath to the newFullPath More...
 
HttpResponseMessage GetDBConfig (string instance=null)
 Returns a subset of Mobilizer appSettings as a JSON object More...
 

Member Function Documentation

HttpResponseMessage ReportManager.Controllers.ReportManagerController.CreateLinkedReport ( LinkedReport  linkedReport)

Creates a new linked report

Parameters
linkedReportJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.CreateSubscription ( SubscriptionInfoPostBack  info)

Creates an email subscription. Requires the UseMobilizerDB configuration option.

Parameters
infoJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.DeleteCatalogItem ( string  path,
string  safeFolderDelete,
string  instance = null 
)

Will delete the catalog item define by path from the database.

Parameters
pathPath of the item to delete
safeFolderDelete"true" to delete folders that have children
instance
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.DeleteSubscription ( string  subscriptionID,
string  instance = null 
)

Delete the subscription defined by the subscription id. Requires the UseMobilizerDB configuration option.

Parameters
subscriptionIDSubscription id
instance
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.DownloadFile ( string  path,
string  itemtype,
string  instance = null 
)

DownloadFile will download the given resource using the default mime type

Parameters
pathResource / report path
itemtypeCatalogItem item type
instance
Returns
Object of the default mime type. E.g., "xml/forerunner-report"
HttpResponseMessage ReportManager.Controllers.ReportManagerController.FindItems ( string  folder,
string  searchOperator,
string  searchCriteria,
string  instance = null 
)

FindItems will return an array of CatalogItems based upon the given search criteria

Parameters
folderFolder path, null will default to "/"
searchOperatorDefaults to "or" unless "and" is passed
searchCriteriaA JSON object. E.g., {"SearchCriteria":[{"Key":"Name","Value":"search value"},{"Key":"Description","Value":"search value"}]}
instance
Returns
JSON object that contains a CatalogItem array
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetCatalog ( string  rootPath,
bool  showLinkedReport,
string  instance = null 
)

Returns back the entire catalog (so this can be expensive). It is usefully when presenting a dialog where the user can select a report such as the Link Report feature.

Parameters
rootPathRoot path to start the search
showLinkedReport"true" or "false"
instance
Returns
{ "children": [ { "children": [ { "children": null, "Name": "Company Sales 2008", "Path": "/AdventureWorks 2008 Sample Reports/Company Sales 2008", "Type": 2 }, { "children": null, "Name": "Employee Sales Summary 2008", "Path": "/AdventureWorks 2008 Sample Reports/Employee Sales Summary 2008", "Type": 2 } ], "Name": "AdventureWorks 2008 Sample Reports", "Path": "/AdventureWorks 2008 Sample Reports", "Type": 1 } ], "Name": "/", "Path": "/", "Type": 1 }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetDBConfig ( string  instance = null)

Returns a subset of Mobilizer appSettings as a JSON object

Parameters
instance
Returns
JSON object which contains a subset of the appSettings. E.g., { "UseMobilizerDB":true, "SeperateDB":false }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetExtensionSettings ( string  extension,
string  instance = null 
)

Returns the extension settings based upon the given extension. Requires the UseMobilizerDB configuration option.

Parameters
extensionExtension name
instance
Returns
JSON object that contains the settings
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetItemPolicies ( string  itemPath,
string  instance = null 
)

Returns the security policies for the given itemPath

Parameters
itemPathItem path
instance
Returns
JSON object containing the policies. E.g., { "isInheritParent": true, "policyArr": [ { "GroupUserName": "BUILTIN\\Administrators", "Roles": [ { "Name": "Content Manager", "Description": "" } ] }, { "GroupUserName": "jonto-i7\\Jon", "Roles": [ { "Name": "Browser", "Description": "" }, { "Name": "Content Manager", "Description": "" } ] } ] }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetItems ( string  view,
string  path,
string  instance = null 
)

GetItems will return an array of catalog items based upon the given view string and path.

Parameters
viewView: "catalog", "recent", "favorites" or "searchfolder"
pathFolder path. Used when the view is either "catalog" or "searchfolder"
instanceInstance name
Returns
JSON object that contains a CatalogItem array, E.g., [{ "LocalizedName": null, "LocalizedDescription": null, "ID": "6211fb02-9662-4ef9-8dc6-b1236b722fe7", "Name": "AdventureWorks 2008 Sample Reports", "Path": "/AdventureWorks 2008 Sample Reports", "VirtualPath": null, "Type": 1, "Size": 0, "SizeSpecified": false, "Description": null, "Hidden": false, "HiddenSpecified": false, "CreationDate": "\/Date(1404870950527)\/", "CreationDateSpecified": true, "ModifiedDate": "\/Date(1429580966090)\/", "ModifiedDateSpecified": true, "CreatedBy": "jonto-i7\\Jon", "ModifiedBy": "JONTO-I7\\TestAccount", "MimeType": null, "ExecutionDate": "\/Date(-62135568000000)\/", "ExecutionDateSpecified": false }, { "LocalizedName": null, "LocalizedDescription": null, "ID": "f8118cba-c72b-4027-8cc7-dbc45fe45909", "Name": "AdventureWorks 2008R2", "Path": "/AdventureWorks 2008R2", "VirtualPath": null, "Type": 1, "Size": 0, "SizeSpecified": false, "Description": null, "Hidden": false, "HiddenSpecified": false, "CreationDate": "\/Date(1404870634657)\/", "CreationDateSpecified": true, "ModifiedDate": "\/Date(1404870637327)\/", "ModifiedDateSpecified": true, "CreatedBy": "jonto-i7\\Jon", "ModifiedBy": "jonto-i7\\Jon", "MimeType": null, "ExecutionDate": "\/Date(-62135568000000)\/", "ExecutionDateSpecified": false }] /returns>
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetMobilizerLocFile ( string  LocFile,
string  instance = null 
)

Returns the requested loc file

Parameters
LocFile
instance
Returns
Returns the requested loc file
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetMobilizerSetting ( string  instance = null)

Returns the Mobilizer settings defined via the file referenced in the configuration appSettings "Forerunner.MobilizerSettingPath"

Parameters
instance
Returns
JSON object with the settings. E.g., { "MaxBigDropdownItem": 50, "MinItemToEnableBigDropdownOnTouch": 20, "EnableCascadingTree": "on", "MaxResponsiveResolution": 1280, "FullScreenPageNavSize" : 768, "DefaultResponsiveTablix" : "on", "FirefoxPDFbug":"on", "ParameterPaneWidth":"350", "showHomeButton":"off", "showSubscriptionUI":"on", "FancyTooltips":"on", "ImageAreaHighligh": "on", "ImageAreaHighlighBorderColor": "0000ff", "ImageAreaHighlighBorderWidth": "2", "HideDisabledTool":"on", "WatermarkPostText":"", "DefaultSubscriptionFormat":"MHTML", "URLActionNewTab": "off", "Debug":"off", "SubscriptionInputSize":"50", "ManageSubscriptionUI":"default", "EnableGestures":"on", "BigTablixBatchSize":3000, "AppleFixedToolbarBug":"on", "DefaultViewStyle":"list" }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetMobilizerVersion ( string  instance = null)

Returns the current Mobilizer version number

Parameters
instance
Returns
Version number in text format
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetReportLink ( string  path,
string  instance = null 
)

Returns the actual path of the original report given a linked report path

Parameters
pathLinked report path
instance
Returns
JSON object that contains the actual path. E.g., { "linkedReport":"/AdventureWorks 2008 Sample Reports/Company Sales 2008" }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetReportTags ( string  path,
string  instance = null 
)

Returns any / all tags that have been associated with the given report, resource or folder path. Requires the UseMobilizerDB configuration option.

Parameters
pathReport, resource or folder path
instance
Returns
JSON object containing the tags. E.g., { "Tags": [ "\"Products"", ""DocMap"" ] }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetSubscription ( string  subscriptionID,
string  instance = null 
)

Returns the subscription information based upon the given subscription id. Requires the UseMobilizerDB configuration option.

Parameters
subscriptionIDSubscription ID
instance
Returns
JSON object containing the requested subscription. E.g., { "SubscriptionID": "d174a766-2063-44f2-a440-1003f7538848", "Report": null, "ExtensionSettings": { "Extension": "Report Server Email", "ParameterValues": [ { "Name": "TO", "Value": "TestAccount", "Label": null }, { "Name": "Subject", "Value": "@ReportName was executed at @ExecutionTime", "Label": null }, { "Name": "IncludeLink", "Value": "True", "Label": null }, { "Name": "IncludeReport", "Value": "True", "Label": null }, { "Name": "RenderFormat", "Value": "MHTML", "Label": null } ] }, "Description": "Send email to TestAccount", "EventType": "TimedSubscription", "SubscriptionSchedule": { "Name": null, "ScheduleID": "cb4656d7-f5bb-4a63-8b6f-82bd8c9300c2", "MatchData": "\u003c?xml version=\"1.0" encoding="utf-16" standalone="yes"? xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices"-12-30T02:00:00.000-08:00/StartDateTime xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices"/WeeksInterval/Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/DaysOfWeek/WeeklyRecurrence/ScheduleDefinition", "IsMobilizerSchedule": false }, "Parameters": [ { "Name": "MultipleValues", "Value": "1", "Label": null }, { "Name": "MultipleValues", "Value": "2", "Label": null }, { "Name": "FloatTest", "Value": "1", "Label": null }, { "Name": "ProductName", "Value": "Chai", "Label": null }, { "Name": "IsCheap", "Value": null, "Label": null }, { "Name": "ReportParameter1", "Value": null, "Label": null }, { "Name": "IntegerTest", "Value": null, "Label": null }, { "Name": "CategoryID", "Value": "1", "Label": null }, { "Name": "ProductionDate", "Value": "2014-12-01", "Label": null } ] }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetUserName ( string  instance = null)

Returns the current user name

Parameters
instance
Returns
Current user name in text
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetUserParameters ( string  reportPath,
string  instance = null,
string  userName = null 
)

Returns any named parameter sets for the given reportPath and user. Requires the UseMobilizerDB configuration option.

Parameters
reportPathReport path
instance
Returns
JSON object that contains any named parameter sets. E.g., { "canEditAllUsersSet": true, "defaultSetId": "08cd351a-a0df-3e1c-d158-d5ee090f8ad7", "parameterSets": { "08cd351a-a0df-3e1c-d158-d5ee090f8ad7": { "isAllUser": false, "name": "Default", "id": "08cd351a-a0df-3e1c-d158-d5ee090f8ad7", "data": { "ParamsList": [ { "Parameter": "StartDate", "IsMultiple": "false", "Type": "DateTime", "Value": "2002-01-01", "UseDefault": null }, { "Parameter": "EndDate", "IsMultiple": "false", "Type": "DateTime", "Value": "2003-12-31", "UseDefault": null } ] } }, "66512c24-826d-6090-fef9-4a11b9db9bf2": { "name": "Second Named Set", "id": "66512c24-826d-6090-fef9-4a11b9db9bf2", "data": { "ParamsList": [ { "Parameter": "StartDate", "IsMultiple": "false", "Type": "DateTime", "Value": "2002-01-01", "UseDefault": null }, { "Parameter": "EndDate", "IsMultiple": "false", "Type": "DateTime", "Value": "2003-12-07", "UseDefault": null } ] }, "isAllUser": false } } }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.GetUserSettings ( string  instance = null)

Returns the user settings for the current user. Requires the UseMobilizerDB configuration option.

Parameters
instance
Returns
JSON object that contains the user setting. E.g., { "responsiveUI": false, "adminUI": true, "email": "", "viewStyle": "large" }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.HasPermission ( string  path,
string  permission,
string  instance = null 
)

HasPermission will return a JSON object that defines the given permission settings

Parameters
pathResource path
permissionComma delimited list of permissions. E.g., "Create Resource,Update Properties,Update Security Policies,Create Report,Create Folder"
instance
Returns
JSON object. E.g., { "Create Resource":true, "Update Properties":true, "Update Security Policies":true, "Create Report":true, "Create Folder":true }
HttpResponseMessage ReportManager.Controllers.ReportManagerController.InheritParentSecurity ( InheritSecurity  inheritParent)

Returns the inherited security from the parent

Parameters
inheritParentJSON object
Returns
JSON object containing the security settings
HttpResponseMessage ReportManager.Controllers.ReportManagerController.IsFavorite ( string  path,
string  instance = null 
)

Tests if the given report / resource is contained in the favorites view. Requires the UseMobilizerDB configuration option.

Parameters
pathReport / resource path
instance
Returns
JSON object
HttpResponseMessage ReportManager.Controllers.ReportManagerController.ListDeliveryExtensions ( string  instance = null)

Returns an array of delivery extensions. Requires the UseMobilizerDB configuration option.

Parameters
instance
Returns
JSON array of delivery extension. E.g., [ { "ExtensionType": 0, "Name": "Report Server FileShare", "LocalizedName": "Windows File Share", "Visible": true, "IsModelGenerationSupported": false }, { "ExtensionType": 0, "Name": "Report Server Email", "LocalizedName": "E-Mail", "Visible": true, "IsModelGenerationSupported": false }, { "ExtensionType": 0, "Name": "NULL", "LocalizedName": "Null Delivery Provider", "Visible": true, "IsModelGenerationSupported": false } ]
HttpResponseMessage ReportManager.Controllers.ReportManagerController.ListMySubscriptions ( string  instance = null)

Returns a list of subscriptions for the current user

Parameters
instance
Returns
JSON object the contains the subscription information
HttpResponseMessage ReportManager.Controllers.ReportManagerController.ListRoles ( string  type,
string  itemPath,
string  instance = null 
)

Returns an array of security roles

Parameters
type"Catalog"
itemPathReport, Folder or resource path
instance
Returns
[ { "Name": "Browser", "Description": "May view folders, reports and subscribe to reports." }, { "Name": "Content Manager", "Description": "May manage content in the Report Server. This includes folders, reports and resources." }, { "Name": "My Reports", "Description": "May publish reports and linked reports; manage folders, reports and resources in a users My Reports folder." }, { "Name": "Publisher", "Description": "May publish reports and linked reports to the Report Server." }, { "Name": "Report Builder", "Description": "May view report definitions." } ]
HttpResponseMessage ReportManager.Controllers.ReportManagerController.ListSchedules ( string  instance = null)

Returns a list of subscription schedules. Requires the UseMobilizerDB configuration option.

Parameters
instance
Returns
JSON array of schedules
HttpResponseMessage ReportManager.Controllers.ReportManagerController.ListSubscriptions ( string  reportPath,
string  instance = null 
)

Returns a list of subscriptions for the given report path and current user. Requires the UseMobilizerDB configuration option.

Parameters
reportPathReport Path
instance
Returns
JSON object containing the subscription information
HttpResponseMessage ReportManager.Controllers.ReportManagerController.MoveItem ( MoveItemData  data)

Moves the curFullPath to the newFullPath

Parameters
dataJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.NewFolder ( NewFolderData  data)

Creates a new folder with the given properties

Parameters
dataJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.ReportProperty ( string  path,
string  propertyName,
string  instance = null 
)

ReportProperty will return back a list of property values based on the given property names

Parameters
pathRespource path
propertyNameComma delimited list of property names. E.g., "Hidden,Description,ForerunnerRDLExt,Name"
instance
Returns
JSON object. E.g., {"Hidden":"False","Name":"jonto"}
HttpResponseMessage ReportManager.Controllers.ReportManagerController.Resource ( string  path,
string  instance = null 
)

Resource returns the requested resource in the default mime type for that object. for instance if you store a .pdf file in SSRS the mime type would be "application/pdf"

Parameters
pathResource path
instance
Returns
Object of the default mime type, E.g., "application/pdf"
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SaveReportProperty ( SaveReprotPropertyPostBack  postValue)

SaveReportProperty will save the properties to the given report path

Parameters
postValueJSON object
Returns
JSON object
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SaveReportTags ( ReportTagsPostBack  postValue)

Saves the given report tags back to the database. Requires the UseMobilizerDB configuration option.

Parameters
postValueJSON object
Returns
Status code (E.g., 200 for OK)
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SaveResource ( SetResource  setResource)

SaveResource will save the given resource defined by the setResource object

Parameters
setResourceJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SaveThumbnail ( string  ReportPath,
string  SessionID,
string  instance = null 
)

SaveThumbnail will cause a thumbnail to be generated and saved for the given report path. Requires the UseMobilizerDB configuration option.

Parameters
ReportPathReport path
SessionIDCurrent Session ID
instance
Returns
Status OK (I.e., 200)
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SaveUserParameters ( SaveParameters  saveParams)

Saves the given named parameter sets. Requires the UseMobilizerDB configuration option.

Parameters
saveParamsJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SaveUserSettings ( string  settings,
string  instance = null 
)

Saves the given user settings. Requires the UseMobilizerDB configuration option.

Parameters
settingsJSON object. E.g., {"responsiveUI":true,"adminUI":true,"email":"","viewStyle":"large"}
instance
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SetItemPolicies ( SetPolicy  policy)

Sets the security polices for the given itemPath

Parameters
policyJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.SetReportLink ( SetLinkedReport  linkedReport)

Sets the actual report path, i.e., newLink, for a linked report, i.e., linkedReportPath

Parameters
linkedReportJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.Thumbnail ( string  ReportPath,
string  DefDate,
string  instance = null 
)

Thumbnail will return the requested thumbnail image (I.e. "image/JPEG"). Requires the UseMobilizerDB configuration option.

Parameters
ReportPathReport path
DefDatenot used
instance
Returns
"image/JPEG"
HttpResponseMessage ReportManager.Controllers.ReportManagerController.UpdateSubscription ( SubscriptionInfoPostBack  info)

Updated the subscription based upon the given info parameter. Requires the UseMobilizerDB configuration option.

Parameters
infoJSON object
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.UpdateView ( string  view,
string  action,
string  path,
string  instance = null 
)

Adds or deletes a report / resource from the favorites view. Requires the UseMobilizerDB configuration option.

Parameters
viewMust be "favorites"
action"add" or "delete"
pathPath of the report / resource to add or delete from the favaorites view
instance
Returns
JSON object indicating status
HttpResponseMessage ReportManager.Controllers.ReportManagerController.UploadFile ( )

Uploads the given file to the server. This method accepts a Post request with enctype: "multipart/form-data". The multiparts are: file, filename, overwrite, parentfolder and rsinstance. Mobilizer using the jQuery ajaxForm plugin to help format the request properly.

Returns
JSON object indicating status