mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 20:37:46 +00:00
Update to python SDK docs: 13820107626
This commit is contained in:
@@ -113,7 +113,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_approval_decision import NonEmployeeApprovalDecision
|
||||
@@ -122,22 +121,22 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'e136567de87e4d029e60b3c3c55db56d' # str | Non-Employee approval item id (UUID) # str | Non-Employee approval item id (UUID)
|
||||
non_employee_approval_decision = {
|
||||
non_employee_approval_decision = '''{
|
||||
"comment" : "Approved by manager"
|
||||
} # NonEmployeeApprovalDecision |
|
||||
}''' # NonEmployeeApprovalDecision |
|
||||
|
||||
try:
|
||||
# Approve a Non-Employee Request
|
||||
new_non_employee_approval_decision = NonEmployeeApprovalDecision()
|
||||
new_non_employee_approval_decision.from_json(non_employee_approval_decision)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).approve_non_employee_request(id, new_non_employee_approval_decision)
|
||||
new_non_employee_approval_decision = NonEmployeeApprovalDecision.from_json(non_employee_approval_decision)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).approve_non_employee_request(id=id, non_employee_approval_decision=new_non_employee_approval_decision)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).approve_non_employee_request(id, new_non_employee_approval_decision)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->approve_non_employee_request:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->approve_non_employee_request: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -178,7 +177,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_record import NonEmployeeRecord
|
||||
@@ -187,8 +185,9 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
non_employee_request_body = {
|
||||
non_employee_request_body = '''{
|
||||
"sourceId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"firstName" : "William",
|
||||
"lastName" : "Smith",
|
||||
@@ -201,18 +200,17 @@ with ApiClient(configuration) as api_client:
|
||||
"endDate" : "2021-03-25T00:00:00-05:00",
|
||||
"email" : "william.smith@example.com",
|
||||
"startDate" : "2020-03-24T00:00:00-05:00"
|
||||
} # NonEmployeeRequestBody | Non-Employee record creation request body.
|
||||
}''' # NonEmployeeRequestBody | Non-Employee record creation request body.
|
||||
|
||||
try:
|
||||
# Create Non-Employee Record
|
||||
new_non_employee_request_body = NonEmployeeRequestBody()
|
||||
new_non_employee_request_body.from_json(non_employee_request_body)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).create_non_employee_record(new_non_employee_request_body)
|
||||
new_non_employee_request_body = NonEmployeeRequestBody.from_json(non_employee_request_body)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_record(non_employee_request_body=new_non_employee_request_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_record(new_non_employee_request_body)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_record:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_record: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -252,7 +250,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_request import NonEmployeeRequest
|
||||
@@ -261,8 +258,9 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
non_employee_request_body = {
|
||||
non_employee_request_body = '''{
|
||||
"sourceId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"firstName" : "William",
|
||||
"lastName" : "Smith",
|
||||
@@ -275,18 +273,17 @@ with ApiClient(configuration) as api_client:
|
||||
"endDate" : "2021-03-25T00:00:00-05:00",
|
||||
"email" : "william.smith@example.com",
|
||||
"startDate" : "2020-03-24T00:00:00-05:00"
|
||||
} # NonEmployeeRequestBody | Non-Employee creation request body
|
||||
}''' # NonEmployeeRequestBody | Non-Employee creation request body
|
||||
|
||||
try:
|
||||
# Create Non-Employee Request
|
||||
new_non_employee_request_body = NonEmployeeRequestBody()
|
||||
new_non_employee_request_body.from_json(non_employee_request_body)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).create_non_employee_request(new_non_employee_request_body)
|
||||
new_non_employee_request_body = NonEmployeeRequestBody.from_json(non_employee_request_body)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_request(non_employee_request_body=new_non_employee_request_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_request(new_non_employee_request_body)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_request:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_request: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -326,7 +323,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_source_request_body import NonEmployeeSourceRequestBody
|
||||
@@ -335,8 +331,9 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
non_employee_source_request_body = {
|
||||
non_employee_source_request_body = '''{
|
||||
"owner" : {
|
||||
"id" : "2c91808570313110017040b06f344ec9"
|
||||
},
|
||||
@@ -361,18 +358,17 @@ with ApiClient(configuration) as api_client:
|
||||
}, {
|
||||
"id" : "2c91808570313110017040b06f344ec9"
|
||||
} ]
|
||||
} # NonEmployeeSourceRequestBody | Non-Employee source creation request body.
|
||||
}''' # NonEmployeeSourceRequestBody | Non-Employee source creation request body.
|
||||
|
||||
try:
|
||||
# Create Non-Employee Source
|
||||
new_non_employee_source_request_body = NonEmployeeSourceRequestBody()
|
||||
new_non_employee_source_request_body.from_json(non_employee_source_request_body)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).create_non_employee_source(new_non_employee_source_request_body)
|
||||
new_non_employee_source_request_body = NonEmployeeSourceRequestBody.from_json(non_employee_source_request_body)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_source(non_employee_source_request_body=new_non_employee_source_request_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_source(new_non_employee_source_request_body)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_source:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_source: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -414,7 +410,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_schema_attribute import NonEmployeeSchemaAttribute
|
||||
@@ -423,27 +418,27 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
source_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Source id # str | The Source id
|
||||
non_employee_schema_attribute_body = {
|
||||
non_employee_schema_attribute_body = '''{
|
||||
"helpText" : "The unique identifier for the account",
|
||||
"label" : "Account Name",
|
||||
"placeholder" : "Enter a unique user name for this account.",
|
||||
"type" : "TEXT",
|
||||
"technicalName" : "account.name",
|
||||
"required" : true
|
||||
} # NonEmployeeSchemaAttributeBody |
|
||||
}''' # NonEmployeeSchemaAttributeBody |
|
||||
|
||||
try:
|
||||
# Create a new Schema Attribute for Non-Employee Source
|
||||
new_non_employee_schema_attribute_body = NonEmployeeSchemaAttributeBody()
|
||||
new_non_employee_schema_attribute_body.from_json(non_employee_schema_attribute_body)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).create_non_employee_source_schema_attributes(source_id, new_non_employee_schema_attribute_body)
|
||||
new_non_employee_schema_attribute_body = NonEmployeeSchemaAttributeBody.from_json(non_employee_schema_attribute_body)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_source_schema_attributes(source_id=source_id, non_employee_schema_attribute_body=new_non_employee_schema_attribute_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).create_non_employee_source_schema_attributes(source_id, new_non_employee_schema_attribute_body)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_source_schema_attributes:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_source_schema_attributes: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -484,23 +479,23 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | Non-Employee record id (UUID) # str | Non-Employee record id (UUID)
|
||||
|
||||
try:
|
||||
# Delete Non-Employee Record
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_record(id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_record(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_record(id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_record: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -540,7 +535,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.delete_non_employee_records_in_bulk_request import DeleteNonEmployeeRecordsInBulkRequest
|
||||
@@ -548,17 +542,17 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
delete_non_employee_records_in_bulk_request = sailpoint.v3.DeleteNonEmployeeRecordsInBulkRequest() # DeleteNonEmployeeRecordsInBulkRequest | Non-Employee bulk delete request body.
|
||||
delete_non_employee_records_in_bulk_request = '''sailpoint.v3.DeleteNonEmployeeRecordsInBulkRequest()''' # DeleteNonEmployeeRecordsInBulkRequest | Non-Employee bulk delete request body.
|
||||
|
||||
try:
|
||||
# Delete Multiple Non-Employee Records
|
||||
new_delete_non_employee_records_in_bulk_request = DeleteNonEmployeeRecordsInBulkRequest()
|
||||
new_delete_non_employee_records_in_bulk_request.from_json(delete_non_employee_records_in_bulk_request)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_records_in_bulk(new_delete_non_employee_records_in_bulk_request)
|
||||
new_delete_non_employee_records_in_bulk_request = DeleteNonEmployeeRecordsInBulkRequest.from_json(delete_non_employee_records_in_bulk_request)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_records_in_bulk(delete_non_employee_records_in_bulk_request=new_delete_non_employee_records_in_bulk_request)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_records_in_bulk(new_delete_non_employee_records_in_bulk_request)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_records_in_bulk: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -600,23 +594,23 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ac110005-7156-1150-8171-5b292e3e0084' # str | Non-Employee request id in the UUID format # str | Non-Employee request id in the UUID format
|
||||
|
||||
try:
|
||||
# Delete Non-Employee Request
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_request(id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_request(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_request(id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_request: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -659,13 +653,13 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
attribute_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Schema Attribute Id (UUID) # str | The Schema Attribute Id (UUID)
|
||||
source_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Source id # str | The Source id
|
||||
@@ -673,10 +667,10 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Delete a Schema Attribute for Non-Employee Source
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_schema_attribute(attribute_id, source_id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_schema_attribute(attribute_id=attribute_id, source_id=source_id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_schema_attribute(attribute_id, source_id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_schema_attribute: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -716,23 +710,23 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
source_id = 'e136567de87e4d029e60b3c3c55db56d' # str | Source Id # str | Source Id
|
||||
|
||||
try:
|
||||
# Delete Non-Employee Source
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_source(source_id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_source(source_id=source_id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_source(source_id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_source: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -772,23 +766,23 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
source_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Source id # str | The Source id
|
||||
|
||||
try:
|
||||
# Delete all custom schema attributes for Non-Employee Source
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_source_schema_attributes(source_id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_source_schema_attributes(source_id=source_id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).delete_non_employee_source_schema_attributes(source_id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_source_schema_attributes: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -829,23 +823,23 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'e136567de87e4d029e60b3c3c55db56d' # str | Source Id (UUID) # str | Source Id (UUID)
|
||||
|
||||
try:
|
||||
# Exports Non-Employee Records to CSV
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).export_non_employee_records(id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).export_non_employee_records(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).export_non_employee_records(id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->export_non_employee_records: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -886,23 +880,23 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | Source Id (UUID) # str | Source Id (UUID)
|
||||
|
||||
try:
|
||||
# Exports Source Schema Template
|
||||
|
||||
NonEmployeeLifecycleManagementApi(api_client).export_non_employee_source_schema_template(id)
|
||||
NonEmployeeLifecycleManagementApi(api_client).export_non_employee_source_schema_template(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# NonEmployeeLifecycleManagementApi(api_client).export_non_employee_source_schema_template(id)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->export_non_employee_source_schema_template: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -946,7 +940,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_approval_item_detail import NonEmployeeApprovalItemDetail
|
||||
@@ -954,6 +947,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'e136567de87e4d029e60b3c3c55db56d' # str | Non-Employee approval item id (UUID) # str | Non-Employee approval item id (UUID)
|
||||
include_detail = true # bool | The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* (optional) # bool | The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* (optional)
|
||||
@@ -961,12 +955,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Get a non-employee approval item detail
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_approval(id, )
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_approval(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_approval(id, include_detail)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_approval:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_approval: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1010,7 +1004,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_approval_summary import NonEmployeeApprovalSummary
|
||||
@@ -1018,18 +1011,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
requested_for = '2c91808280430dfb0180431a59440460' # str | The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use \"me\" instead to indicate the current user. # str | The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use \"me\" instead to indicate the current user.
|
||||
|
||||
try:
|
||||
# Get Summary of Non-Employee Approval Requests
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_approval_summary(requested_for)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_approval_summary(requested_for=requested_for)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_approval_summary(requested_for)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_approval_summary:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_approval_summary: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1071,7 +1065,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_bulk_upload_status import NonEmployeeBulkUploadStatus
|
||||
@@ -1079,18 +1072,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'e136567de87e4d029e60b3c3c55db56d' # str | Source ID (UUID) # str | Source ID (UUID)
|
||||
|
||||
try:
|
||||
# Obtain the status of bulk upload on the source
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_bulk_upload_status(id)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_bulk_upload_status(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_bulk_upload_status(id)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_bulk_upload_status:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_bulk_upload_status: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1131,7 +1125,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_record import NonEmployeeRecord
|
||||
@@ -1139,18 +1132,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | Non-Employee record id (UUID) # str | Non-Employee record id (UUID)
|
||||
|
||||
try:
|
||||
# Get a Non-Employee Record
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_record(id)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_record(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_record(id)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_record:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_record: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1195,7 +1189,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_request import NonEmployeeRequest
|
||||
@@ -1203,18 +1196,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ac110005-7156-1150-8171-5b292e3e0084' # str | Non-Employee request id (UUID) # str | Non-Employee request id (UUID)
|
||||
|
||||
try:
|
||||
# Get a Non-Employee Request
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_request(id)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_request(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_request(id)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_request:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_request: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1258,7 +1252,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_request_summary import NonEmployeeRequestSummary
|
||||
@@ -1266,18 +1259,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
requested_for = '2c91808280430dfb0180431a59440460' # str | The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use \"me\" instead to indicate the current user. # str | The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use \"me\" instead to indicate the current user.
|
||||
|
||||
try:
|
||||
# Get Summary of Non-Employee Requests
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_request_summary(requested_for)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_request_summary(requested_for=requested_for)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_request_summary(requested_for)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_request_summary:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_request_summary: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1318,7 +1312,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_schema_attribute import NonEmployeeSchemaAttribute
|
||||
@@ -1326,6 +1319,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
attribute_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Schema Attribute Id (UUID) # str | The Schema Attribute Id (UUID)
|
||||
source_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Source id # str | The Source id
|
||||
@@ -1333,12 +1327,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Get Schema Attribute Non-Employee Source
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_schema_attribute(attribute_id, source_id)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_schema_attribute(attribute_id=attribute_id, source_id=source_id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_schema_attribute(attribute_id, source_id)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_schema_attribute:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_schema_attribute: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1382,7 +1376,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_source import NonEmployeeSource
|
||||
@@ -1390,18 +1383,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
source_id = '2c91808b7c28b350017c2a2ec5790aa1' # str | Source Id # str | Source Id
|
||||
|
||||
try:
|
||||
# Get a Non-Employee Source
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_source(source_id)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_source(source_id=source_id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_source(source_id)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_source:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_source: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1443,7 +1437,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_schema_attribute import NonEmployeeSchemaAttribute
|
||||
@@ -1451,18 +1444,19 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
source_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Source id # str | The Source id
|
||||
|
||||
try:
|
||||
# List Schema Attributes Non-Employee Source
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).get_non_employee_source_schema_attributes(source_id)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_source_schema_attributes(source_id=source_id)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).get_non_employee_source_schema_attributes(source_id)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_source_schema_attributes:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_source_schema_attributes: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1504,7 +1498,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_bulk_upload_job import NonEmployeeBulkUploadJob
|
||||
@@ -1512,6 +1505,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'e136567de87e4d029e60b3c3c55db56d' # str | Source Id (UUID) # str | Source Id (UUID)
|
||||
data = None # bytearray | # bytearray |
|
||||
@@ -1519,12 +1513,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Imports, or Updates, Non-Employee Records
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).import_non_employee_records_in_bulk(id, data)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).import_non_employee_records_in_bulk(id=id, data=data)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).import_non_employee_records_in_bulk(id, data)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->import_non_employee_records_in_bulk:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->import_non_employee_records_in_bulk: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1573,7 +1567,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_approval_item import NonEmployeeApprovalItem
|
||||
@@ -1581,6 +1574,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
requested_for = '2c91808280430dfb0180431a59440460' # str | The identity for whom the request was made. *me* indicates the current user. (optional) # str | The identity for whom the request was made. *me* indicates the current user. (optional)
|
||||
limit = 250 # int | 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) # int | 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)
|
||||
@@ -1592,12 +1586,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Get List of Non-Employee Approval Requests
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).list_non_employee_approvals()
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_approvals()
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_approvals(requested_for, limit, offset, count, filters, sorters)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_approvals:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_approvals: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1643,7 +1637,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_record import NonEmployeeRecord
|
||||
@@ -1651,6 +1644,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
limit = 250 # int | 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) # int | 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 # int | 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) # int | 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)
|
||||
@@ -1661,12 +1655,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# List Non-Employee Records
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).list_non_employee_records()
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_records()
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_records(limit, offset, count, sorters, filters)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_records:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_records: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1715,7 +1709,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_request import NonEmployeeRequest
|
||||
@@ -1723,6 +1716,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
requested_for = 'e136567de87e4d029e60b3c3c55db56d' # str | The identity for whom the request was made. *me* indicates the current user. # str | The identity for whom the request was made. *me* indicates the current user.
|
||||
limit = 250 # int | 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) # int | 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)
|
||||
@@ -1734,12 +1728,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# List Non-Employee Requests
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).list_non_employee_requests(requested_for, )
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_requests(requested_for=requested_for)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_requests(requested_for, limit, offset, count, sorters, filters)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_requests:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_requests: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1786,7 +1780,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_source_with_ne_count import NonEmployeeSourceWithNECount
|
||||
@@ -1794,6 +1787,7 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
limit = 250 # int | 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) # int | 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 # int | 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) # int | 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)
|
||||
@@ -1805,12 +1799,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# List Non-Employee Sources
|
||||
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).list_non_employee_sources()
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_sources()
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).list_non_employee_sources(limit, offset, count, requested_for, non_employee_count, sorters)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_sources:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_sources: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1856,7 +1850,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.json_patch_operation import JsonPatchOperation
|
||||
@@ -1865,26 +1858,20 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | Non-employee record id (UUID) # str | Non-employee record id (UUID)
|
||||
[{op=replace, path=/endDate, value=2019-08-23T18:40:35.772Z}] # List[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.
|
||||
json_patch_operation = {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
"value" : "New description"
|
||||
} # List[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.
|
||||
|
||||
json_patch_operation = '''[{op=replace, path=/endDate, value=2019-08-23T18:40:35.772Z}]''' # List[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.
|
||||
|
||||
try:
|
||||
# Patch Non-Employee Record
|
||||
new_json_patch_operation = JsonPatchOperation()
|
||||
new_json_patch_operation.from_json(json_patch_operation)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_record(id, new_json_patch_operation)
|
||||
new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_record(id=id, json_patch_operation=new_json_patch_operation)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_record(id, new_json_patch_operation)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->patch_non_employee_record:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->patch_non_employee_record: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1929,7 +1916,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.json_patch_operation import JsonPatchOperation
|
||||
@@ -1938,27 +1924,21 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
attribute_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Schema Attribute Id (UUID) # str | The Schema Attribute Id (UUID)
|
||||
source_id = 'ef38f94347e94562b5bb8424a56397d8' # str | The Source id # str | The Source id
|
||||
[{op=replace, path=/label, value={new attribute label=null}}] # List[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'.
|
||||
json_patch_operation = {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
"value" : "New description"
|
||||
} # List[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'.
|
||||
|
||||
json_patch_operation = '''[{op=replace, path=/label, value={new attribute label=null}}]''' # List[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'.
|
||||
|
||||
try:
|
||||
# Patch a Schema Attribute for Non-Employee Source
|
||||
new_json_patch_operation = JsonPatchOperation()
|
||||
new_json_patch_operation.from_json(json_patch_operation)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_schema_attribute(attribute_id, source_id, new_json_patch_operation)
|
||||
new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_schema_attribute(attribute_id=attribute_id, source_id=source_id, json_patch_operation=new_json_patch_operation)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_schema_attribute(attribute_id, source_id, new_json_patch_operation)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->patch_non_employee_schema_attribute:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->patch_non_employee_schema_attribute: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -1999,7 +1979,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.json_patch_operation import JsonPatchOperation
|
||||
@@ -2008,26 +1987,20 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
source_id = 'e136567de87e4d029e60b3c3c55db56d' # str | Source Id # str | Source Id
|
||||
[{op=replace, path=/name, value={new name=null}}, {op=replace, path=/approvers, value=[2c91809f703bb37a017040a2fe8748c7, 48b1f463c9e8427db5a5071bd81914b8]}] # List[JsonPatchOperation] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
json_patch_operation = {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
"value" : "New description"
|
||||
} # List[JsonPatchOperation] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
json_patch_operation = '''[{op=replace, path=/name, value={new name=null}}, {op=replace, path=/approvers, value=[2c91809f703bb37a017040a2fe8748c7, 48b1f463c9e8427db5a5071bd81914b8]}]''' # List[JsonPatchOperation] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
try:
|
||||
# Patch a Non-Employee Source
|
||||
new_json_patch_operation = JsonPatchOperation()
|
||||
new_json_patch_operation.from_json(json_patch_operation)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_source(source_id, new_json_patch_operation)
|
||||
new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_source(source_id=source_id, json_patch_operation=new_json_patch_operation)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).patch_non_employee_source(source_id, new_json_patch_operation)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->patch_non_employee_source:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->patch_non_employee_source: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -2068,7 +2041,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_approval_item import NonEmployeeApprovalItem
|
||||
@@ -2077,22 +2049,22 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'e136567de87e4d029e60b3c3c55db56d' # str | Non-Employee approval item id (UUID) # str | Non-Employee approval item id (UUID)
|
||||
non_employee_reject_approval_decision = {
|
||||
non_employee_reject_approval_decision = '''{
|
||||
"comment" : "approved"
|
||||
} # NonEmployeeRejectApprovalDecision |
|
||||
}''' # NonEmployeeRejectApprovalDecision |
|
||||
|
||||
try:
|
||||
# Reject a Non-Employee Request
|
||||
new_non_employee_reject_approval_decision = NonEmployeeRejectApprovalDecision()
|
||||
new_non_employee_reject_approval_decision.from_json(non_employee_reject_approval_decision)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).reject_non_employee_request(id, new_non_employee_reject_approval_decision)
|
||||
new_non_employee_reject_approval_decision = NonEmployeeRejectApprovalDecision.from_json(non_employee_reject_approval_decision)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).reject_non_employee_request(id=id, non_employee_reject_approval_decision=new_non_employee_reject_approval_decision)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).reject_non_employee_request(id, new_non_employee_reject_approval_decision)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->reject_non_employee_request:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->reject_non_employee_request: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -2138,7 +2110,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v3
|
||||
from sailpoint.v3.api.non_employee_lifecycle_management_api import NonEmployeeLifecycleManagementApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.non_employee_record import NonEmployeeRecord
|
||||
@@ -2147,9 +2118,10 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | Non-employee record id (UUID) # str | Non-employee record id (UUID)
|
||||
non_employee_request_body = {
|
||||
non_employee_request_body = '''{
|
||||
"sourceId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"firstName" : "William",
|
||||
"lastName" : "Smith",
|
||||
@@ -2162,18 +2134,17 @@ with ApiClient(configuration) as api_client:
|
||||
"endDate" : "2021-03-25T00:00:00-05:00",
|
||||
"email" : "william.smith@example.com",
|
||||
"startDate" : "2020-03-24T00:00:00-05:00"
|
||||
} # NonEmployeeRequestBody | Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
|
||||
}''' # NonEmployeeRequestBody | Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
|
||||
|
||||
try:
|
||||
# Update Non-Employee Record
|
||||
new_non_employee_request_body = NonEmployeeRequestBody()
|
||||
new_non_employee_request_body.from_json(non_employee_request_body)
|
||||
results =NonEmployeeLifecycleManagementApi(api_client).update_non_employee_record(id, new_non_employee_request_body)
|
||||
new_non_employee_request_body = NonEmployeeRequestBody.from_json(non_employee_request_body)
|
||||
results = NonEmployeeLifecycleManagementApi(api_client).update_non_employee_record(id=id, non_employee_request_body=new_non_employee_request_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = NonEmployeeLifecycleManagementApi(api_client).update_non_employee_record(id, new_non_employee_request_body)
|
||||
print("The response of NonEmployeeLifecycleManagementApi->update_non_employee_record:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling NonEmployeeLifecycleManagementApi->update_non_employee_record: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user