FRAMES | NO FRAMES Description | Parameters | Examples | Response
Public Query
URL http://<wmservice-url>/publicQueries/query/<queryId>
Supported Operations Delete Query  Update Query
Parent Resource Public Queries


Represents the configuration of a publicly accessible job query.


Parameter Details
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

Example 1: URL for public query ID 5 in the "Workflow" service on sampleserver.


JSON Response Syntax

  "id": <queryId>,
  "name": "<queryName>",
  "fields": "<fieldList>",
  "aliases": "<aliasList>",
  "tables": "<tableList>",
  "where": "<whereClause>",
  "orderBy": "<orderByField>"

JSON Response Example

  "id": 5,
  "name": "Open Jobs",
  "aliases": "Job Name, Assigned To",
  "tables": "JTX_JOBS",
  "where": "JTX_JOBS.STAGE <> 5",
  "orderBy": "JTX_JOBS.JOB_NAME"