Hello, when trying to use the Jobs service to search for jobs based on data from the full definition (jobModel object), the example provided in the documentation along with several other attempts to get it to work have failed.
The example in the documentation of passing in {"outputFormat":"PDF"} as a url parameter fails.
Everything is url encoded and I get the following error
400 Bad Request
Couldn't parse JSON string: Unrecognized field "outputFormat" (class com.jaspersoft.jasperserver.api.engine.scheduling.domain.reportjobmodel.ReportJobModel), not marked as ignorable (29 known properties: "mailNotificationModel", "isUsernameModified", "isSourceModified", "isContentRespositoryDestinationModified", "triggerModel", "isLabelModified", "runtimeInformationModel", "username", "isTriggerModified", "baseOutputFilename", "outputFormats", "alert", "runtimeInformationModified", "repositoryDestinationModel", "isBaseOutputFileNameModified", "creationDate", "isOutputLocaleModified", "label", "isMailNotificationModified", "isOutputFormatsModified", "outputLocale", "description", "reportParameters", "outputFormatsSet", "sourceModel", "isDescriptionModified", "alertModel", "isAlertModified", "outputTimeZone"])
at [Source: (String)"{"outputFormat":"PDF"}"; line: 1, column: 18] (through reference chain: com.jaspersoft.jasperserver.api.engine.scheduling.domain.reportjobmodel.ReportJobModel["outputFormat"])
Any help is appreciated because this would allow us to find job IDs based on information in the full job definition. Thank you!