Hi Bo,
Could you help me to get the list of playbooks in SOAR using /playbooks/execution/query_paged
Can you give example for request body for this REST API :
{
"filters": [
{
"conditions": [
{
"method": "...",
"field_name": "...",
"value": {},
"type": "...",
"evaluation_id": 12345
},
{
"method": "...",
"field_name": "...",
"value": {},
"type": "...",
"evaluation_id": 12345
}
],
"logic_type": "...",
"type_handle": {
"id": {},
"name": "..."
}
},
{
"conditions": [
{
"method": "...",
"field_name": "...",
"value": {},
"type": "...",
"evaluation_id": 12345
},
{
"method": "...",
"field_name": "...",
"value": {},
"type": "...",
"evaluation_id": 12345
}
],
"logic_type": "...",
"type_handle": {
"id": {},
"name": "..."
}
}
],
"logic_type": "...",
"sorts": [
{
"field_name": "...",
"type": "...",
"type_handle": {
"id": {},
"name": "..."
}
},
{
"field_name": "...",
"type": "...",
"type_handle": {
"id": {},
"name": "..."
}
}
],
"start": 12345,
"length": 12345,
"recordsTotal": 12345
}
can you help to get all fields in above json request body and explain what are that fields and where to get the values for that fields.
Thank you,
Sai
------------------------------
Sai Kumar Reddy Dhubbaka
------------------------------
Original Message:
Sent: Thu October 19, 2023 01:02 PM
From: Bo Bleckel
Subject: Playbook Execution ID
Hi Isaac -
As far as I know, your suggested use of the /playbooks/execution/query_paged endpoint is the only way to achieve this. If you're trying to do this all through a Playbook, I would recommend hitting that endpoint using our REST API Function app. If you're writing a custom function, you could hit it pretty easily with the provided rest_client in the function.
Let me know if I can help in any other ways!
Bo
------------------------------
Bo Bleckel
------------------------------