mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
Update PowerShell SDK docs: 16451991964
This commit is contained in:
@@ -17207,7 +17207,6 @@
|
||||
- lang: PowerShell
|
||||
label: SDK_tools/sdk/powershell/v2024/methods/task-management#get-pending-task-headers
|
||||
source: |
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$Offset = 0 # Int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
$Count = $true # Boolean | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to $false)
|
||||
@@ -17215,10 +17214,10 @@
|
||||
# Retrieve pending task list headers
|
||||
|
||||
try {
|
||||
Get-V2024PendingTaskHeaders -XSailPointExperimental $XSailPointExperimental
|
||||
Get-V2024PendingTaskHeaders
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2024PendingTaskHeaders -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count
|
||||
# Get-V2024PendingTaskHeaders -Offset $Offset -Limit $Limit -Count $Count
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024PendingTaskHeaders"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -17229,7 +17228,6 @@
|
||||
- lang: PowerShell
|
||||
label: SDK_tools/sdk/powershell/v2024/methods/task-management#get-pending-tasks
|
||||
source: |
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$Offset = 0 # Int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
$Count = $true # Boolean | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to $false)
|
||||
@@ -17237,10 +17235,10 @@
|
||||
# Retrieve pending task status list
|
||||
|
||||
try {
|
||||
Get-V2024PendingTasks -XSailPointExperimental $XSailPointExperimental
|
||||
Get-V2024PendingTasks
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2024PendingTasks -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count
|
||||
# Get-V2024PendingTasks -Offset $Offset -Limit $Limit -Count $Count
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024PendingTasks"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -17252,15 +17250,14 @@
|
||||
label: SDK_tools/sdk/powershell/v2024/methods/task-management#get-task-status
|
||||
source: |
|
||||
$Id = "00eebcf881994e419d72e757fd30dc0e" # String | Task ID.
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
# Get task status by id
|
||||
|
||||
try {
|
||||
Get-V2024TaskStatus -Id $Id -XSailPointExperimental $XSailPointExperimental
|
||||
Get-V2024TaskStatus -Id $Id
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2024TaskStatus -Id $Id -XSailPointExperimental $XSailPointExperimental
|
||||
# Get-V2024TaskStatus -Id $Id
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024TaskStatus"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -17271,7 +17268,6 @@
|
||||
- lang: PowerShell
|
||||
label: SDK_tools/sdk/powershell/v2024/methods/task-management#get-task-status-list
|
||||
source: |
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
$Offset = 0 # Int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
$Count = $true # Boolean | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to $false)
|
||||
@@ -17281,10 +17277,10 @@
|
||||
# Retrieve task status list
|
||||
|
||||
try {
|
||||
Get-V2024TaskStatusList -XSailPointExperimental $XSailPointExperimental
|
||||
Get-V2024TaskStatusList
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2024TaskStatusList -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters
|
||||
# Get-V2024TaskStatusList -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024TaskStatusList"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -17296,7 +17292,6 @@
|
||||
label: SDK_tools/sdk/powershell/v2024/methods/task-management#update-task-status
|
||||
source: |
|
||||
$Id = "00eebcf881994e419d72e757fd30dc0e" # String | Task ID.
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$JsonPatchOperation = @"{
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
@@ -17308,10 +17303,10 @@
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||
Update-V2024TaskStatus -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $Result
|
||||
Update-V2024TaskStatus -Id $Id -JsonPatchOperation $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Update-V2024TaskStatus -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $Result
|
||||
# Update-V2024TaskStatus -Id $Id -JsonPatchOperation $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2024TaskStatus"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
Reference in New Issue
Block a user