getSavedSearches

GET
1
/{orgId}/{itemId}/searches

Get saved searches

Get all the saved searches or charts, including searchId, name, folder, definition, search type, color ramp for charts and sort index.

Get Saved Searches Parameters:

ParameterDescriptionData Type
searchTypeOptional. The search type for returned saved searches. The accepted values are Standard, Chart and All. If not defined, the Standard searches are returned.String

Query parameters

NameTypeRequired

token

string

searchType

string

Path parameters

NameTypeRequired

orgId

string

itemId

string

Examples

Request

1
2
3
4
# You can also use wget
curl -X GET /{orgId}/{itemId}/searches \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

StatusMeaningDescriptionSchema

200

OK

List of saved searches or charts

Inline

400

Bad Request

invalid object

WorkflowJsonExceptionDTO

Response details

Status Code 200

SavedSearches

NameTypeRequired

searches

searchId

string¦null

name

string

folder

string¦null

definition

object

q

string¦null

search

string¦null

fields

[string]¦null

displayNames

[string]¦null

sortFields

[SortField]¦null

field

string

sortOrder

string

spatialExtent

string¦null

hasLocation

boolean¦null

start

integer(int32)

num

integer(int32)

searchType

string¦null

colorRamp

string¦null

sortIndex

integer(int32)¦null

Enumerated Values

sortOrder
Asc
Desc
searchType
Chart
Standard

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close