GET /asset_model/saved_searches/{saved_search_id}

Retrieves an asset saved search.

Retrieves an asset saved search.

Table 1. GET /asset_model/saved_searches/{saved_search_id} resource details
MIME Type

application/json

Table 2. GET /asset_model/saved_searches/{saved_search_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

saved_search_id

path

Required

Number (Integer)

text/plain

null

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /asset_model/saved_searches/{saved_search_id} response codes
HTTP Response Code Unique Code Description

200

The asset saved search was retrieved,

404

1002

The asset saved search does not exist,

500

1020

An error occurred during the attempt to retrieve the asset saved search,

Response Description

The asset saved search after it is retrieved. An Asset Saved Search object contains the following fields:
  • id - Long - The ID of the asset saved search.
  • name - String - The name of the asset saved search.
  • owner - String - The owner of the asset saved search.
  • isShared - Boolean - True if the asset saved search is shared with other users.
  • description - String - The description of the asset saved search.
  • filters - List of Strings - The asset saved search filters.
  • columns - List of Strings - The asset saved search columns.

Response Sample


{
    "columns": [
        {
            "name": "String",
            "type": "String"
        }
    ],
    "description": "String",
    "filters": [
        {
            "operator": "String",
            "parameter": "String",
            "value": "String"
        }
    ],
    "id": 42,
    "is_shared": true,
    "name": "String",
    "owner": "String"
}