Description
Represents the configuration of a publicly accessible job query.
Parameters
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.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/publicQueries/query/5
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",
"fields": "JTX_JOBS.JOB_NAME,JTX_JOBS.ASSIGNED_TO",
"aliases": "Job Name, Assigned To",
"tables": "JTX_JOBS",
"where": "JTX_JOBS.STAGE <> 5",
"orderBy": "JTX_JOBS.JOB_NAME"
}