Update Site Default Saved Search
post
                    /rest/v19/searchResources/{resourceVarName}/entityPreferenceForSite
Use this endpoint to update the default saved search for the site.
                
                Request
Path Parameters
                - 
                    resourceVarName(required): string
                    
                    The unique variable name to identify the process.
Root Schema : UserPreferenceDefaultModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            _entity: 
            string
            Example:Quote
- 
            default: 
            boolean
            
- 
            queryUuid: 
            number
            Example:34456783
Response
201 Response
The status change is successful.
                
                
                404 Response
Search or Resource not found
                
                
                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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/searchResources/commerceDocumentsOraclecpqoTransaction/entityPreferenceForSite
Request Body Sample
{
  "_entity": "Quote",
  "queryUuid": 15514399,
  "default": true
}