The endpoint will allow you to list and search for jobs.
url | jobs/{id} |
---|
id | the job id |
---|
id | String : unique ID of the job |
---|---|
categories | List of Integer: categorie of the job |
contractTypes | List of Integer : Contract Types |
shifts | List of Integer : Shifts |
schedules | List of Integer : Schedules |
status | Integer : Status of the job |
shortDescription | String : Description to show on the list of Postes |
fullDescription | String : Text to show as description in the portal. |
jobLocalized | Array : the job description in multiple language |
language | String : the language of the description (en, fr, es, …) |
---|---|
title | String : title of the job |
shortDescription | String : Description to show on the list of Postes |
fullDescription | String : Text to show as description in the portal. |
1 2 3 |
curl -X GET 'https://api.nextal.com/jobs/{id}?napikey=demo&ntenant=demo' -H 'cache-control: no-cache' |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<?php $request = new HttpRequest(); $request->setUrl('https://api.nextal.com/jobs/{id}'); $request->setMethod(HTTP_METH_GET); $request->setQueryData(array( 'napikey' => 'demo', 'ntenant' => 'demo' )); $request->setHeaders(array( 'cache-control' => 'no-cache' )); try { $response = $request->send(); echo $response->getBody(); } catch (HttpException $ex) { echo $ex; } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import http.client conn = http.client.HTTPConnection("api,nextal,com") headers = { 'cache-control': "no-cache", } conn.request("GET", "jobs,{id}", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8")) |
1 2 3 4 5 6 7 8 9 10 11 12 |
require 'uri' require 'net/http' url = URI("https://api.nextal.com/jobs/{id}?napikey=demo&ntenant=demo") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Get.new(url) request["cache-control"] = 'no-cache' response = http.request(request) puts response.read_body |
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 |
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://api.nextal.com/jobs/{id}?napikey=demo&ntenant=demo" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("cache-control", "no-cache") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
var request = require("request"); var options = { method: 'GET', url: 'https://api.nextal.com/jobs/{id}', qs: { napikey: 'demo', ntenant: 'demo' }, headers: { 'cache-control': 'no-cache' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); }); |
1 2 3 |
HttpResponse response = Unirest.get("https://api.nextal.com/jobs/{id}?napikey=demo&ntenant=demo") .header("cache-control", "no-cache") .asString(); |