Get Certificate Saved In Workflow History
Business application can get the certificate that was used for to perform an workflow activity. Business application will need to provide the package id, log id and the key by which the certificate is retrieved. This API endpoint will be returned in activity log response. Client application will not need to create the whole URL on its own.
https://api.signinghub.com/v3/packages/{package_id}/log/{log_id}/details/{encrypt_key} |
||
HTTP Verb |
GET |
|
Authorization |
Bearer {access_token} |
|
Content-Type |
application/json |
|
Accept |
application/json |
|
Request Body |
||
Status Code |
Message |
Response Body |
200 |
OK |
file(binary)
|
403 | Forbidden |
{ "Message" : "Account is disabled" } |
500 |
Internal Server Error |
{ "Message" : "An internal server error occurred while processing the request" } |
The detail of each item provided in the request and response is provided below:
Item Details | |
Names |
Description |
Request Parameters |
|
access_token | OAuth access token obtained as a result of successful authentication via "client_credentials" grant type. |
package_id | Id of the package for which the activity log was retrieved. |
log_id | Id of the activity log record. |
encrypt_key | A key attribute that identifies the certificate with this activity. Key is encrypted by application so end user do not need to know the keys. Mostly this API URL will be returned in the activity log response. |
Response Parameters | |
Message | The service specific error message returned by the API. This message provides useful information about why the service has returned an error response. |