mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 20:37:46 +00:00
adding powershell sdk docs back
This commit is contained in:
67
docs/tools/sdk/powershell/Reference/Beta/Models/WorkItems.md
Normal file
67
docs/tools/sdk/powershell/Reference/Beta/Models/WorkItems.md
Normal file
@@ -0,0 +1,67 @@
|
||||
---
|
||||
id: beta-work-items
|
||||
title: WorkItems
|
||||
pagination_label: WorkItems
|
||||
sidebar_label: WorkItems
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'WorkItems', 'BetaWorkItems']
|
||||
slug: /tools/sdk/powershell/beta/models/work-items
|
||||
tags: ['SDK', 'Software Development Kit', 'WorkItems', 'BetaWorkItems']
|
||||
---
|
||||
|
||||
|
||||
# WorkItems
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **String** | ID of the work item | [optional]
|
||||
**RequesterId** | Pointer to **String** | ID of the requester | [optional]
|
||||
**RequesterDisplayName** | Pointer to **String** | The displayname of the requester | [optional]
|
||||
**OwnerId** | Pointer to **String** | The ID of the owner | [optional]
|
||||
**OwnerName** | Pointer to **String** | The name of the owner | [optional]
|
||||
**Created** | Pointer to **System.DateTime** | | [optional]
|
||||
**Modified** | Pointer to **System.DateTime** | | [optional]
|
||||
**Description** | Pointer to **String** | The description of the work item | [optional]
|
||||
**State** | Pointer to [**WorkItemState**](work-item-state) | | [optional]
|
||||
**Type** | Pointer to [**WorkItemType**](work-item-type) | | [optional]
|
||||
**RemediationItems** | Pointer to [**[]RemediationItemDetails**](remediation-item-details) | | [optional]
|
||||
**ApprovalItems** | Pointer to [**[]ApprovalItemDetails**](approval-item-details) | | [optional]
|
||||
**Name** | Pointer to **String** | The work item name | [optional]
|
||||
**Completed** | Pointer to **System.DateTime** | | [optional]
|
||||
**NumItems** | Pointer to **Int32** | The number of items in the work item | [optional]
|
||||
**Errors** | Pointer to **[]String** | | [optional]
|
||||
**Form** | Pointer to [**FormDetails**](form-details) | | [optional]
|
||||
|
||||
## Examples
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$WorkItems = Initialize-PSSailpoint.BetaWorkItems -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 `
|
||||
-Errors [The work item ID that was specified was not found.] `
|
||||
-Form null
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$WorkItems | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user