Request
Body Params application/json
{
"criteria": {
"type": "CRITERIA",
"operator": "AND",
"criteria": [
{
"type": "CRITERION",
"operator": "EQUALS",
"criteria": [],
"attribute": "sideEffectType",
"values": [
"IMMEDIATE"
]
}
]
},
"limit": 5,
"offset": 0,
"sort": "updatedAt,desc",
"type": "NOTIFICATION"
}
Request Code Samples
curl --location --request POST 'http://localhost:8081/api/internal/v1/messages/filter' \
--header 'username: content-synchronizer' \
--header 'password: 5BW9ow4COZOaz5eIj81Ot27LhwFH4EMO' \
--header 'Content-Type: application/json' \
--data-raw '{
"criteria": {
"type": "CRITERIA",
"operator": "AND",
"criteria": [
{
"type": "CRITERION",
"operator": "EQUALS",
"criteria": [],
"attribute": "sideEffectType",
"values": [
"IMMEDIATE"
]
}
]
},
"limit": 5,
"offset": 0,
"sort": "updatedAt,desc",
"type": "NOTIFICATION"
}'
Responses
application/json {
"criteria": {
"type": "CRITERIA",
"operator": "AND",
"criteria": [
{
"type": "CRITERION",
"operator": "EQUALS",
"criteria": [],
"attribute": "ctcaeCode",
"values": [
"12345678"
]
},
{
"type": "CRITERION",
"operator": "EQUALS",
"criteria": [],
"attribute": "severity",
"values": [
"G1"
]
}
]
},
"limit": 5,
"offset": 0,
"sort": "updatedAt,desc",
"type": "CALL_TO_ACTION"
}
Modified at 2024-03-17 12:45:08