Get saved advanced search queries​
Get saved advanced search queries
- 200
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
advanced_search object[]
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
label stringthe label
condition_rules_attributes object[]
The condition rules attributes
anyOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
The uuid
type stringPossible values: [
ProfileTypeRule
]The type
comparison_operator stringPossible values: [
==
,!=
]The comparison operator
value uuidThe value
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
The uid
type stringPossible values: [
ProfileStatusRule
]The type
comparison_operator stringPossible values: [
==
,!=
]The comparison operator
value stringPossible values: [
Active
,Inactive
,Leave of absence
,Terminated
]The value
id uuidthe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
type stringPossible values: [
ProfileAttributeRule
]The type
condition_object_type stringPossible values: [
TextFieldAttribute
,TextAreaAttribute
]The condition_object_type
condition_object_id uuidThe condition_object_id
comparison_operator stringPossible values: [
==
,!=
,>
,<
,start_with?
,end_with?
,include?
]The operator to use for comparison
value stringThe value
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
The uid
type stringPossible values: [
ProfileAttributeRule
]The type
condition_object_type stringPossible values: [
DateAttribute
]The condition object type
condition_object_id uuidThe condition object id
secondary_attribute_type stringPossible values: [
DateAttribute
]The secondary_attribute_type
secondary_attribute_id uuidThe secondary_attribute_id
comparison_operator stringPossible values: [
>
,<
,after
,before
]The operator to use for comparison
value stringPossible values: [
Today
,<uid>
]The value to use for comparison
secondary_value stringPossible values: [
after
,before
]The secondary value
tertiary_value stringthe tertiary_value
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
The uid
type stringPossible values: [
ProfileAttributeRule
]The type
condition_object_type stringPossible values: [
ProfileSelectAttribute
,ProfileSearchAttribute
,OwnerSelectAttribute
,OwnerSearchAttribute
,ContributorSelectAttribute
,ContributorSearchAttribute
]The condition_object_type
condition_object_id uuidThe condition_object_id
comparison_operator stringPossible values: [
include?
,exclude?
]The comparison_operator
value uuidThe value
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
type stringPossible values: [
RiskRule
]The type
comparison_operator stringPossible values: [
==
,>
,<
]The operator to use for comparison
value uuidId of the Risk Level being compared against
secondary_value stringPossible values: [
OverallRisk
]The secondary value
{
"advanced_search": [
{
"id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"uid": "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"
}
]
}
]
}