mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update python SDK docs: 15116515953
This commit is contained in:
@@ -80,35 +80,35 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/beta*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**complete-campaign**](#complete-campaign) | **POST** `/campaigns/{id}/complete` | Complete a Campaign
|
||||
[**create-campaign**](#create-campaign) | **POST** `/campaigns` | Create Campaign
|
||||
[**create-campaign-template**](#create-campaign-template) | **POST** `/campaign-templates` | Create a Campaign Template
|
||||
[**delete-campaign-template**](#delete-campaign-template) | **DELETE** `/campaign-templates/{id}` | Delete a Campaign Template
|
||||
[**delete-campaign-template-schedule**](#delete-campaign-template-schedule) | **DELETE** `/campaign-templates/{id}/schedule` | Delete Campaign Template Schedule
|
||||
[**delete-campaigns**](#delete-campaigns) | **POST** `/campaigns/delete` | Delete Campaigns
|
||||
[**get-active-campaigns**](#get-active-campaigns) | **GET** `/campaigns` | List Campaigns
|
||||
[**get-campaign**](#get-campaign) | **GET** `/campaigns/{id}` | Get Campaign
|
||||
[**get-campaign-reports**](#get-campaign-reports) | **GET** `/campaigns/{id}/reports` | Get Campaign Reports
|
||||
[**get-campaign-reports-config**](#get-campaign-reports-config) | **GET** `/campaigns/reports-configuration` | Get Campaign Reports Configuration
|
||||
[**get-campaign-template**](#get-campaign-template) | **GET** `/campaign-templates/{id}` | Get a Campaign Template
|
||||
[**get-campaign-template-schedule**](#get-campaign-template-schedule) | **GET** `/campaign-templates/{id}/schedule` | Get Campaign Template Schedule
|
||||
[**get-campaign-templates**](#get-campaign-templates) | **GET** `/campaign-templates` | List Campaign Templates
|
||||
[**move**](#move) | **POST** `/campaigns/{id}/reassign` | Reassign Certifications
|
||||
[**patch-campaign-template**](#patch-campaign-template) | **PATCH** `/campaign-templates/{id}` | Update a Campaign Template
|
||||
[**set-campaign-reports-config**](#set-campaign-reports-config) | **PUT** `/campaigns/reports-configuration` | Set Campaign Reports Configuration
|
||||
[**set-campaign-template-schedule**](#set-campaign-template-schedule) | **PUT** `/campaign-templates/{id}/schedule` | Set Campaign Template Schedule
|
||||
[**start-campaign**](#start-campaign) | **POST** `/campaigns/{id}/activate` | Activate a Campaign
|
||||
[**start-campaign-remediation-scan**](#start-campaign-remediation-scan) | **POST** `/campaigns/{id}/run-remediation-scan` | Run Campaign Remediation Scan
|
||||
[**start-campaign-report**](#start-campaign-report) | **POST** `/campaigns/{id}/run-report/{type}` | Run Campaign Report
|
||||
[**start-generate-campaign-template**](#start-generate-campaign-template) | **POST** `/campaign-templates/{id}/generate` | Generate a Campaign from Template
|
||||
[**update-campaign**](#update-campaign) | **PATCH** `/campaigns/{id}` | Update a Campaign
|
||||
[**complete-campaign**](#complete-campaign) | **POST** `/campaigns/{id}/complete` | Complete a campaign
|
||||
[**create-campaign**](#create-campaign) | **POST** `/campaigns` | Create campaign
|
||||
[**create-campaign-template**](#create-campaign-template) | **POST** `/campaign-templates` | Create a campaign template
|
||||
[**delete-campaign-template**](#delete-campaign-template) | **DELETE** `/campaign-templates/{id}` | Delete a campaign template
|
||||
[**delete-campaign-template-schedule**](#delete-campaign-template-schedule) | **DELETE** `/campaign-templates/{id}/schedule` | Delete campaign template schedule
|
||||
[**delete-campaigns**](#delete-campaigns) | **POST** `/campaigns/delete` | Delete campaigns
|
||||
[**get-active-campaigns**](#get-active-campaigns) | **GET** `/campaigns` | List campaigns
|
||||
[**get-campaign**](#get-campaign) | **GET** `/campaigns/{id}` | Get campaign
|
||||
[**get-campaign-reports**](#get-campaign-reports) | **GET** `/campaigns/{id}/reports` | Get campaign reports
|
||||
[**get-campaign-reports-config**](#get-campaign-reports-config) | **GET** `/campaigns/reports-configuration` | Get campaign reports configuration
|
||||
[**get-campaign-template**](#get-campaign-template) | **GET** `/campaign-templates/{id}` | Get a campaign template
|
||||
[**get-campaign-template-schedule**](#get-campaign-template-schedule) | **GET** `/campaign-templates/{id}/schedule` | Get campaign template schedule
|
||||
[**get-campaign-templates**](#get-campaign-templates) | **GET** `/campaign-templates` | List campaign templates
|
||||
[**move**](#move) | **POST** `/campaigns/{id}/reassign` | Reassign certifications
|
||||
[**patch-campaign-template**](#patch-campaign-template) | **PATCH** `/campaign-templates/{id}` | Update a campaign template
|
||||
[**set-campaign-reports-config**](#set-campaign-reports-config) | **PUT** `/campaigns/reports-configuration` | Set campaign reports configuration
|
||||
[**set-campaign-template-schedule**](#set-campaign-template-schedule) | **PUT** `/campaign-templates/{id}/schedule` | Set campaign template schedule
|
||||
[**start-campaign**](#start-campaign) | **POST** `/campaigns/{id}/activate` | Activate a campaign
|
||||
[**start-campaign-remediation-scan**](#start-campaign-remediation-scan) | **POST** `/campaigns/{id}/run-remediation-scan` | Run campaign remediation scan
|
||||
[**start-campaign-report**](#start-campaign-report) | **POST** `/campaigns/{id}/run-report/{type}` | Run campaign report
|
||||
[**start-generate-campaign-template**](#start-generate-campaign-template) | **POST** `/campaign-templates/{id}/generate` | Generate a campaign from template
|
||||
[**update-campaign**](#update-campaign) | **PATCH** `/campaigns/{id}` | Update a campaign
|
||||
|
||||
|
||||
## complete-campaign
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Complete a Campaign
|
||||
Complete a campaign
|
||||
:::caution
|
||||
|
||||
This endpoint will run successfully for any campaigns that are **past due**.
|
||||
@@ -167,7 +167,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # CompleteCampaignOptions | Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE (optional)
|
||||
|
||||
try:
|
||||
# Complete a Campaign
|
||||
# Complete a campaign
|
||||
|
||||
results = CertificationCampaignsApi(api_client).complete_campaign(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -186,7 +186,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Create Campaign
|
||||
Create campaign
|
||||
Use this API to create a certification campaign with the information provided in the request body. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/create-campaign).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -339,7 +339,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # Campaign |
|
||||
|
||||
try:
|
||||
# Create Campaign
|
||||
# Create campaign
|
||||
new_campaign = Campaign.from_json(campaign)
|
||||
results = CertificationCampaignsApi(api_client).create_campaign(campaign=new_campaign)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -358,7 +358,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Create a Campaign Template
|
||||
Create a campaign template
|
||||
Use this API to create a campaign template based on campaign. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/create-campaign-template).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -526,7 +526,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # CampaignTemplate |
|
||||
|
||||
try:
|
||||
# Create a Campaign Template
|
||||
# Create a campaign template
|
||||
new_campaign_template = CampaignTemplate.from_json(campaign_template)
|
||||
results = CertificationCampaignsApi(api_client).create_campaign_template(campaign_template=new_campaign_template)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -545,7 +545,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Delete a Campaign Template
|
||||
Delete a campaign template
|
||||
Use this API to delete a certification campaign template by ID. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/delete-campaign-template).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -590,7 +590,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '2c9180835d191a86015d28455b4a2329' # str | ID of the campaign template being deleted. # str | ID of the campaign template being deleted.
|
||||
|
||||
try:
|
||||
# Delete a Campaign Template
|
||||
# Delete a campaign template
|
||||
|
||||
CertificationCampaignsApi(api_client).delete_campaign_template(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -607,7 +607,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Delete Campaign Template Schedule
|
||||
Delete campaign template schedule
|
||||
Use this API to delete the schedule for a certification campaign template. The API returns a 404 if there is no schedule set. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/delete-campaign-template-schedule).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -652,7 +652,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '04bedce387bd47b2ae1f86eb0bb36dee' # str | ID of the campaign template whose schedule is being deleted. # str | ID of the campaign template whose schedule is being deleted.
|
||||
|
||||
try:
|
||||
# Delete Campaign Template Schedule
|
||||
# Delete campaign template schedule
|
||||
|
||||
CertificationCampaignsApi(api_client).delete_campaign_template_schedule(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -669,7 +669,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Delete Campaigns
|
||||
Delete campaigns
|
||||
Use this API to delete certification campaigns whose IDs are specified in the provided list of campaign IDs. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/delete-campaigns).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -717,7 +717,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # DeleteCampaignsRequest | IDs of the campaigns to delete.
|
||||
|
||||
try:
|
||||
# Delete Campaigns
|
||||
# Delete campaigns
|
||||
new_delete_campaigns_request = DeleteCampaignsRequest.from_json(delete_campaigns_request)
|
||||
results = CertificationCampaignsApi(api_client).delete_campaigns(delete_campaigns_request=new_delete_campaigns_request)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -736,7 +736,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
List Campaigns
|
||||
List campaigns
|
||||
Use this API to get a list of campaigns. The API can provide increased level of detail for each campaign for the correct provided query. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/get-active-campaigns).
|
||||
|
||||
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
|
||||
@@ -791,7 +791,7 @@ with ApiClient(configuration) as api_client:
|
||||
sorters = '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: **name, created** (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: **name, created** (optional)
|
||||
|
||||
try:
|
||||
# List Campaigns
|
||||
# List campaigns
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_active_campaigns()
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -811,7 +811,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get Campaign
|
||||
Get campaign
|
||||
Use this API to get information for an existing certification campaign by the campaign's ID. Though this endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/get-campaign).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -857,7 +857,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '2c91808571bcfcf80171c23e4b4221fc' # str | ID of the campaign to be retrieved. # str | ID of the campaign to be retrieved.
|
||||
|
||||
try:
|
||||
# Get Campaign
|
||||
# Get campaign
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_campaign(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -876,7 +876,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get Campaign Reports
|
||||
Get campaign reports
|
||||
Use this API to fetch all reports for a certification campaign by campaign ID. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/get-campaign-reports).
|
||||
|
||||
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
|
||||
@@ -922,7 +922,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '2c91808571bcfcf80171c23e4b4221fc' # str | ID of the campaign whose reports are being fetched. # str | ID of the campaign whose reports are being fetched.
|
||||
|
||||
try:
|
||||
# Get Campaign Reports
|
||||
# Get campaign reports
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_campaign_reports(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -942,7 +942,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get Campaign Reports Configuration
|
||||
Get campaign reports configuration
|
||||
Use this API to fetch the configuration for certification campaign reports. The configuration includes only one element - identity attributes defined as custom report columns. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/get-campaign-reports-config).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -983,7 +983,7 @@ configuration = Configuration()
|
||||
with ApiClient(configuration) as api_client:
|
||||
|
||||
try:
|
||||
# Get Campaign Reports Configuration
|
||||
# Get campaign reports configuration
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_campaign_reports_config()
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1002,7 +1002,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get a Campaign Template
|
||||
Get a campaign template
|
||||
Use this API to fetch a certification campaign template by ID. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/get-campaign-template).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1048,7 +1048,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '2c9180835d191a86015d28455b4a2329' # str | Requested campaign template's ID. # str | Requested campaign template's ID.
|
||||
|
||||
try:
|
||||
# Get a Campaign Template
|
||||
# Get a campaign template
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_campaign_template(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1067,7 +1067,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get Campaign Template Schedule
|
||||
Get campaign template schedule
|
||||
Use this API to get the schedule for a certification campaign template. The API returns a 404 if there is no schedule set. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/get-campaign-template-schedule).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1113,7 +1113,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '04bedce387bd47b2ae1f86eb0bb36dee' # str | ID of the campaign template whose schedule is being fetched. # str | ID of the campaign template whose schedule is being fetched.
|
||||
|
||||
try:
|
||||
# Get Campaign Template Schedule
|
||||
# Get campaign template schedule
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_campaign_template_schedule(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1132,7 +1132,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
List Campaign Templates
|
||||
List campaign templates
|
||||
Use this API to get a list of all campaign templates. Scope can be reduced through standard V3 query params. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/list-campaign-templates).
|
||||
|
||||
The endpoint returns all campaign templates matching the query parameters.
|
||||
@@ -1187,7 +1187,7 @@ with ApiClient(configuration) as api_client:
|
||||
filters = 'name eq \"manager template\"' # 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: **name**: *eq, ge, gt, in, le, lt, ne, sw* **id**: *eq, ge, gt, in, le, lt, ne, 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: **name**: *eq, ge, gt, in, le, lt, ne, sw* **id**: *eq, ge, gt, in, le, lt, ne, sw* (optional)
|
||||
|
||||
try:
|
||||
# List Campaign Templates
|
||||
# List campaign templates
|
||||
|
||||
results = CertificationCampaignsApi(api_client).get_campaign_templates()
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1207,7 +1207,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Reassign Certifications
|
||||
Reassign certifications
|
||||
This API reassigns the specified certifications from one identity to another. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/move).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1263,7 +1263,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # AdminReviewReassign |
|
||||
|
||||
try:
|
||||
# Reassign Certifications
|
||||
# Reassign certifications
|
||||
new_admin_review_reassign = AdminReviewReassign.from_json(admin_review_reassign)
|
||||
results = CertificationCampaignsApi(api_client).move(id=id, admin_review_reassign=new_admin_review_reassign)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1282,7 +1282,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Update a Campaign Template
|
||||
Update a campaign template
|
||||
Use this API to update individual fields on a certification campaign template, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/patch-campaign-template).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1331,7 +1331,7 @@ with ApiClient(configuration) as api_client:
|
||||
json_patch_operation = '''[{op=replace, path=/description, value=Updated description!}, {op=replace, path=/campaign/filter/id, value=ff80818155fe8c080155fe8d925b0316}]''' # List[JsonPatchOperation] | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
|
||||
|
||||
try:
|
||||
# Update a Campaign Template
|
||||
# Update a campaign template
|
||||
new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation)
|
||||
results = CertificationCampaignsApi(api_client).patch_campaign_template(id=id, json_patch_operation=new_json_patch_operation)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1350,7 +1350,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Set Campaign Reports Configuration
|
||||
Set campaign reports configuration
|
||||
Use this API to overwrite the configuration for campaign reports. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/set-campaign-reports-config).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1397,7 +1397,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # CampaignReportsConfig | Campaign report configuration.
|
||||
|
||||
try:
|
||||
# Set Campaign Reports Configuration
|
||||
# Set campaign reports configuration
|
||||
new_campaign_reports_config = CampaignReportsConfig.from_json(campaign_reports_config)
|
||||
results = CertificationCampaignsApi(api_client).set_campaign_reports_config(campaign_reports_config=new_campaign_reports_config)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1416,7 +1416,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Set Campaign Template Schedule
|
||||
Set campaign template schedule
|
||||
Use this API to set the schedule for a certification campaign template. If a schedule already exists, the API overwrites it with the new one.
|
||||
Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/set-campaign-template-schedule).
|
||||
|
||||
@@ -1484,7 +1484,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # Schedule | (optional)
|
||||
|
||||
try:
|
||||
# Set Campaign Template Schedule
|
||||
# Set campaign template schedule
|
||||
|
||||
CertificationCampaignsApi(api_client).set_campaign_template_schedule(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1501,7 +1501,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Activate a Campaign
|
||||
Activate a campaign
|
||||
Use this API to submit a job to activate the certified campaign with the specified ID. The campaign must be staged. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/start-campaign).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1551,7 +1551,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # ActivateCampaignOptions | Optional. If no timezone is specified, the standard UTC timezone is used (i.e. UTC+00:00). Although this can take any timezone, the intended value is the caller's timezone. The activation time calculated from the given timezone may cause the campaign deadline time to be modified, but it will remain within the original date. The timezone must be in a valid ISO 8601 format. (optional)
|
||||
|
||||
try:
|
||||
# Activate a Campaign
|
||||
# Activate a campaign
|
||||
|
||||
results = CertificationCampaignsApi(api_client).start_campaign(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1570,7 +1570,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Run Campaign Remediation Scan
|
||||
Run campaign remediation scan
|
||||
Use this API to run a remediation scan task for a certification campaign. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/start-campaign-remediation-scan).
|
||||
|
||||
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
|
||||
@@ -1615,7 +1615,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '2c91808571bcfcf80171c23e4b4221fc' # str | ID of the campaign the remediation scan is being run for. # str | ID of the campaign the remediation scan is being run for.
|
||||
|
||||
try:
|
||||
# Run Campaign Remediation Scan
|
||||
# Run campaign remediation scan
|
||||
|
||||
results = CertificationCampaignsApi(api_client).start_campaign_remediation_scan(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1634,7 +1634,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Run Campaign Report
|
||||
Run campaign report
|
||||
Use this API to run a report for a certification campaign. Though this Beta endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/start-campaign-report).
|
||||
|
||||
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
|
||||
@@ -1682,7 +1682,7 @@ with ApiClient(configuration) as api_client:
|
||||
type = sailpoint.beta.ReportType() # ReportType | Type of report to run. # ReportType | Type of report to run.
|
||||
|
||||
try:
|
||||
# Run Campaign Report
|
||||
# Run campaign report
|
||||
|
||||
results = CertificationCampaignsApi(api_client).start_campaign_report(id=id, type=type)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1701,7 +1701,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Generate a Campaign from Template
|
||||
Generate a campaign from template
|
||||
Use this API to generate a new certification campaign from a campaign template.
|
||||
|
||||
The campaign object contained in the template has special formatting applied to its name and description
|
||||
@@ -1758,7 +1758,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = '2c9180835d191a86015d28455b4a2329' # str | ID of the campaign template to use for generation. # str | ID of the campaign template to use for generation.
|
||||
|
||||
try:
|
||||
# Generate a Campaign from Template
|
||||
# Generate a campaign from template
|
||||
|
||||
results = CertificationCampaignsApi(api_client).start_generate_campaign_template(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1777,7 +1777,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Update a Campaign
|
||||
Update a campaign
|
||||
Use this API to update individual fields on a certification campaign, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Though this endpoint has been deprecated, you can find its V3 equivalent [here](https://developer.sailpoint.com/docs/api/v3/update-campaign).
|
||||
|
||||
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
||||
@@ -1825,7 +1825,7 @@ with ApiClient(configuration) as api_client:
|
||||
request_body = '''[{op=replace, path=/name, value=This field has been updated!}, {op=copy, from=/name, path=/description}]''' # List[object] | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The fields that can be patched differ based on the status of the campaign. When the campaign is in the *STAGED* status, you can patch these fields: * name * description * recommendationsEnabled * deadline * emailNotificationEnabled * autoRevokeAllowed When the campaign is in the *ACTIVE* status, you can patch these fields: * deadline
|
||||
|
||||
try:
|
||||
# Update a Campaign
|
||||
# Update a campaign
|
||||
new_request_body = RequestBody.from_json(request_body)
|
||||
results = CertificationCampaignsApi(api_client).update_campaign(id=id, request_body=new_request_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
|
||||
Reference in New Issue
Block a user