GET rbac/access certification campaigns/reviews/:access certification campaign review id
From Social ID Developers
Contents |
Description
Returns an Access Certification Campaign Review.
Resource URL
GET https://api.socialidnow.com/v1/rbac/access_certification_campaigns/reviews/:access_certification_campaign_review_id
Parameters
URL Parameters
access_certification_campaign_review_id | required | access certification campaign review identifier. |
---|
Authentication
This API requires Account authentication. See Authentication.
Response
Response Status
ok (200) | The request was successful. |
---|---|
unauthorized (401) | The authentication is wrong. See Authentication. |
forbidden (403) | The account does not have access to this access certification campaign review. |
internal_server_error (500) | An unknown error happened. |
Response Body
The following fields are returned:
id | access certification campaign review identifier. |
---|---|
status | access certification campaign review status. Possible values: "pending", "approved" or "revoked". |
comment | access certification campaign review comment. |
access_certification_campaign_id | access certification campaign identifier. |
login_user_id | user identifier. |
reviewer_id | reviewer identifier. |
role_id | role identifier. |
source_type | type of the source that added the role to the user. |
source_id | source identifier. |
created_at | date of access certification campaign review creation. |
updated_at | date of access certification campaign review latest update. |
Examples
Request
curl -X GET 'https://api.socialidnow.com/v1/rbac/access_certification_campaigns/reviews/1' \ --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf
Response
Response Headers
HTTP/1.1 200 Ok Status: 200
Response Body
{ "id": 1, "status": "pending", "comment": "First Access Certification Campaign Review comment", "access_certification_campaign_id": 123, "login_user_id": 234, "role_id": 345, "reviewer_id": 456, "source_type": "group", "source_id": "567", "created_at": "2024-02-20T13:30:00Z", "updated_at": "2024-02-20T13:30:00Z" }