Read Credential Issuance Rule Usage Details
GET {{apiPath}}/environments/{{envID}}/credentialTypes/{{credentialTypeID}}/issuanceRules/{{credentialIssuanceRuleID}}/usageDetails
Use the GET {{apiPath}}/environments/{{envID}}/credentialTypes/{{credentialTypeID}}/issuanceRules/{{credentialIssuanceRuleID}}/usageDetails
operation to return the details of actions (issue, update, and revoke) for the specified credential issuance rule for the specified credential type in the specified environment.
Returns all credentials since the credential issuance rule was created.
Prerequisites
- Create a credential type to get a
credentialTypeID
for the endpoint. See also PingOne Credentials, especially Credential Types. - Create a credential issuance rule to get a
credentialIssuanceRuleID
for the endpoint. See also PingOne Credentials, especially Credential Issuance Rules.
RESPONSES
status: OK
{"issued":[{"user":{"id":"10e01013-5c58-4eb1-8073-d814c274c6dd"},"credential":{"id":"0d6a032c-a5e7-471a-89a4-14ce5497b9ee"},"createdAt":"2023-06-01T20:20:07.495Z"}],"errors":[{"environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"credentialType":{"id":"ac39e146-622a-4956-b04e-44d6ea73114c"},"issuanceRule":{"id":"2efb66cc-67c5-4589-9c25-8d13b693a6ff"},"user":{"id":"1b7837ff-c8d2-42f9-94b4-acfa0aedcb61"},"action":"ISSUE","scheduled":false,"errors":[{"recordedAt":"2023-06-01T20:20:07.828Z","errorDetail":{"code":"FILE_RESOLUTION_ERROR","target":"image","message":"File exceeds max file size restriction. File size: 29,638,516 bytes. Maximum size: 2,097,152 bytes."}}],"id":"35835133-af17-4770-8891-21e9bc7e6d9e","createdAt":"2023-06-01T20:19:33.803Z","updatedAt":"2023-06-01T20:20:07.828Z"}]}