mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update to powershell SDK docs: 13790800396
This commit is contained in:
@@ -149,6 +149,7 @@ This API completes a work item. Either an admin, or the owning/current user must
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
Path | Id | **String** | True | The ID of the work item
|
||||
Body | Body | **String** | (optional) | Body is the request payload to create form definition request
|
||||
|
||||
### Return type
|
||||
[**WorkItems**](../models/work-items)
|
||||
@@ -165,12 +166,13 @@ Code | Description | Data Type
|
||||
500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto
|
||||
|
||||
### HTTP request headers
|
||||
- **Content-Type**: Not defined
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item
|
||||
$Body = "MyBody" # String | Body is the request payload to create form definition request (optional)
|
||||
|
||||
# Complete a Work Item
|
||||
|
||||
@@ -178,7 +180,7 @@ try {
|
||||
Complete-V2024WorkItem -Id $Id
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Complete-V2024WorkItem -Id $Id
|
||||
# Complete-V2024WorkItem -Id $Id -Body $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Complete-V2024WorkItem"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
Reference in New Issue
Block a user