diff --git a/docs/tools/sdk/python/Reference/Beta/Methods/NotificationsApi.md b/docs/tools/sdk/python/Reference/Beta/Methods/NotificationsApi.md index 57cb2feba..0fe812024 100644 --- a/docs/tools/sdk/python/Reference/Beta/Methods/NotificationsApi.md +++ b/docs/tools/sdk/python/Reference/Beta/Methods/NotificationsApi.md @@ -96,9 +96,10 @@ with ApiClient(configuration) as api_client: ## create-notification-template Create notification template -This creates a template for your site. +This will update notification templates that are available in your tenant. +Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. +Modify the fields you want to change and submit the POST request when ready. -You can also use this endpoint to update a template. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready. [API Spec](https://developer.sailpoint.com/docs/api/beta/create-notification-template) @@ -774,7 +775,8 @@ Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Query | limit | **int** | (optional) (default to 250) | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. Query | offset | **int** | (optional) (default to 0) | 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. - Query | filters | **str** | (optional) | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* + Query | filters | **str** | (optional) | 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: **key**: *eq, in* **medium**: *eq* **locale**: *eq* **name**: *eq, sw* **description**: *eq, sw* **id**: *eq, sw* + Query | sorters | **str** | (optional) | 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: **key, name, medium** ### Return type [**List[TemplateDto]**](../models/template-dto) @@ -806,14 +808,15 @@ 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) - filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in* **medium**: *eq* **locale**: *eq* **name**: *eq, sw* **description**: *eq, sw* **id**: *eq, sw* (optional) # str | 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: **key**: *eq, in* **medium**: *eq* **locale**: *eq* **name**: *eq, sw* **description**: *eq, sw* **id**: *eq, sw* (optional) + sorters = 'key, -name' # str | 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: **key, name, medium** (optional) # str | 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: **key, name, medium** (optional) try: # List notification templates results = NotificationsApi(api_client).list_notification_templates() # Below is a request that includes all optional parameters - # results = NotificationsApi(api_client).list_notification_templates(limit, offset, filters) + # results = NotificationsApi(api_client).list_notification_templates(limit, offset, filters, sorters) print("The response of NotificationsApi->list_notification_templates:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) diff --git a/docs/tools/sdk/python/Reference/Beta/Models/FullcampaignAllOfFilter.md b/docs/tools/sdk/python/Reference/Beta/Models/FullcampaignAllOfFilter.md index 0e9d17b03..94b631525 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/FullcampaignAllOfFilter.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/FullcampaignAllOfFilter.md @@ -18,7 +18,7 @@ Determines which items will be included in this campaign. The default campaign f Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The ID of whatever type of filter is being used. | [optional] -**type** | **Enum** [ 'CAMPAIGN_FILTER', 'RULE' ] | Type of the filter | [optional] +**type** | **Enum** [ 'CAMPAIGN_FILTER' ] | Type of the filter | [optional] **name** | **str** | Name of the filter | [optional] } diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md index e42fa23cf..564b15d7b 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/NotificationsApi.md @@ -121,9 +121,10 @@ This API is currently in an experimental state. The API is subject to change bas ``` ::: Create notification template -This creates a template for your site. +This will update notification templates that are available in your tenant. +Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. +Modify the fields you want to change and submit the POST request when ready. -You can also use this endpoint to update a template. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready. [API Spec](https://developer.sailpoint.com/docs/api/v2024/create-notification-template) @@ -956,6 +957,7 @@ Param Type | Name | Data Type | Required | Description Query | limit | **int** | (optional) (default to 250) | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. Query | offset | **int** | (optional) (default to 0) | 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. Query | filters | **str** | (optional) | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* + Query | sorters | **str** | (optional) | 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: **key, name, medium** ### Return type [**List[TemplateDto]**](../models/template-dto) @@ -990,13 +992,14 @@ 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) filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + sorters = 'key, -name' # str | 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: **key, name, medium** (optional) # str | 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: **key, name, medium** (optional) try: # List notification templates results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental=x_sail_point_experimental) # Below is a request that includes all optional parameters - # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters) + # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters, sorters) print("The response of NotificationsApi->list_notification_templates:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) diff --git a/docs/tools/sdk/python/Reference/V2024/Models/CampaignAllOfFilter.md b/docs/tools/sdk/python/Reference/V2024/Models/CampaignAllOfFilter.md index 47cc66e8c..85f3a911c 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/CampaignAllOfFilter.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/CampaignAllOfFilter.md @@ -18,7 +18,7 @@ Determines which items will be included in this campaign. The default campaign f Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The ID of whatever type of filter is being used. | [optional] -**type** | **Enum** [ 'CAMPAIGN_FILTER', 'RULE' ] | Type of the filter | [optional] +**type** | **Enum** [ 'CAMPAIGN_FILTER' ] | Type of the filter | [optional] **name** | **str** | Name of the filter | [optional] } diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md index 784e380e0..8231cdb4d 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/NotificationsApi.md @@ -121,9 +121,10 @@ This API is currently in an experimental state. The API is subject to change bas ``` ::: Create notification template -This creates a template for your site. +This will update notification templates that are available in your tenant. +Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. +Modify the fields you want to change and submit the POST request when ready. -You can also use this endpoint to update a template. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready. [API Spec](https://developer.sailpoint.com/docs/api/v2025/create-notification-template) @@ -955,6 +956,7 @@ Param Type | Name | Data Type | Required | Description Query | limit | **int** | (optional) (default to 250) | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. Query | offset | **int** | (optional) (default to 0) | 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. Query | filters | **str** | (optional) | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* + Query | sorters | **str** | (optional) | 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: **key, name, medium** ### Return type [**List[TemplateDto]**](../models/template-dto) @@ -989,13 +991,14 @@ 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) filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + sorters = 'key, -name' # str | 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: **key, name, medium** (optional) # str | 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: **key, name, medium** (optional) try: # List notification templates results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental=x_sail_point_experimental) # Below is a request that includes all optional parameters - # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters) + # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters, sorters) print("The response of NotificationsApi->list_notification_templates:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) diff --git a/docs/tools/sdk/python/Reference/V2025/Models/CampaignAllOfFilter.md b/docs/tools/sdk/python/Reference/V2025/Models/CampaignAllOfFilter.md index 127b58474..6c4aae029 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/CampaignAllOfFilter.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/CampaignAllOfFilter.md @@ -18,7 +18,7 @@ Determines which items will be included in this campaign. The default campaign f Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The ID of whatever type of filter is being used. | [optional] -**type** | **Enum** [ 'CAMPAIGN_FILTER', 'RULE' ] | Type of the filter | [optional] +**type** | **Enum** [ 'CAMPAIGN_FILTER' ] | Type of the filter | [optional] **name** | **str** | Name of the filter | [optional] } diff --git a/docs/tools/sdk/python/Reference/V3/Models/CampaignAllOfFilter.md b/docs/tools/sdk/python/Reference/V3/Models/CampaignAllOfFilter.md index 1cdd22732..02942869b 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/CampaignAllOfFilter.md +++ b/docs/tools/sdk/python/Reference/V3/Models/CampaignAllOfFilter.md @@ -18,7 +18,7 @@ Determines which items will be included in this campaign. The default campaign f Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The ID of whatever type of filter is being used. | [optional] -**type** | **Enum** [ 'CAMPAIGN_FILTER', 'RULE' ] | Type of the filter | [optional] +**type** | **Enum** [ 'CAMPAIGN_FILTER' ] | Type of the filter | [optional] **name** | **str** | Name of the filter | [optional] } diff --git a/static/code-examples/beta/python_code_examples_overlay.yaml b/static/code-examples/beta/python_code_examples_overlay.yaml index 5fac6e2f6..02d911458 100644 --- a/static/code-examples/beta/python_code_examples_overlay.yaml +++ b/static/code-examples/beta/python_code_examples_overlay.yaml @@ -10010,13 +10010,14 @@ 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) - filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in* **medium**: *eq* **locale**: *eq* **name**: *eq, sw* **description**: *eq, sw* **id**: *eq, sw* (optional) # str | 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: **key**: *eq, in* **medium**: *eq* **locale**: *eq* **name**: *eq, sw* **description**: *eq, sw* **id**: *eq, sw* (optional) + sorters = 'key, -name' # str | 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: **key, name, medium** (optional) # str | 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: **key, name, medium** (optional) try: # List notification templates results = NotificationsApi(api_client).list_notification_templates() # Below is a request that includes all optional parameters - # results = NotificationsApi(api_client).list_notification_templates(limit, offset, filters) + # results = NotificationsApi(api_client).list_notification_templates(limit, offset, filters, sorters) print("The response of NotificationsApi->list_notification_templates:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) diff --git a/static/code-examples/v2024/python_code_examples_overlay.yaml b/static/code-examples/v2024/python_code_examples_overlay.yaml index 7be67870e..a3b276d5c 100644 --- a/static/code-examples/v2024/python_code_examples_overlay.yaml +++ b/static/code-examples/v2024/python_code_examples_overlay.yaml @@ -13348,12 +13348,13 @@ 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) filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + sorters = 'key, -name' # str | 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: **key, name, medium** (optional) # str | 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: **key, name, medium** (optional) try: # List notification templates results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental=x_sail_point_experimental) # Below is a request that includes all optional parameters - # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters) + # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters, sorters) print("The response of NotificationsApi->list_notification_templates:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4)) diff --git a/static/code-examples/v2025/python_code_examples_overlay.yaml b/static/code-examples/v2025/python_code_examples_overlay.yaml index 27d411ad1..1529943c8 100644 --- a/static/code-examples/v2025/python_code_examples_overlay.yaml +++ b/static/code-examples/v2025/python_code_examples_overlay.yaml @@ -13463,12 +13463,13 @@ 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) filters = 'medium eq \"EMAIL\"' # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) # str | 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + sorters = 'key, -name' # str | 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: **key, name, medium** (optional) # str | 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: **key, name, medium** (optional) try: # List notification templates results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental=x_sail_point_experimental) # Below is a request that includes all optional parameters - # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters) + # results = NotificationsApi(api_client).list_notification_templates(x_sail_point_experimental, limit, offset, filters, sorters) print("The response of NotificationsApi->list_notification_templates:\n") for item in results: print(item.model_dump_json(by_alias=True, indent=4))