Getting application preview
This endpoint is deprecated. Please do not use it for new projects. The documentation remains here for legacy API consumers.
Getting application preview
The /applications/{applicationId}/preview endpoint provides a preview of an application to a given {applicationId}. This also works when the application is already sent.
By sending the following GET-request, one can obtain the requested attachment.
1 2 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/applications/{applicationId}/preview" |
with TOKEN being the user access token of the user in question. It is used to determine the validity of this request. Moreover the {applicationId} is the ID of the application to preview.
Path parameters
Name | Description | Data Type |
---|---|---|
applicationId | The ID of the application to show the preview of. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | string with html | There is some markup returned that recaps the already deposited application data. Please see the example below. |
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |
Example response value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
<div class="profileEditor_infoContainer"> <div class="profileEditor_title"> <h3>Ihre Bewerbung als Koch</h3> </div> <p class="profileEditor_info">Hier können Sie Ihre Daten nochmal einsehen. </p> <p class="profileEditor_info"><strong>Hinweis:</strong> Mit * gekennzeichnete Kategorien enthalten Pflichtfelder. </p> </div> <div class="profileEditor_formNavigationContainer"> <h4 class="profilEditor"> Unternavigation - Bewerbungsdaten eingeben</h4> <ol class="profileEditorLinkList"> <li class="profileEditorFirstNavigation profileEditorFirstNavigation_level_1 profileEditorFirstNavigation_last"> <div class="icon_bewerbungsvorgang" style="display: none;">1</div> <a href="/protected/application/profile/ProfileEditorShow.do?firstnav=1&aid=d57e0bc488e94c10b5a2981ac36366e1" title="zurück zu Bewerbung" class="profileEditor_formNavigationLink">Bewerbung*<img src="/global/images/icon_error.png" alt="Nicht alle Pflichtfelder ausgefüllt!" style="border-style:none"/></a> </li> <li class="profileEditor_formNavigationPreviewLinkContainer profileEditor_formNavigationPreviewLinkContainer_current"><a href="/protected/application/profile/ProfileSendShow.do?aid=d57e0bc488e94c10b5a2981ac36366e1" class="profileEditor_formNavigationSendLink">Vorschau</a></li> </ol> </div> <div class="profileEditor_formContainer"> <h4 class="profilEditor">Formular - Zusammenfassung</h4> <div class="profileEditor_previewContainer"> <div class="profileEditor_errorPlaceHolder"> <div class="profileEditor_errorDialog"> <p><img src="/global/images/icon_error.png" alt="Fehler!"/>Achtung</p> <p>Sie haben einige Pflichtfelder (mit * gekennzeichnet) nicht ausgefüllt. Hauptkategorien, die Pflichtfelder enthalten, sind mit einem * gekennzeichnet.<br/>Erst wenn Sie alle Pflichtfelder ausgefüllt haben, können Sie Ihre Bewerbung absenden.<br/></p> </div> </div> <table class="profileEditor_previewContentTable"> <thead> <tr> <td class="profileEditor_previewDescriptionCellHead"><span class="previewDescriptionCellHeadText">Beschreibung</span></td> <td class="profileEditor_previewContentCellHead"><span class="previewDescriptionCellHeadText">Ihre Angaben</span></td> </tr> </thead> <tbody class="profileEditor_previewTableBody"> <td id="form_row_specialQuestions" colspan="2"> <table> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Bitte beantworten Sie die folgenden Fragen</h5> </td> </tr> <tr> <td class="profileEditor_previewDescriptionCell">Sind Sie schnell mit dem Messer?</td> <td class="profileEditor_previewContentCell"/> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> </table> </td> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Bewerbung</h5> </td> </tr> <tr> <td class="profileEditor_previewDescriptionCell">Anschreiben</td> <td class="profileEditor_previewContentCell"> <div class="simple"> </div> </td> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Persönliche Daten</h5> </td> </tr> <tr> <td class="profileEditor_previewDescriptionCell">Anrede</td> <td class="profileEditor_previewContentCell">Herr</td> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> <tr> <td class="profileEditor_previewDescriptionCell">Vorname</td> <td class="profileEditor_previewContentCell">Joe</td> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> <tr> <td class="profileEditor_previewDescriptionCell">Nachname</td> <td class="profileEditor_previewContentCell">Doe</td> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> <tr> <td class="profileEditor_previewDescriptionCell">Telefon</td> <td class="profileEditor_previewContentCell"> </td> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Berufserfahrung</h5> </td> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Ausbildung</h5> </td> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Sprachen</h5> </td> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Kontaktdaten</h5> </td> </tr> <tr> <td class="profileEditor_previewDescriptionCell">E-Mail</td> <td class="profileEditor_previewContentCell">joe.doe@acme.com</td> </tr> <tr> <td class="repeatGroupDivider" style="height:5px;" colspan="2"/> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Bewerbungsfoto</h5> </td> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Lebenslauf</h5> </td> </tr> <tr> <td colspan="2"> <h5 class="profileEditor_previewGroupDescription">Weitere Anhänge</h5> </td> </tr> </tbody> </table> </div> </div> |