mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update PowerShell SDK docs: 15141274669
This commit is contained in:
@@ -48,38 +48,38 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/v3*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**Approve-NonEmployeeRequest**](#approve-non-employee-request) | **POST** `/non-employee-approvals/{id}/approve` | Approve a Non-Employee Request
|
||||
[**New-NonEmployeeRecord**](#create-non-employee-record) | **POST** `/non-employee-records` | Create Non-Employee Record
|
||||
[**New-NonEmployeeRequest**](#create-non-employee-request) | **POST** `/non-employee-requests` | Create Non-Employee Request
|
||||
[**New-NonEmployeeSource**](#create-non-employee-source) | **POST** `/non-employee-sources` | Create Non-Employee Source
|
||||
[**New-NonEmployeeSourceSchemaAttributes**](#create-non-employee-source-schema-attributes) | **POST** `/non-employee-sources/{sourceId}/schema-attributes` | Create a new Schema Attribute for Non-Employee Source
|
||||
[**Remove-NonEmployeeRecord**](#delete-non-employee-record) | **DELETE** `/non-employee-records/{id}` | Delete Non-Employee Record
|
||||
[**Remove-NonEmployeeRecordsInBulk**](#delete-non-employee-records-in-bulk) | **POST** `/non-employee-records/bulk-delete` | Delete Multiple Non-Employee Records
|
||||
[**Remove-NonEmployeeRequest**](#delete-non-employee-request) | **DELETE** `/non-employee-requests/{id}` | Delete Non-Employee Request
|
||||
[**Remove-NonEmployeeSchemaAttribute**](#delete-non-employee-schema-attribute) | **DELETE** `/non-employee-sources/{sourceId}/schema-attributes/{attributeId}` | Delete a Schema Attribute for Non-Employee Source
|
||||
[**Remove-NonEmployeeSource**](#delete-non-employee-source) | **DELETE** `/non-employee-sources/{sourceId}` | Delete Non-Employee Source
|
||||
[**Remove-NonEmployeeSourceSchemaAttributes**](#delete-non-employee-source-schema-attributes) | **DELETE** `/non-employee-sources/{sourceId}/schema-attributes` | Delete all custom schema attributes for Non-Employee Source
|
||||
[**Export-NonEmployeeRecords**](#export-non-employee-records) | **GET** `/non-employee-sources/{id}/non-employees/download` | Exports Non-Employee Records to CSV
|
||||
[**Export-NonEmployeeSourceSchemaTemplate**](#export-non-employee-source-schema-template) | **GET** `/non-employee-sources/{id}/schema-attributes-template/download` | Exports Source Schema Template
|
||||
[**Approve-NonEmployeeRequest**](#approve-non-employee-request) | **POST** `/non-employee-approvals/{id}/approve` | Approve a non-employee request
|
||||
[**New-NonEmployeeRecord**](#create-non-employee-record) | **POST** `/non-employee-records` | Create non-employee record
|
||||
[**New-NonEmployeeRequest**](#create-non-employee-request) | **POST** `/non-employee-requests` | Create non-employee request
|
||||
[**New-NonEmployeeSource**](#create-non-employee-source) | **POST** `/non-employee-sources` | Create non-employee source
|
||||
[**New-NonEmployeeSourceSchemaAttributes**](#create-non-employee-source-schema-attributes) | **POST** `/non-employee-sources/{sourceId}/schema-attributes` | Create a new schema attribute for non-employee source
|
||||
[**Remove-NonEmployeeRecord**](#delete-non-employee-record) | **DELETE** `/non-employee-records/{id}` | Delete non-employee record
|
||||
[**Remove-NonEmployeeRecordsInBulk**](#delete-non-employee-records-in-bulk) | **POST** `/non-employee-records/bulk-delete` | Delete multiple non-employee records
|
||||
[**Remove-NonEmployeeRequest**](#delete-non-employee-request) | **DELETE** `/non-employee-requests/{id}` | Delete non-employee request
|
||||
[**Remove-NonEmployeeSchemaAttribute**](#delete-non-employee-schema-attribute) | **DELETE** `/non-employee-sources/{sourceId}/schema-attributes/{attributeId}` | Delete a schema attribute for non-employee source
|
||||
[**Remove-NonEmployeeSource**](#delete-non-employee-source) | **DELETE** `/non-employee-sources/{sourceId}` | Delete non-employee source
|
||||
[**Remove-NonEmployeeSourceSchemaAttributes**](#delete-non-employee-source-schema-attributes) | **DELETE** `/non-employee-sources/{sourceId}/schema-attributes` | Delete all custom schema attributes for non-employee source
|
||||
[**Export-NonEmployeeRecords**](#export-non-employee-records) | **GET** `/non-employee-sources/{id}/non-employees/download` | Exports non-employee records to csv
|
||||
[**Export-NonEmployeeSourceSchemaTemplate**](#export-non-employee-source-schema-template) | **GET** `/non-employee-sources/{id}/schema-attributes-template/download` | Exports source schema template
|
||||
[**Get-NonEmployeeApproval**](#get-non-employee-approval) | **GET** `/non-employee-approvals/{id}` | Get a non-employee approval item detail
|
||||
[**Get-NonEmployeeApprovalSummary**](#get-non-employee-approval-summary) | **GET** `/non-employee-approvals/summary/{requested-for}` | Get Summary of Non-Employee Approval Requests
|
||||
[**Get-NonEmployeeApprovalSummary**](#get-non-employee-approval-summary) | **GET** `/non-employee-approvals/summary/{requested-for}` | Get summary of non-employee approval requests
|
||||
[**Get-NonEmployeeBulkUploadStatus**](#get-non-employee-bulk-upload-status) | **GET** `/non-employee-sources/{id}/non-employee-bulk-upload/status` | Obtain the status of bulk upload on the source
|
||||
[**Get-NonEmployeeRecord**](#get-non-employee-record) | **GET** `/non-employee-records/{id}` | Get a Non-Employee Record
|
||||
[**Get-NonEmployeeRequest**](#get-non-employee-request) | **GET** `/non-employee-requests/{id}` | Get a Non-Employee Request
|
||||
[**Get-NonEmployeeRequestSummary**](#get-non-employee-request-summary) | **GET** `/non-employee-requests/summary/{requested-for}` | Get Summary of Non-Employee Requests
|
||||
[**Get-NonEmployeeSchemaAttribute**](#get-non-employee-schema-attribute) | **GET** `/non-employee-sources/{sourceId}/schema-attributes/{attributeId}` | Get Schema Attribute Non-Employee Source
|
||||
[**Get-NonEmployeeSource**](#get-non-employee-source) | **GET** `/non-employee-sources/{sourceId}` | Get a Non-Employee Source
|
||||
[**Get-NonEmployeeSourceSchemaAttributes**](#get-non-employee-source-schema-attributes) | **GET** `/non-employee-sources/{sourceId}/schema-attributes` | List Schema Attributes Non-Employee Source
|
||||
[**Import-NonEmployeeRecordsInBulk**](#import-non-employee-records-in-bulk) | **POST** `/non-employee-sources/{id}/non-employee-bulk-upload` | Imports, or Updates, Non-Employee Records
|
||||
[**Get-NonEmployeeApprovals**](#list-non-employee-approvals) | **GET** `/non-employee-approvals` | Get List of Non-Employee Approval Requests
|
||||
[**Get-NonEmployeeRecords**](#list-non-employee-records) | **GET** `/non-employee-records` | List Non-Employee Records
|
||||
[**Get-NonEmployeeRequests**](#list-non-employee-requests) | **GET** `/non-employee-requests` | List Non-Employee Requests
|
||||
[**Get-NonEmployeeSources**](#list-non-employee-sources) | **GET** `/non-employee-sources` | List Non-Employee Sources
|
||||
[**Update-NonEmployeeRecord**](#patch-non-employee-record) | **PATCH** `/non-employee-records/{id}` | Patch Non-Employee Record
|
||||
[**Update-NonEmployeeSchemaAttribute**](#patch-non-employee-schema-attribute) | **PATCH** `/non-employee-sources/{sourceId}/schema-attributes/{attributeId}` | Patch a Schema Attribute for Non-Employee Source
|
||||
[**Update-NonEmployeeSource**](#patch-non-employee-source) | **PATCH** `/non-employee-sources/{sourceId}` | Patch a Non-Employee Source
|
||||
[**Deny-NonEmployeeRequest**](#reject-non-employee-request) | **POST** `/non-employee-approvals/{id}/reject` | Reject a Non-Employee Request
|
||||
[**Update-NonEmployeeRecord**](#update-non-employee-record) | **PUT** `/non-employee-records/{id}` | Update Non-Employee Record
|
||||
[**Get-NonEmployeeRecord**](#get-non-employee-record) | **GET** `/non-employee-records/{id}` | Get a non-employee record
|
||||
[**Get-NonEmployeeRequest**](#get-non-employee-request) | **GET** `/non-employee-requests/{id}` | Get a non-employee request
|
||||
[**Get-NonEmployeeRequestSummary**](#get-non-employee-request-summary) | **GET** `/non-employee-requests/summary/{requested-for}` | Get summary of non-employee requests
|
||||
[**Get-NonEmployeeSchemaAttribute**](#get-non-employee-schema-attribute) | **GET** `/non-employee-sources/{sourceId}/schema-attributes/{attributeId}` | Get schema attribute non-employee source
|
||||
[**Get-NonEmployeeSource**](#get-non-employee-source) | **GET** `/non-employee-sources/{sourceId}` | Get a non-employee source
|
||||
[**Get-NonEmployeeSourceSchemaAttributes**](#get-non-employee-source-schema-attributes) | **GET** `/non-employee-sources/{sourceId}/schema-attributes` | List schema attributes non-employee source
|
||||
[**Import-NonEmployeeRecordsInBulk**](#import-non-employee-records-in-bulk) | **POST** `/non-employee-sources/{id}/non-employee-bulk-upload` | Imports, or updates, non-employee records
|
||||
[**Get-NonEmployeeApprovals**](#list-non-employee-approvals) | **GET** `/non-employee-approvals` | Get list of non-employee approval requests
|
||||
[**Get-NonEmployeeRecords**](#list-non-employee-records) | **GET** `/non-employee-records` | List non-employee records
|
||||
[**Get-NonEmployeeRequests**](#list-non-employee-requests) | **GET** `/non-employee-requests` | List non-employee requests
|
||||
[**Get-NonEmployeeSources**](#list-non-employee-sources) | **GET** `/non-employee-sources` | List non-employee sources
|
||||
[**Update-NonEmployeeRecord**](#patch-non-employee-record) | **PATCH** `/non-employee-records/{id}` | Patch non-employee record
|
||||
[**Update-NonEmployeeSchemaAttribute**](#patch-non-employee-schema-attribute) | **PATCH** `/non-employee-sources/{sourceId}/schema-attributes/{attributeId}` | Patch a schema attribute for non-employee source
|
||||
[**Update-NonEmployeeSource**](#patch-non-employee-source) | **PATCH** `/non-employee-sources/{sourceId}` | Patch a non-employee source
|
||||
[**Deny-NonEmployeeRequest**](#reject-non-employee-request) | **POST** `/non-employee-approvals/{id}/reject` | Reject a non-employee request
|
||||
[**Update-NonEmployeeRecord**](#update-non-employee-record) | **PUT** `/non-employee-records/{id}` | Update non-employee record
|
||||
|
||||
|
||||
## approve-non-employee-request
|
||||
@@ -117,7 +117,7 @@ $NonEmployeeApprovalDecision = @"{
|
||||
"comment" : "Approved by manager"
|
||||
}"@
|
||||
|
||||
# Approve a Non-Employee Request
|
||||
# Approve a non-employee request
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeApprovalDecision -Json $NonEmployeeApprovalDecision
|
||||
@@ -177,7 +177,7 @@ $NonEmployeeRequestBody = @"{
|
||||
"startDate" : "2020-03-24T00:00:00-05:00"
|
||||
}"@
|
||||
|
||||
# Create Non-Employee Record
|
||||
# Create non-employee record
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeRequestBody -Json $NonEmployeeRequestBody
|
||||
@@ -236,7 +236,7 @@ $NonEmployeeRequestBody = @"{
|
||||
"startDate" : "2020-03-24T00:00:00-05:00"
|
||||
}"@
|
||||
|
||||
# Create Non-Employee Request
|
||||
# Create non-employee request
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeRequestBody -Json $NonEmployeeRequestBody
|
||||
@@ -307,7 +307,7 @@ $NonEmployeeSourceRequestBody = @"{
|
||||
} ]
|
||||
}"@
|
||||
|
||||
# Create Non-Employee Source
|
||||
# Create non-employee source
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeSourceRequestBody -Json $NonEmployeeSourceRequestBody
|
||||
@@ -363,7 +363,7 @@ $NonEmployeeSchemaAttributeBody = @"{
|
||||
"required" : true
|
||||
}"@
|
||||
|
||||
# Create a new Schema Attribute for Non-Employee Source
|
||||
# Create a new schema attribute for non-employee source
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeSchemaAttributeBody -Json $NonEmployeeSchemaAttributeBody
|
||||
@@ -410,7 +410,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-Employee record id (UUID)
|
||||
|
||||
# Delete Non-Employee Record
|
||||
# Delete non-employee record
|
||||
|
||||
try {
|
||||
Remove-NonEmployeeRecord -Id $Id
|
||||
@@ -455,7 +455,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$DeleteNonEmployeeRecordsInBulkRequest = @""@
|
||||
|
||||
# Delete Multiple Non-Employee Records
|
||||
# Delete multiple non-employee records
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToDeleteNonEmployeeRecordsInBulkRequest -Json $DeleteNonEmployeeRecordsInBulkRequest
|
||||
@@ -503,7 +503,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$Id = "ac110005-7156-1150-8171-5b292e3e0084" # String | Non-Employee request id in the UUID format
|
||||
|
||||
# Delete Non-Employee Request
|
||||
# Delete non-employee request
|
||||
|
||||
try {
|
||||
Remove-NonEmployeeRequest -Id $Id
|
||||
@@ -552,7 +552,7 @@ Code | Description | Data Type
|
||||
$AttributeId = "ef38f94347e94562b5bb8424a56397d8" # String | The Schema Attribute Id (UUID)
|
||||
$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id
|
||||
|
||||
# Delete a Schema Attribute for Non-Employee Source
|
||||
# Delete a schema attribute for non-employee source
|
||||
|
||||
try {
|
||||
Remove-NonEmployeeSchemaAttribute -AttributeId $AttributeId -SourceId $SourceId
|
||||
@@ -597,7 +597,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$SourceId = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id
|
||||
|
||||
# Delete Non-Employee Source
|
||||
# Delete non-employee source
|
||||
|
||||
try {
|
||||
Remove-NonEmployeeSource -SourceId $SourceId
|
||||
@@ -642,7 +642,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id
|
||||
|
||||
# Delete all custom schema attributes for Non-Employee Source
|
||||
# Delete all custom schema attributes for non-employee source
|
||||
|
||||
try {
|
||||
Remove-NonEmployeeSourceSchemaAttributes -SourceId $SourceId
|
||||
@@ -688,7 +688,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id (UUID)
|
||||
|
||||
# Exports Non-Employee Records to CSV
|
||||
# Exports non-employee records to csv
|
||||
|
||||
try {
|
||||
Export-NonEmployeeRecords -Id $Id
|
||||
@@ -734,7 +734,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Source Id (UUID)
|
||||
|
||||
# Exports Source Schema Template
|
||||
# Exports source schema template
|
||||
|
||||
try {
|
||||
Export-NonEmployeeSourceSchemaTemplate -Id $Id
|
||||
@@ -833,7 +833,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$RequestedFor = "2c91808280430dfb0180431a59440460" # String | The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use ""me"" instead to indicate the current user.
|
||||
|
||||
# Get Summary of Non-Employee Approval Requests
|
||||
# Get summary of non-employee approval requests
|
||||
|
||||
try {
|
||||
Get-NonEmployeeApprovalSummary -RequestedFor $RequestedFor
|
||||
@@ -926,7 +926,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-Employee record id (UUID)
|
||||
|
||||
# Get a Non-Employee Record
|
||||
# Get a non-employee record
|
||||
|
||||
try {
|
||||
Get-NonEmployeeRecord -Id $Id
|
||||
@@ -976,7 +976,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$Id = "ac110005-7156-1150-8171-5b292e3e0084" # String | Non-Employee request id (UUID)
|
||||
|
||||
# Get a Non-Employee Request
|
||||
# Get a non-employee request
|
||||
|
||||
try {
|
||||
Get-NonEmployeeRequest -Id $Id
|
||||
@@ -1025,7 +1025,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$RequestedFor = "2c91808280430dfb0180431a59440460" # String | The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use ""me"" instead to indicate the current user.
|
||||
|
||||
# Get Summary of Non-Employee Requests
|
||||
# Get summary of non-employee requests
|
||||
|
||||
try {
|
||||
Get-NonEmployeeRequestSummary -RequestedFor $RequestedFor
|
||||
@@ -1072,7 +1072,7 @@ Code | Description | Data Type
|
||||
$AttributeId = "ef38f94347e94562b5bb8424a56397d8" # String | The Schema Attribute Id (UUID)
|
||||
$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id
|
||||
|
||||
# Get Schema Attribute Non-Employee Source
|
||||
# Get schema attribute non-employee source
|
||||
|
||||
try {
|
||||
Get-NonEmployeeSchemaAttribute -AttributeId $AttributeId -SourceId $SourceId
|
||||
@@ -1121,7 +1121,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$SourceId = "2c91808b7c28b350017c2a2ec5790aa1" # String | Source Id
|
||||
|
||||
# Get a Non-Employee Source
|
||||
# Get a non-employee source
|
||||
|
||||
try {
|
||||
Get-NonEmployeeSource -SourceId $SourceId
|
||||
@@ -1168,7 +1168,7 @@ Code | Description | Data Type
|
||||
```powershell
|
||||
$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id
|
||||
|
||||
# List Schema Attributes Non-Employee Source
|
||||
# List schema attributes non-employee source
|
||||
|
||||
try {
|
||||
Get-NonEmployeeSourceSchemaAttributes -SourceId $SourceId
|
||||
@@ -1216,7 +1216,7 @@ Code | Description | Data Type
|
||||
$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id (UUID)
|
||||
$Data = # System.IO.FileInfo |
|
||||
|
||||
# Imports, or Updates, Non-Employee Records
|
||||
# Imports, or updates, non-employee records
|
||||
|
||||
try {
|
||||
Import-NonEmployeeRecordsInBulk -Id $Id -Data $Data
|
||||
@@ -1275,7 +1275,7 @@ $Count = $true # Boolean | If *true* it will populate the *X-Total-Count* respon
|
||||
$Filters = 'approvalStatus eq "Pending"' # String | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **approvalStatus**: *eq* (optional)
|
||||
$Sorters = "created" # String | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** (optional)
|
||||
|
||||
# Get List of Non-Employee Approval Requests
|
||||
# Get list of non-employee approval requests
|
||||
|
||||
try {
|
||||
Get-NonEmployeeApprovals
|
||||
@@ -1330,7 +1330,7 @@ $Count = $true # Boolean | If *true* it will populate the *X-Total-Count* respon
|
||||
$Sorters = "accountName,sourceId" # String | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified** (optional)
|
||||
$Filters = 'sourceId eq "2c91808568c529c60168cca6f90c1313"' # String | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **sourceId**: *eq* (optional)
|
||||
|
||||
# List Non-Employee Records
|
||||
# List non-employee records
|
||||
|
||||
try {
|
||||
Get-NonEmployeeRecords
|
||||
@@ -1389,7 +1389,7 @@ $Count = $true # Boolean | If *true* it will populate the *X-Total-Count* respon
|
||||
$Sorters = "created,approvalStatus" # String | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate** (optional)
|
||||
$Filters = 'sourceId eq "2c91808568c529c60168cca6f90c1313"' # String | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **sourceId**: *eq* (optional)
|
||||
|
||||
# List Non-Employee Requests
|
||||
# List non-employee requests
|
||||
|
||||
try {
|
||||
Get-NonEmployeeRequests -RequestedFor $RequestedFor
|
||||
@@ -1446,7 +1446,7 @@ $RequestedFor = "me" # String | Identity the request was made for. Use 'me' to i
|
||||
$NonEmployeeCount = $true # Boolean | Flag that determines whether the API will return a non-employee count associated with the source. (optional) (default to $false)
|
||||
$Sorters = "name,created" # String | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, sourceId** (optional)
|
||||
|
||||
# List Non-Employee Sources
|
||||
# List non-employee sources
|
||||
|
||||
try {
|
||||
Get-NonEmployeeSources
|
||||
@@ -1503,7 +1503,7 @@ $Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-employee record id (UUID
|
||||
}"@ # JsonPatchOperation[] | A list of non-employee update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
|
||||
|
||||
|
||||
# Patch Non-Employee Record
|
||||
# Patch non-employee record
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||
@@ -1561,7 +1561,7 @@ $SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id
|
||||
}"@ # JsonPatchOperation[] | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following properties are allowed for update ':' 'label', 'helpText', 'placeholder', 'required'.
|
||||
|
||||
|
||||
# Patch a Schema Attribute for Non-Employee Source
|
||||
# Patch a schema attribute for non-employee source
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||
@@ -1614,7 +1614,7 @@ $SourceId = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id
|
||||
}"@ # JsonPatchOperation[] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
|
||||
# Patch a Non-Employee Source
|
||||
# Patch a non-employee source
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||
@@ -1664,7 +1664,7 @@ $NonEmployeeRejectApprovalDecision = @"{
|
||||
"comment" : "approved"
|
||||
}"@
|
||||
|
||||
# Reject a Non-Employee Request
|
||||
# Reject a non-employee request
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeRejectApprovalDecision -Json $NonEmployeeRejectApprovalDecision
|
||||
@@ -1730,7 +1730,7 @@ $NonEmployeeRequestBody = @"{
|
||||
"startDate" : "2020-03-24T00:00:00-05:00"
|
||||
}"@
|
||||
|
||||
# Update Non-Employee Record
|
||||
# Update non-employee record
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToNonEmployeeRequestBody -Json $NonEmployeeRequestBody
|
||||
|
||||
Reference in New Issue
Block a user