---
id: patch-advanced-search
sidebar_label: Update a saved advanced search query
hide_title: true
hide_table_of_contents: true
api: {"operationId":"patchAdvancedSearch","description":"Update a saved advanced search query","tags":["Advanced Search"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"},"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"id":{"description":"the id of the object","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"label":{"description":"the label","type":"string","example":"mylabel"},"condition_rules_attributes":{"description":"The attributes for the condition rules","type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"description":"the id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"the type","type":"string","required":true,"enum":["ProfileTypeRule"],"example":"ProfileTypeRule"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","enum":["==","!="],"example":"=="},"value":{"description":"The value to use in the comparison","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"_destroy":{"description":"Should this Profile type rule be destroyed?","type":"boolean","default":false,"example":false}}},{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileStatusRule"],"example":"ProfileStatusRule"},"comparison_operator":{"description":"The operator to use to compare","type":"string","enum":["==","!="],"example":"=="},"value":{"description":"The value","type":"string","enum":["Active","Inactive","Leave of absence","Terminated"],"example":"Active"},"_destroy":{"description":"Should this be destroyed","type":"boolean","default":false,"example":false}}},{"type":"object","properties":{"id":{"description":"The Id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"The uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileAttributeRule"],"example":"ProfileAttributeRule"},"condition_object_type":{"description":"The condition_object_type","type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"],"example":"TextAreaAttribute"},"condition_object_id":{"description":"The condition_object_id","type":"string","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"comparison_operator":{"description":"The operator used for comparisons","type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"],"example":"=="},"value":{"description":"The value","type":"string","required":true,"example":"Some value"},"_destroy":{"description":"Destroy","type":"boolean","default":false,"example":false}}},{"type":"object","properties":{"id":{"description":"the id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"the uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"the type","type":"string","required":true,"enum":["ProfileAttributeRule"],"example":"ProfileAttributeRule"},"condition_object_type":{"description":"The condition_object_type","type":"string","required":true,"enum":["DateAttribute"],"example":"DateAttribute"},"condition_object_id":{"description":"The condition_object_id","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"secondary_attribute_type":{"description":"the secondary attribute type","type":"string","enum":["DateAttribute"],"example":"DateAttribute"},"secondary_attribute_id":{"description":"The secondary attribute id","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","enum":[">","<","after","before"],"example":"<"},"value":{"description":"The value","type":"string","required":true,"enum":["Today","<uid>"],"example":"Today"},"secondary_value":{"description":"The secondary value","type":"string","enum":["after","before"],"example":"after"},"tertiary_value":{"description":"The tertiary value","type":"string","example":30},"_destroy":{"description":"should this be destroyed","type":"boolean","default":false,"example":false}}},{"type":"object","properties":{"id":{"description":"the id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"the iud","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"the type","type":"string","required":true,"enum":["ProfileAttributeRule"],"example":"ProfileAttributeRule"},"condition_object_type":{"description":"The condition object type","type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"],"example":"ProfileSearchAttribute"},"condition_object_id":{"description":"The condition object id","type":"string","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","required":true,"enum":["include?","exclude?"],"example":"include?"},"value":{"description":"the value","type":"string","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"_destroy":{"description":"Should this be destroyed?","type":"boolean","default":false,"example":false}}},{"type":"object","properties":{"id":{"description":"the id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"the uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"the type","type":"string","required":true,"enum":["RiskRule"],"example":"RiskRule"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","enum":["==",">","<"],"example":"=="},"value":{"description":"the value","type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"secondary_value":{"description":"The secondary value","type":"string","required":true,"enum":["OverallRisk"],"example":"OverallRisk"},"_destroy":{"description":"Should this riskrule be destroyed","type":"boolean","default":false,"example":false}}}]},"example":[{"type":"ProfileTypeRule","comparison_operator":"==","value":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},{"type":"ProfileStatusRule","id":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","uid":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","comparison_operator":"==","value":"Active"}]}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"the uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"label":{"description":"the label","type":"string","example":"mylabel"},"condition_rules_attributes":{"description":"The condition rules attributes","type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"The uuid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileTypeRule"],"example":"ProfileTypeRule"},"comparison_operator":{"description":"The comparison operator","type":"string","enum":["==","!="],"example":"=="},"value":{"description":"The value","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"}}},{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"The uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileStatusRule"],"example":"ProfileStatusRule"},"comparison_operator":{"description":"The comparison operator","type":"string","enum":["==","!="],"example":"=="},"value":{"description":"The value","type":"string","enum":["Active","Inactive","Leave of absence","Terminated"],"example":"Active"}}},{"type":"object","properties":{"id":{"description":"the id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"the uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileAttributeRule"],"example":"ProfileAttributeRule"},"condition_object_type":{"description":"The condition_object_type","type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"],"example":"TextAreaAttribute"},"condition_object_id":{"description":"The condition_object_id","type":"string","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"],"example":"=="},"value":{"description":"The value","type":"string","required":true,"example":"Some value"}}},{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"The uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileAttributeRule"],"example":"ProfileAttributeRule"},"condition_object_type":{"description":"The condition object type","type":"string","required":true,"enum":["DateAttribute"],"example":"DateAttribute"},"condition_object_id":{"description":"The condition object id","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"secondary_attribute_type":{"description":"The secondary_attribute_type","type":"string","enum":["DateAttribute"],"example":"DateAttribute"},"secondary_attribute_id":{"description":"The secondary_attribute_id","type":"string","format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","enum":[">","<","after","before"],"example":"<"},"value":{"description":"The value to use for comparison","type":"string","required":true,"enum":["Today","<uid>"],"example":"Today"},"secondary_value":{"description":"The secondary value","type":"string","enum":["after","before"],"example":"after"},"tertiary_value":{"description":"the tertiary_value","type":"string","example":30}}},{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"The uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["ProfileAttributeRule"],"example":"ProfileAttributeRule"},"condition_object_type":{"description":"The condition_object_type","type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"],"example":"OwnerSearchAttribute"},"condition_object_id":{"description":"The condition_object_id","type":"string","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"comparison_operator":{"description":"The comparison_operator","type":"string","required":true,"enum":["include?","exclude?"],"example":"include?"},"value":{"description":"The value","type":"string","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"}}},{"type":"object","properties":{"id":{"description":"The id","type":"string","format":"uuid","readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"uid":{"description":"the uid","type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"type":{"description":"The type","type":"string","required":true,"enum":["RiskRule"],"example":"RiskRule"},"comparison_operator":{"description":"The operator to use for comparison","type":"string","enum":["==",">","<"],"example":"=="},"value":{"description":"Id of the Risk Level being compared against","type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid","example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},"secondary_value":{"description":"The secondary value","type":"string","required":true,"enum":["OverallRisk"],"example":"OverallRisk"}}}]},"example":[{"type":"ProfileTypeRule","comparison_operator":"==","value":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},{"type":"ProfileStatusRule","id":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","uid":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","comparison_operator":"==","value":"Active"}]}}}}}}}}},"method":"patch","path":"/advanced_search/{id}","jsonRequestBodyExample":{"advanced_search":{"id":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","label":"mylabel","condition_rules_attributes":[{"type":"ProfileTypeRule","comparison_operator":"==","value":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"},{"type":"ProfileStatusRule","id":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","uid":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e","comparison_operator":"==","value":"Active"}]}},"info":{"version":"1.0.0","title":"NERM Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a saved advanced search query","description":{"content":"Update a saved advanced search query","type":"text/plain"},"url":{"path":["advanced_search",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}}
sidebar_class_name: "patch api-method"
info_path: nerm/api/nerm-lifecycle-api
custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a saved advanced search query' (patch-advanced-search)"
---

import ApiTabs from "@theme/ApiTabs";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import TabItem from "@theme/TabItem";

## Update a saved advanced search query



Update a saved advanced search query

<details style={{"marginBottom":"1rem"}} data-collapsed={false} open={true}><summary style={{}}><strong>Path Parameters</strong></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"},"example":"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e"}}></ParamsItem></ul></div></details><MimeTabs><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} data-collapsed={false} open={true}><summary style={{"textAlign":"left"}}><strong>Request Body</strong><strong style={{"fontSize":"var(--ifm-code-font-size)","color":"var(--openapi-required)"}}> required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>advanced_search</strong><span style={{"opacity":"0.6"}}> object</span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"the id of the object"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={false} deprecated={undefined} schemaDescription={"the label"} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>condition_rules_attributes</strong><span style={{"opacity":"0.6"}}> object[]</span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

The attributes for the condition rules

</div><div><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"the type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileTypeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `!=`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value to use in the comparison"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"_destroy"} required={false} deprecated={undefined} schemaDescription={"Should this Profile type rule be destroyed?"} schemaName={"boolean"} qualifierMessage={undefined} defaultValue={false}></SchemaItem></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileStatusRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use to compare"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `!=`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`Active`, `Inactive`, `Leave of absence`, `Terminated`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"_destroy"} required={false} deprecated={undefined} schemaDescription={"Should this be destroyed"} schemaName={"boolean"} qualifierMessage={undefined} defaultValue={false}></SchemaItem></TabItem><TabItem label={"MOD3"} value={"2-item-properties"}><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileAttributeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_type"} required={false} deprecated={undefined} schemaDescription={"The condition_object_type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`TextFieldAttribute`, `TextAreaAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_id"} required={false} deprecated={undefined} schemaDescription={"The condition_object_id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator used for comparisons"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `!=`, `>`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"_destroy"} required={false} deprecated={undefined} schemaDescription={"Destroy"} schemaName={"boolean"} qualifierMessage={undefined} defaultValue={false}></SchemaItem></TabItem><TabItem label={"MOD4"} value={"3-item-properties"}><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"the type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileAttributeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_type"} required={false} deprecated={undefined} schemaDescription={"The condition_object_type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`DateAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_id"} required={false} deprecated={undefined} schemaDescription={"The condition_object_id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_attribute_type"} required={false} deprecated={undefined} schemaDescription={"the secondary attribute type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`DateAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_attribute_id"} required={false} deprecated={undefined} schemaDescription={"The secondary attribute id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`>`, `<`, `after`, `before`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`Today`, `<uid>`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_value"} required={false} deprecated={undefined} schemaDescription={"The secondary value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`after`, `before`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"tertiary_value"} required={false} deprecated={undefined} schemaDescription={"The tertiary value"} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"_destroy"} required={false} deprecated={undefined} schemaDescription={"should this be destroyed"} schemaName={"boolean"} qualifierMessage={undefined} defaultValue={false}></SchemaItem></TabItem><TabItem label={"MOD5"} value={"4-item-properties"}><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"the type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileAttributeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_type"} required={false} deprecated={undefined} schemaDescription={"The condition object type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileSelectAttribute`, `ProfileSearchAttribute`, `OwnerSelectAttribute`, `OwnerSearchAttribute`, `ContributorSelectAttribute`, `ContributorSearchAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_id"} required={false} deprecated={undefined} schemaDescription={"The condition object id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`include?`, `exclude?`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"the value"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"_destroy"} required={false} deprecated={undefined} schemaDescription={"Should this be destroyed?"} schemaName={"boolean"} qualifierMessage={undefined} defaultValue={false}></SchemaItem></TabItem><TabItem label={"MOD6"} value={"5-item-properties"}><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"the type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`RiskRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `>`, `<`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"the value"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_value"} required={false} deprecated={undefined} schemaDescription={"The secondary value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`OverallRisk`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"_destroy"} required={false} deprecated={undefined} schemaDescription={"Should this riskrule be destroyed"} schemaName={"boolean"} qualifierMessage={undefined} defaultValue={false}></SchemaItem></TabItem></SchemaTabs></div></div></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem></MimeTabs><div><ApiTabs><TabItem label={"200"} value={"200"}><div>

Expected response to a valid request

</div><div><MimeTabs schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs><TabItem label={"Schema"} value={"Schema"}><details style={{}} data-collapsed={false} open={true}><summary style={{"textAlign":"left"}}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>advanced_search</strong><span style={{"opacity":"0.6"}}> object</span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"The id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"the uid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={false} deprecated={undefined} schemaDescription={"the label"} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>condition_rules_attributes</strong><span style={{"opacity":"0.6"}}> object[]</span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

The condition rules attributes

</div><div><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"The id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"The uuid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileTypeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The comparison operator"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `!=`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"The id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"The uid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileStatusRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The comparison operator"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `!=`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`Active`, `Inactive`, `Leave of absence`, `Terminated`]"} defaultValue={undefined}></SchemaItem></TabItem><TabItem label={"MOD3"} value={"2-item-properties"}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"the id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"the uid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileAttributeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_type"} required={false} deprecated={undefined} schemaDescription={"The condition_object_type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`TextFieldAttribute`, `TextAreaAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_id"} required={false} deprecated={undefined} schemaDescription={"The condition_object_id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `!=`, `>`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></TabItem><TabItem label={"MOD4"} value={"3-item-properties"}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"The id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"The uid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileAttributeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_type"} required={false} deprecated={undefined} schemaDescription={"The condition object type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`DateAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_id"} required={false} deprecated={undefined} schemaDescription={"The condition object id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_attribute_type"} required={false} deprecated={undefined} schemaDescription={"The secondary_attribute_type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`DateAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_attribute_id"} required={false} deprecated={undefined} schemaDescription={"The secondary_attribute_id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`>`, `<`, `after`, `before`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`Today`, `<uid>`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_value"} required={false} deprecated={undefined} schemaDescription={"The secondary value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`after`, `before`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"tertiary_value"} required={false} deprecated={undefined} schemaDescription={"the tertiary_value"} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></TabItem><TabItem label={"MOD5"} value={"4-item-properties"}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"The id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"The uid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileAttributeRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_type"} required={false} deprecated={undefined} schemaDescription={"The condition_object_type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`ProfileSelectAttribute`, `ProfileSearchAttribute`, `OwnerSelectAttribute`, `OwnerSearchAttribute`, `ContributorSelectAttribute`, `ContributorSearchAttribute`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"condition_object_id"} required={false} deprecated={undefined} schemaDescription={"The condition_object_id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The comparison_operator"} schemaName={"string"} qualifierMessage={"**Possible values:** [`include?`, `exclude?`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"The value"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></TabItem><TabItem label={"MOD6"} value={"5-item-properties"}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"The id"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} deprecated={undefined} schemaDescription={"the uid"} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={false} deprecated={undefined} schemaDescription={"The type"} schemaName={"string"} qualifierMessage={"**Possible values:** [`RiskRule`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"comparison_operator"} required={false} deprecated={undefined} schemaDescription={"The operator to use for comparison"} schemaName={"string"} qualifierMessage={"**Possible values:** [`==`, `>`, `<`]"} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} deprecated={undefined} schemaDescription={"Id of the Risk Level being compared against"} schemaName={"uuid"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"secondary_value"} required={false} deprecated={undefined} schemaDescription={"The secondary value"} schemaName={"string"} qualifierMessage={"**Possible values:** [`OverallRisk`]"} defaultValue={undefined}></SchemaItem></TabItem></SchemaTabs></div></div></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"advanced_search\": {\n    \"id\": \"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e\",\n    \"uid\": \"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e\",\n    \"label\": \"mylabel\",\n    \"condition_rules_attributes\": [\n      {\n        \"type\": \"ProfileTypeRule\",\n        \"comparison_operator\": \"==\",\n        \"value\": \"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e\"\n      },\n      {\n        \"type\": \"ProfileStatusRule\",\n        \"id\": \"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e\",\n        \"uid\": \"db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e\",\n        \"comparison_operator\": \"==\",\n        \"value\": \"Active\"\n      }\n    ]\n  }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div>