Update Site Default Saved Search

post

/rest/v16/searchResources/{resourceVarName}/entityPreferenceForSite

Use this endpoint to update the default saved search for the site.

Request

Path Parameters
Body ()
Root Schema : UserPreferenceDefaultModel
Type: object
Show Source
Back to Top

Response

201 Response

The status change is successful.

404 Response

Search or Resource not found
Back to Top

Examples

The following examples show how to update the default saved search for the site by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/searchResources/commerceDocumentsOraclecpqoTransaction/entityPreferenceForSite

Request Body Sample

{
  "_entity": "Quote",
  "queryUuid": 15514399,
  "default": true
}
Back to Top