GET
Filter - 03.Read many
Get a list with filters for your query.
Important
Calls to this method must include the cookie .LawPanel.AuthCookie in order to identify you at user level. For more details about authentication please check this link. To obtain the cookie you can use the method Login.
Request URL
Request parameters
(optional)
integer
Take N records. Default value is 10. Max value is 100.
(optional)
integer
Skip N records.
(optional)
string
Filter ID to apply on this endpoint. To get further details about filters click here.
(optional)
string
Filter definition to apply on this endpoint. To get more details about this parameter check Pagination and Filtering.
Request headers
string
Subscription key which provides access to this API.
Response 200
Returns a list of Filter representations.
- string id: Filter ID. Use this value to apply the filter with the parameter filter_id on READ many method of endpoint.
- string end_point: The endpoint for the filter. For example, if you want to create a filter to select a sub-set of registries, you should use the endpoint registries. Check each endpoint documentation.
- string name: A human readable name for the filter.
- bool applied: If true the filter will be applied by default on next READ many operation for the current user. It's important to remember that filters exist at user level.
-
object
filter_definition: An object containing a single property named groups. Where groups is an array of objects with these properties:
Object properties are:-
array
expressions: An array of objects with these properties:
Object properties are:
- string property_name: Name of the property for the expression. You have to get them checking each endpoint Filter method. For example, to get all properties available to create filters for trademarks, check its Filters method.
- string comparator: A string containing the comparator to be applied with over the value. Each endpoint with method Filter provide a list of all comparators available for each property. For example, you can check trademarks Filters and its comparators available.
- string value: A string containing the value to be compared with saved property.
- string operator_next: Logic nexus with next expression. Available values are AND, OR.
-
array
expressions: An array of objects with these properties:
Loading...
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"end_point": {
"type": "string"
},
"name": {
"type": "string"
},
"applied": {
"type": "boolean"
},
"filter_definition": {
"type": "object",
"properties": {
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"expressions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"property_name": {
"type": "string"
},
"comparator": {
"type": "string"
},
"value": {
"type": "string"
},
"operator_next": {
"type": "string"
}
},
"required": [
"property_name",
"comparator",
"value",
"operator_next"
]
}
},
"operator_next": {
"type": "string"
}
},
"required": [
"expressions",
"operator_next"
]
}
}
}
}
},
"required": [
"id",
"end_point",
"name",
"applied",
"filter_definition"
]
}
}