I’ve forked the IdentityNow Beta APIs Postman collection and I’m trying to use the “Complete a Campaign” POST api call.
I’ve inserted the id of the Certification campaign, here I’ll use the id “12345”, and I know it’s the correct id as I’m able to use the “Get a campaign” call successfully.
{{baseUrl}}/campaigns/12345/complete
The POST results in a 400 bad request:
{
"detailCode": "400.1 Bad request content",
"trackingId": "ac4fdcd80b564fa89823738fe909aee4",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
},
{
"locale": "und",
"localeOrigin": "REQUEST",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": []
}
I’ve tried with “autoCompleteAction” of “APPROVE”, “REVOKE” and removing the body entirely. Still errors. Unless I’m missing something the url, body, and headers in the Postman call all appear to match what’s documented for the call complete-campaign | SailPoint Developer Community
I would appreciate it if someone can test the call themselves to see if they can complete a campaign successfully and if so maybe you can see what I’m missing. Thank you in advance!