add method and model docs for powershell and python v2025

This commit is contained in:
darrell-thobe-sp
2025-04-01 09:23:12 -04:00
parent c12ffb7efc
commit 5d8f458a33
2414 changed files with 191212 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
---
id: v2025-work-items
title: WorkItems
pagination_label: WorkItems
sidebar_label: WorkItems
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'WorkItems', 'V2025WorkItems']
slug: /tools/sdk/powershell/v2025/models/work-items
tags: ['SDK', 'Software Development Kit', 'WorkItems', 'V2025WorkItems']
---
# WorkItems
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **String** | ID of the work item | [optional]
**RequesterId** | **String** | ID of the requester | [optional]
**RequesterDisplayName** | **String** | The displayname of the requester | [optional]
**OwnerId** | **String** | The ID of the owner | [optional]
**OwnerName** | **String** | The name of the owner | [optional]
**Created** | **System.DateTime** | Time when the work item was created | [optional]
**Modified** | **System.DateTime** | Time when the work item was last updated | [optional]
**Description** | **String** | The description of the work item | [optional]
**State** | [**WorkItemStateManualWorkItems**](work-item-state-manual-work-items) | | [optional]
**Type** | [**WorkItemTypeManualWorkItems**](work-item-type-manual-work-items) | | [optional]
**RemediationItems** | [**[]RemediationItemDetails**](remediation-item-details) | A list of remediation items | [optional]
**ApprovalItems** | [**[]ApprovalItemDetails**](approval-item-details) | A list of items that need to be approved | [optional]
**Name** | **String** | The work item name | [optional]
**Completed** | **System.DateTime** | The time at which the work item completed | [optional]
**NumItems** | **Int32** | The number of items in the work item | [optional]
**Form** | [**WorkItemsForm**](work-items-form) | | [optional]
**Errors** | **[]String** | An array of errors that ocurred during the work item | [optional]
## Examples
- Prepare the resource
```powershell
$WorkItems = Initialize-PSSailpoint.V2025WorkItems -Id 2c9180835d2e5168015d32f890ca1581 `
-RequesterId 2c9180835d2e5168015d32f890ca1581 `
-RequesterDisplayName John Smith `
-OwnerId 2c9180835d2e5168015d32f890ca1581 `
-OwnerName Jason Smith `
-Created 2017-07-11T18:45:37.098Z `
-Modified 2018-06-25T20:22:28.104Z `
-Description Create account on source 'AD' `
-State null `
-Type null `
-RemediationItems null `
-ApprovalItems null `
-Name Account Create `
-Completed 2018-10-19T13:49:37.385Z `
-NumItems 19 `
-Form null `
-Errors [The work item ID that was specified was not found.]
```
- Convert the resource to JSON
```powershell
$WorkItems | ConvertTo-JSON
```
[[Back to top]](#)