API CALL to decide on certification item

Hi,

I’m using the below API call to make decision on certification via API call, but I’m not able to do it. could someone help on this.

API CALL :

POST → https://tenant-sb.api.identitynow.com/beta/certifications/ef4c1144a7b04378bdf814858382ef12/decide

BODY :

[
  {
    "id": "ef4c1144a7b04378bdf814858382ef12",
    "decision": "APPROVE",
    "proposedEndDate": "2023-06-27T16:36:24Z",
    "bulk": true,
    "recommendation": {
      "recommendation": null,
      "reasons": [
        "Reason 1",
        "Reason 2"
      ],
      "timestamp": "2023-06-27T16:36:24Z"
    },
    "comments": "This user no longer needs access to this source"
  }
]

This is a V3 API and not beta.

Try API https://tenant-sb.api.identitynow.com/v3/certifications/ef4c1144a7b04378bdf814858382ef12/decide

@sharvari I have tried V3 as well, It couldn’t able to make it success.

I’m receiving the below error.

{
    "detailCode": "404 Not found",
    "trackingId": "525ca47f8e124966a6d4a8384b909767",
    "messages": [
        {
            "locale": "en-US",
            "localeOrigin": "DEFAULT",
            "text": "The server did not find a current representation for the target resource."
        },
        {
            "locale": "und",
            "localeOrigin": "REQUEST",
            "text": "The server did not find a current representation for the target resource."
        }
    ],
    "causes": []
}

By any chance, is this campaign assigned to a governance group? if yes, then this API doesn’t work for such certifications.

@sunnyajmera No, its assigned to an individual.

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