ArcGIS Data Reviewer API for JavaScript
Show:

GetResultsQueryParameters Class

Encapsulates data used for retrieving results from the reviewer workspace. Instances of this class define the size and content of featuresets returned by the getResults function in ReviewerResultsTask. Results returned from the getResults function are paged. You can control page size and which page to fetch using properties in this class.

See getResults.

Constructor

GetResultsQueryParameters

()

Methods

toJSON

() JSON Object

Returns a JSON representation of an instance of GetResultsQueryParameters.

Returns:

JSON Object:

Properties

pageNumber

Number

The page number, zero based index, of the results to return.

Default: 0

pageSize

Number

The number of items to list on a page. Specify a value between 1-1000.

Default: 5

returnFields (Optional)

Array

Array of field names. Use "*" to indicate ALL. Valid fields include:

  • recordId
  • objectId
  • subtype
  • category
  • sessionId
  • checktitle
  • resourceName
  • checkName
  • notes
  • severity
  • reviewStatus
  • reviewTechnician
  • correctionTechnician
  • verificationTechnician
  • reviewDateUtc
  • correctionDateUtc
  • verificationDateUtc
  • lifecycleStatus

sortBy (Optional)

String

Indicates a field name by which to sort. The field must be included in returnFields.

sortDescending (Optional)

Bool

Controls sort order.

Default: false