Getting application PDF
Getting application PDF
By accessing the /applications/{applicationId}/pdf endpoint in a GET-request, you can retrieve the applications PDF:
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/applications/{applicationId}/pdf" |
with TOKEN being the user access token of the user in question and {applicationId} corresponding to the ID of one of his/her applications.
Path parameters
Name | Description | Data Type |
---|---|---|
applicationId | The ID of application to be printed as PDF. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | Redirect to the requested PDF file. | n/a | failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request, e.g. when the applicationId was wrong. |
authorization error | 401 / 403 | See here for details. |