Skip to main content

Get Campaign Template Schedule

GET 

https://sailpoint.api.identitynow.com/v3/campaign-templates/:id/schedule

Use this API to get the schedule for a certification campaign template. The API returns a 404 if there is no schedule set.

Request

Responses

Current schedule for the campaign template. See the Set Campaign Template Schedule endpoint documentation for more examples.

Authorization: oauth2

type: Personal Access Token
user levels: ORG_ADMIN, CERT_ADMIN
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/v3/campaign-templates/:id/schedule"
method := "GET"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v3
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!