| Post | /api/Catalogs/{catalogId}/QueryEventDataAttributesByFilters |
| Name | Description | Data Type |
|---|---|---|
| catalogId | Represents the unique indentifier for the catalog | integer (int32) |
| api-version | Indicates the current API version | string |
The request body now includes properties for filtering, sorting and viewing the event attributes against catalog models. The following table describes each property:
| Properties | Description |
|---|---|
|
FilteringExpressionArgs |
Contains a set of arguments for filtering the target data set Properties include:
|
| FilteringExpressions |
Represents a combination of filter expressions used for filtering the target data set Properties include:
|
|
FilteringNodes
|
Represents the combination of filter expressions used for filtering the data set Properties include:
|
|
SortModel |
Represents the sorting technique of the data set based on the model or peril attribute(s) Properties include:
|
| PageNumber |
Identifies the data set on a page |
| PageSize |
Indicates the number of records that can fit in each page |
QueryEventDataAttributesByFilters JSON
{
"FilteringExpressionArgs":
[
{
"fieldName": "event_id",
"filteringExpressions":[{"logicalOperator":"Or",
"filteringNodes":[{"filterValue":1000,"filterOperand":"lessThan"}, {"filterValue":21,"filterOperand":"equals"}]}
]
},
{
"fieldName": "velocity",
"filteringExpressions":[{"logicalOperator":"Or","filteringNodes":[{"filterValue":110,"filterOperand":"lessThan"}]}]
}
],
"SortModel" : {
"SortingDirection":"desc",
"SortingFieldNames": ["event_id"]
},
"PageNumber": 2,
"PageSize": 50,
"FilterSets": [
{
"applyAttributeFilterAtLandfall": false,
"centralPressure": {
"min": 887.90,
"max": 987.91
}
}
]
}The response body is of type Array[LandfallAttributesResult].
Success![]() |
Array[LandfallAttributesResult]
|
| Fault | Description |
|---|---|
| 400 | This fault returns a response body of type ProblemDetails. Bad Request |
| 401 | This fault returns a response body of type ProblemDetails. Unauthorized |