/reportDefinition
Methods
Gets the list of Report Definitions.
Fields Parameter
Request Query Parameters
None
Filter Parameters
usable - The response will be an object containing an array of usable Report Definitions. By default, both usable and manageable objects are returned.
manageable - The response will be an object containing all manageable Report Definitions. By default, both usable and manageable objects are returned.
Example Response
Adds a Report Definition
NOTE #1: For notes on the query object, see parameters for /query::POST.
NOTE #2: If a template ID is provided
- The template associated with the provided ID will be retrieved and used as the default values for the Report Definition.
- All Report Definition types are 'pdf'. These values can be overwritten.
- The 'name' will be handled by the back-end, and would default to the template name. If the template name already exists, it would default the name to the name plus the highest value used i.e. "templateName(2)"
- Templates do not include a schedule. A schedule must still be provided.
- Reports scheduled for a single occurrence are considered one-time reports. They run immediately and then are deleted. This includes schedules of type "now" or schedules of type "ical" and an empty "repeatRule" value
WARNING: If field attributeSetID is not numeric, it will pass validation. This check should be made more like the check for field styleFamily.
Request Parameters
Example Response
/reportDefinition/{id}
Methods
Gets the Report Definition associated with {id}.
Fields Parameter
Request Query Parameters
None
Example Response
Edits the Report Definition associated with {id}, changing only the passed in fields.
Request Parameters
(All fields are optional)
See /reportDefinition::POST for parameters.
Example Response
See /reportDefinition/{id}::GETDeletes Reports associated with Report Definition {id}.
Request Parameters
None
Example Response
/reportDefinition/{id}/launch
Methods
Launches a Report Job specified from the Report Definition associated with {id}. To get the status of the Report Job, see API call /report::GET.
Request Query Parameters
None
Example Response
/reportDefinition/{id}/copy
Copies the Report Definition associated with {id}.
Request Query Parameters
Example Response
/reportDefinition/{id}/export
Exports the Report Definition associated with {id}.
Request Query Parameters
Example Response
None given. The response will be an xml file containing the Report Definition.
/reportDefinition/import
Imports the report definition provided.