Rename Filter
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/filters/filterops/rename
Request
- application/json
- application/xml
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
Filter rename details.
object
-
from(required):
string
Original filter name.
-
to(required):
string
New filter name.
Response
- application/json
- application/xml
200 Response
OK
Filter was renamed successfully. Returns filter details and links to get, edit, or delete the filter, and to get the filter rows.
400 Response
Bad Request
Failed to rename filter. The application name or database name may be incorrect, or a filter with that name may already exist.
415 Response
Not Acceptable
The media type isn't supported or wasn't specified.
500 Response
Internal Server Error.
Examples
The following example shows how to rename an Essbase security filter.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X POST "https://myserver.example.com:9001/essbase/rest/v1/applications/Efficient/databases/UserFilters/filters/filterops/rename?links=none" -H "Accept: application/json" -H "Content-Type:application/json" -d '{"from": "dslookupfilter", "to": "dynamicfilter"}' -u %User%:%Password%
Example of Response Body
{
"name" : "dynamicfilter"
}