mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
Update to python SDK docs: 13820107626
This commit is contained in:
@@ -35,6 +35,14 @@ Method | HTTP request | Description
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Create new SIM integration
|
||||
Create a new SIM Integrations.
|
||||
|
||||
@@ -68,7 +76,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto
|
||||
@@ -77,9 +84,11 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
sim_integration_details = {
|
||||
sim_integration_details = '''{
|
||||
"cluster" : "xyzzy999",
|
||||
"statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}",
|
||||
"request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}",
|
||||
@@ -96,18 +105,17 @@ with ApiClient(configuration) as api_client:
|
||||
"id" : "2c918085708c274401708c2a8a760001",
|
||||
"type" : "IDENTITY"
|
||||
}
|
||||
} # SimIntegrationDetails | DTO containing the details of the SIM integration
|
||||
}''' # SimIntegrationDetails | DTO containing the details of the SIM integration
|
||||
|
||||
try:
|
||||
# Create new SIM integration
|
||||
new_sim_integration_details = SimIntegrationDetails()
|
||||
new_sim_integration_details.from_json(sim_integration_details)
|
||||
results =SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental, new_sim_integration_details)
|
||||
new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details)
|
||||
results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = SIMIntegrationsApi(api_client).create_sim_integration(x_sail_point_experimental, new_sim_integration_details)
|
||||
print("The response of SIMIntegrationsApi->create_sim_integration:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->create_sim_integration: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -119,6 +127,14 @@ with ApiClient(configuration) as api_client:
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Delete a SIM integration
|
||||
Get the details of a SIM integration.
|
||||
|
||||
@@ -152,13 +168,14 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = '12345' # str | The id of the integration to delete. # str | The id of the integration to delete.
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
@@ -166,10 +183,10 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Delete a SIM integration
|
||||
|
||||
SIMIntegrationsApi(api_client).delete_sim_integration(id, x_sail_point_experimental)
|
||||
SIMIntegrationsApi(api_client).delete_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
# SIMIntegrationsApi(api_client).delete_sim_integration(id, x_sail_point_experimental)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->delete_sim_integration: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -181,6 +198,14 @@ with ApiClient(configuration) as api_client:
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Get a SIM integration details.
|
||||
Get the details of a SIM integration.
|
||||
|
||||
@@ -214,7 +239,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto
|
||||
@@ -222,6 +246,8 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = '12345' # str | The id of the integration. # str | The id of the integration.
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
@@ -229,12 +255,12 @@ with ApiClient(configuration) as api_client:
|
||||
try:
|
||||
# Get a SIM integration details.
|
||||
|
||||
results =SIMIntegrationsApi(api_client).get_sim_integration(id, x_sail_point_experimental)
|
||||
results = SIMIntegrationsApi(api_client).get_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = SIMIntegrationsApi(api_client).get_sim_integration(id, x_sail_point_experimental)
|
||||
print("The response of SIMIntegrationsApi->get_sim_integration:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->get_sim_integration: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -246,6 +272,14 @@ with ApiClient(configuration) as api_client:
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
List the existing SIM integrations.
|
||||
List the existing SIM integrations.
|
||||
|
||||
@@ -278,7 +312,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto
|
||||
@@ -286,18 +319,20 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
|
||||
try:
|
||||
# List the existing SIM integrations.
|
||||
|
||||
results =SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental)
|
||||
results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = SIMIntegrationsApi(api_client).get_sim_integrations(x_sail_point_experimental)
|
||||
print("The response of SIMIntegrationsApi->get_sim_integrations:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->get_sim_integrations: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -309,6 +344,14 @@ with ApiClient(configuration) as api_client:
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Patch a SIM beforeProvisioningRule attribute.
|
||||
Patch a SIM beforeProvisioningRule attribute given a JsonPatch object.
|
||||
|
||||
@@ -343,7 +386,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from sailpoint.v2024.models.json_patch import JsonPatch
|
||||
@@ -352,10 +394,12 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = '12345' # str | SIM integration id # str | SIM integration id
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
json_patch = {
|
||||
json_patch = '''{
|
||||
"operations" : [ {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
@@ -365,18 +409,17 @@ with ApiClient(configuration) as api_client:
|
||||
"path" : "/description",
|
||||
"value" : "New description"
|
||||
} ]
|
||||
} # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule.
|
||||
}''' # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule.
|
||||
|
||||
try:
|
||||
# Patch a SIM beforeProvisioningRule attribute.
|
||||
new_json_patch = JsonPatch()
|
||||
new_json_patch.from_json(json_patch)
|
||||
results =SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id, x_sail_point_experimental, new_json_patch)
|
||||
new_json_patch = JsonPatch.from_json(json_patch)
|
||||
results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = SIMIntegrationsApi(api_client).patch_before_provisioning_rule(id, x_sail_point_experimental, new_json_patch)
|
||||
print("The response of SIMIntegrationsApi->patch_before_provisioning_rule:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->patch_before_provisioning_rule: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -388,6 +431,14 @@ with ApiClient(configuration) as api_client:
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Patch a SIM attribute.
|
||||
Patch a SIM attribute given a JsonPatch object.
|
||||
|
||||
@@ -422,7 +473,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from sailpoint.v2024.models.json_patch import JsonPatch
|
||||
@@ -431,10 +481,12 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = '12345' # str | SIM integration id # str | SIM integration id
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
json_patch = {
|
||||
json_patch = '''{
|
||||
"operations" : [ {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
@@ -444,18 +496,17 @@ with ApiClient(configuration) as api_client:
|
||||
"path" : "/description",
|
||||
"value" : "New description"
|
||||
} ]
|
||||
} # JsonPatch | The JsonPatch object that describes the changes of SIM
|
||||
}''' # JsonPatch | The JsonPatch object that describes the changes of SIM
|
||||
|
||||
try:
|
||||
# Patch a SIM attribute.
|
||||
new_json_patch = JsonPatch()
|
||||
new_json_patch.from_json(json_patch)
|
||||
results =SIMIntegrationsApi(api_client).patch_sim_attributes(id, x_sail_point_experimental, new_json_patch)
|
||||
new_json_patch = JsonPatch.from_json(json_patch)
|
||||
results = SIMIntegrationsApi(api_client).patch_sim_attributes(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch=new_json_patch)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = SIMIntegrationsApi(api_client).patch_sim_attributes(id, x_sail_point_experimental, new_json_patch)
|
||||
print("The response of SIMIntegrationsApi->patch_sim_attributes:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->patch_sim_attributes: %s\n" % e)
|
||||
```
|
||||
|
||||
@@ -467,6 +518,14 @@ with ApiClient(configuration) as api_client:
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```python
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Update an existing SIM integration
|
||||
Update an existing SIM integration.
|
||||
|
||||
@@ -501,7 +560,6 @@ Code | Description | Data Type | Response headers |
|
||||
### Example
|
||||
|
||||
```python
|
||||
import sailpoint.v2024
|
||||
from sailpoint.v2024.api.sim_integrations_api import SIMIntegrationsApi
|
||||
from sailpoint.v2024.api_client import ApiClient
|
||||
from sailpoint.v2024.models.service_desk_integration_dto import ServiceDeskIntegrationDto
|
||||
@@ -510,10 +568,12 @@ from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
configuration.experimental = true
|
||||
|
||||
with ApiClient(configuration) as api_client:
|
||||
id = '12345' # str | The id of the integration. # str | The id of the integration.
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
sim_integration_details = {
|
||||
sim_integration_details = '''{
|
||||
"cluster" : "xyzzy999",
|
||||
"statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}",
|
||||
"request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}",
|
||||
@@ -530,18 +590,17 @@ with ApiClient(configuration) as api_client:
|
||||
"id" : "2c918085708c274401708c2a8a760001",
|
||||
"type" : "IDENTITY"
|
||||
}
|
||||
} # SimIntegrationDetails | The full DTO of the integration containing the updated model
|
||||
}''' # SimIntegrationDetails | The full DTO of the integration containing the updated model
|
||||
|
||||
try:
|
||||
# Update an existing SIM integration
|
||||
new_sim_integration_details = SimIntegrationDetails()
|
||||
new_sim_integration_details.from_json(sim_integration_details)
|
||||
results =SIMIntegrationsApi(api_client).put_sim_integration(id, x_sail_point_experimental, new_sim_integration_details)
|
||||
new_sim_integration_details = SimIntegrationDetails.from_json(sim_integration_details)
|
||||
results = SIMIntegrationsApi(api_client).put_sim_integration(id=id, x_sail_point_experimental=x_sail_point_experimental, sim_integration_details=new_sim_integration_details)
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = SIMIntegrationsApi(api_client).put_sim_integration(id, x_sail_point_experimental, new_sim_integration_details)
|
||||
print("The response of SIMIntegrationsApi->put_sim_integration:\n")
|
||||
pprint(results)
|
||||
except Exception as e:
|
||||
except Exception as e:
|
||||
print("Exception when calling SIMIntegrationsApi->put_sim_integration: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user