Hello Folks ,
I would like to export the data that contains the requests with status open , assigned to a particular group , but technician unassigned. I was trying something like this , but it is not working , please assist. TIA
$input_data = @"
{
"list_info": {
"row_count": $per_page,
"start_index": $index,
"sort_field": "subject",
"sort_order": "asc",
"get_total_count": true,
"search_criteria": [
{ "field": "status.name","condition": "is","value": "Open"},
{"logical_operator": "AND","field": "group.name","condition": "is","value": "IT Engineering"},
{"logical_operator": "AND","field": "technician","condition": "is","value":"null"}
]
}
}
"@
$data = @{'input_data' = $input_data }
$response = Invoke-RestMethod -Uri $url -Method get -Body $data -Headers $headers