Hello.
I’m trying to sign-off a certification from the v3 api but it is not working.
I’m an admin in the tenant and I get a Bearer token from here : https://xxx.identitynow.com/ui/session?refresh=true
The I do a POST on https://xxx.api.identitynow.com/v3/certifications/{id}/sign-off
I’m pretty sure the id is good and that it is not the issue here
But what i get is that :
{
"detailCode": "400.1 Bad request content",
"trackingId": "885e42f7298d47b690796e0e909e6772",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": []
}
I did exactly the same thing last year when the API was in beta and it worked. Do you know what I am missing ?
I will ask our engineers what this error means. In the mean time, can you check if your certification is already signed? You can run GET https://{tenant}.api.identitynow.com/v3/certifications/{certId}
and check if the signed
field has a date and the phase
is ‘SIGNED’.
{
"campaign": {
"campaignType": "SOURCE_OWNER",
"description": "Test campaign",
"type": "CAMPAIGN",
"id": "2c91808676f8a20201771c585de50526",
"name": "Source Campaign"
},
"completed": true,
"decisionsMade": 3,
"decisionsTotal": 3,
"due": "2021-02-02T20:32:54.894Z",
"signed": "2021-01-19T20:34:57.188Z",
"reviewer": {
"email": "[email protected]",
"type": "IDENTITY",
"id": "2c9180867624cbd7017642d8c8c81f67",
"name": "colin.mckibben"
},
"reassignment": null,
"hasErrors": false,
"errorMessage": null,
"phase": "SIGNED",
"identitiesCompleted": 3,
"identitiesTotal": 3,
"id": "2c91808676f8a20201771c585e4b0527",
"name": "Source Owner Access Review for Employees [source]",
"created": "2021-01-19T20:31:29.355Z",
"modified": "2021-02-08T13:37:56.242Z"
}
Engineering has confirmed the issue. We don’t clearly state what prerequisites are required for a sign-off to be successful, so we have created a ticket to update the API spec to make that clear.
Please check that the certification is in the ACTIVE
phase and that all of the certification items have had a decision submitted.
Alright. Thank you very much for the clarifications. I’m sure the API update will be of help.