Creating a campaign through API call

Hi,

When creating a campaign through API call, Is there an option where we can give deadline as empty so that cert-admin can set the deadline when he activates.

This option is available through UI, just looking for the same option through API call.

Hi @chandramohan27

By default the Certification deadline is two weeks. Even if you are not passing any “deadline” attribute in your Body, IDN will create with 14 days deadline

How are you creating a Certification without deadline ?

1 Like

Hi @rajeshs

When we create a campaign through search query, I see an option from UI which allows cert-admin to set the due date when he activates the campaign.

The “deadlineDuration” attribute in campaign template is stored in ISO-8601 Duration format.

In your case since you want to update later pass it with a null value “deadlineDuration”: null

POST https://sailpoint.api.identitynow.com/beta/campaign-templates

image

1 Like

If I’m not wrong, we need to first create a campaign template and use the campaign template id to create the campaigns.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.