functions/private/Get-ChurchActionInterviewList.ps1
function Get-ChurchActionInterviewList { param ( [psobject] $Session, [int] $UnitNumber ) $params = @{ Uri = (Get-ChurchConfig -Action "ActionInterviewList") -f $UnitNumber WebSession = $Session Method = "Get" ContentType = "application/json" } $response = Invoke-ChurchWebRequest @params return $response.Content; } |