POST /asset_model/saved_searches/{saved_search_id}
Updates the asset saved search owner only.
Updates the asset saved search owner only.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
saved_search_id |
path |
Required |
Number (Integer) |
text/plain |
null |
fields |
header |
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. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
saved_search |
Object |
application/json |
null |
{ "columns": [ { "name": "String", "type": "String" } ], "description": "String", "filters": [ { "operator": "String", "parameter": "String", "value": "String" } ], "id": 42, "is_shared": true, "name": "String", "owner": "String" } |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The asset saved search was updated. |
|
403 |
1009 |
You do not have the required capabilities to update the asset saved search. |
404 |
1002 |
The asset saved search does not exist. |
409 |
1004 |
The provided user does not have the required capabilities to own the asset saved search. |
422 |
1005 |
A request parameter is not valid. |
500 |
1020 |
An error occurred during the attempt to update the asset saved search. |
Response Description
- 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"
}