Skip to main content

Run Campaign Report

POST 

https://sailpoint.api.identitynow.com/v2024/campaigns/:id/run-report/:type

Use this API to run a report for a certification campaign.

Request

Path Parameters

    id stringrequired

    ID of the campaign the report is being run for.

    type stringrequired

    Possible values: [CAMPAIGN_COMPOSITION_REPORT, CAMPAIGN_REMEDIATION_STATUS_REPORT, CAMPAIGN_STATUS_REPORT, CERTIFICATION_SIGNOFF_REPORT]

    Type of the report to run.

Responses

Accepted - Returned if the request was successfully accepted into the system.

Schema
    objectobject

Authorization: oauth2

type: Personal Access Token
scopes: idn:campaign-report:manage
user levels: ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/campaigns/:id/run-report/:type"
method := "POST"

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/v2024
Auth
Parameters
— pathrequired
— pathrequired
ResponseClear

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