Getting a job’s details as HTML
Getting a job’s details as an HTML String
Use of the endpoint /jobs/{jobDbId} allows you to gain access to an individual job posting’s data.
Request with tokens
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/jobs/{jobDbId}" |
with TOKEN being either a client access token or a user access token and {jobDbId} corresponding to the ID of a specific job in the database.
Request with basic authorization
As an alternative, you can use here the basic authorization method. Just write
1 |
curl -i -u "{clientId}:"-H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/jobs/{jobDbId}" |
{clientId} is the ID for your application to develop given to you by softgarden. The colon seen in the example is obligatory.
Path parameters
Name | Description | Data Type |
---|---|---|
jobDbId | ID of the desired job. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | String | The job’s information encoded into HTML or ‘IS_OFFLINE‘ when the ID is invalid or the job has not yet been published. |
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 146 147 148 149 150 151 152 153 154 155 156 |
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>[job title - company]</title> <meta name="description" content="[job title - description - company]" /> <meta name="viewport" content="width=device-width" /> <base href="http://beta.taloom.de/cms"/> <!-- Includes --> <link rel="stylesheet" href="//static.softgarden.de/thirdparty/boilerplate/4.1.0/css/normalize.css" /> <link rel="stylesheet" href="//static.softgarden.de/thirdparty/boilerplate/4.1.0/css/main.css" /> <style media="screen" type="text/css"> html, button, input, select, textarea { color: #333; } body { font-size: 1em; line-height: 1.5; background: #f5f5f5;} a { -webkit-transition: all .2s ease-in; -moz-transition: all .2s ease-in; -o-transition: all .2s ease-in; transition: all .2s ease-in;} a:hover { text-decoration: underline;} img { vertical-align: middle; } fieldset { border: 0; margin: 0; padding: 0; } textarea { resize: vertical; } </style> <!-- Custom CSS --> <style media="screen" type="text/css"> a { color:#4800FF } a:hover { text-decoratoin: none; } hr { border-color: #9e6eb9; } h1 {margin: 2% 0;text-align: center;} h2 {margin:0;} p {margin:8px 0;} ul { margin: 8px 0; padding-left: 25px;} body {background-color: #FDC9FF; } .wrapped { margin: 15px 4%; } .wrapped-content { padding: 2%; } .page-wrapper {width:900px;max-width:98%;margin:0 auto;overflow:hidden;} .content-wrap { width:98%; background: #15FF00;margin:5px 0 30px; -moz-box-shadow: 0px 0px 5px #999; -webkit-box-shadow: 0px 0px 5px #999; box-shadow: 0px 0px 5px #999;} .img-wrap {width:100%;} .img-wrap img {width: 100%;} .content-block {margin-top: 15px; margin-bottom: 15px; background:#FFE047;} .content-block h2 {color:#9e6eb9; font-weight: 400;} .footer {position: relative; padding-bottom: 4%;} .footer:before {content: "";width:100%;height:1px;margin-bottom:15px;background:#FFAE00;} .footer .info { width:60%; } .footer .info .head { width:100%; height:30px; font-weight: bold; } .footer .info .contact { position: relative; min-height: 75px; } .footer .info .contact .avatar { position: absolute; top: 0; left: 0; } .footer .info .contact .avatar img { border: 1px solid #999; height: 75px; max-height: 75px; width:60px; max-width: 60px; } .footer .info .contact .address { margin-left: 60px; min-height: 75px; } .footer .info .contact .address .name { margin:3px 10px;} .footer .info .contact .address .phone { margin:3px 10px;} .footer .apply-wrap { position: absolute; top: 0px; right: 0px; width:30%; } .footer .apply-wrap a {display: block; margin-top:30px;padding:15px 2%;font-size:1.2em;text-align: center;} .color-btn { background: #1DA1A1; color: #fff; border: none; } .color-btn:hover { color: #333; text-decoration: none; -moz-box-shadow: inset 0px 0px 5px #222; -webkit-box-shadow: inset 0px 0px 5px #222; box-shadow: inset 0px 0px 5px #222; } </style> <script src="//static.softgarden.de/thirdparty/modernizr/modernizr-2.6.2.min.js"></script> </head> <body> <!-- Content --> <div class="page-wrapper"> <div class="content-wrap"> <div class="img-wrap"> <!-- Header Image --> <div class="header-image"><img src="https://beta.taloom.de/hrFrontend/public/media/get/560b4f8009624bc4805244545b81ae4a/1366971942816/Stan.png" alt="Stan.png" width="157" height="200" /></div> </div> <div class="content"> <!-- Image text --> <div class="image-text wrapped wrapped-content"> <p><strong>sei offen, </strong><em></em><em>sei it, </em><span style="text-decoration: underline;">sei berlin</span></p> </div> <hr class="wrapped"/> <h1 class="wrapped">gsdgsdgsdg</h1> <div class="content-block wrapped wrapped-content"> <h2 lang="de">Was wir bieten</h2> <div class="what-we-offer"> <ul> <li>viel Platz für eigenverantwortliches Handeln, frische Ideen und neue Herausforderungen</li> <li>ein Team, das auf Gestaltungsspielräume, Eigenverantwortung und Kreativität setzt</li> <li>eine Unternehmenskultur, die fordert und fördert</li> </ul> </div> </div> <div class="content-block wrapped wrapped-content"> <h2 lang="de">Ihr Profil</h2> <div class="applicant-profile"> <ul> <li>sehr gute Englischkenntnisse</li> <li>sicheres Auftreten, überzeugende Gesprächsführung und Abschlusssicherheit</li> <li>hervorragende Kommunikations- und Präsentationsskills</li> <li>Offenheit, Flexibilität, Teamfähigkeit und Leistungsbereitschaft</li> </ul> </div> </div> <div class="content-block wrapped wrapped-content"> <h2 lang="de">Ihre Aufgaben</h2> <div class="applicant-tasks"> <ul> <li>Präsentation der Produkte und Dienstleistungen, Durchführung von Vertriebsveranstaltungen und Workshops</li> <li>effizienter Informationsaustausch mit dem Innendienst und anderen Bereichen mit Kundenkontakt</li> </ul> </div> </div> <div class="appetizer wrapped wrapped-content"> <div class="appetizer"></div> </div> <hr class="wrapped"/> <div class="footer wrapped wrapped-content"> <div class="info"> <div class="head"> <span lang="de">Ansprechspartner:</span> </div> <div class="contact"> <!-- type="contact" creates this: --> <!-- <div class="avatar"><img src="" alt="[Recruiter avatar]"/></div> <div class="address"> <div class="name">[Recruiter name]</div> <div class="phone">[Recruiter phone]</div> </div> --> </div> </div> <div class="apply-wrap"> <a class="color-btn" href="https://jobdb-tc.softgarden.de/jobdb/public/jobposting/applyonline/click?jp=3222" id="applyOnlineButton"> <span lang="de">Online bewerben</span> </a> </div> </div> </div> </div> </div> <!-- jQuery (not used at present)--><!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="//static.softgarden.de/thirdpary/jquery/1.9.0/jquery.min.js"><\/script>')</script> <script src="//static.softgarden.de/thirdparty/boilerplate/4.1.0/js/plugins.js"></script> --><!-- Custom JS --><img src="https://tracker-tc.softgarden.de/tracker/view.gif?pv=14722&jobaction=view" width="1" height="1" alt="" title="" /> </body> </html> |