POST: /job/indexing
This endpoint allows you to add new Job to a given board.
Please find below an example of JSON job that you can upload.
1
{
2
"name": "Data Engineer",
3
"agent_key": null,
4
"reference": "Job's reference abc",
5
"created_at": "2020-12-24T09:32:11",
6
"url": "https://www.pole-emploi.ai/jobs/data_engineer",
7
"summary": "As an engineer for the Data Engineering Infrastructure team,
8
you will design, build, scale, and evolve our data engineering
9
platform, services and tooling. Your work will have a critical
10
impact on all areas of business: powering core data pipelines,
11
supporting detailed internal analytics, calculating customer
12
usage, securing our platform, and much more.",
13
"location": {
14
"text": "Dampierre en Burly (45)",
15
"lat": 47.7667,
16
"lng": 2.5167
17
}
18
},
19
"sections": [{
20
"name": "profile",
21
"title": "Searched Profile",
22
"description": "Bac+5"
23
},
24
.
25
.
26
.
27
],
28
"skills": [{
29
"name": "python",
30
"value": null
31
},
32
{
33
"name": "spark",
34
"value": 0.9
35
},
36
.
37
.
38
.
39
],
40
"languages": [{
41
"name": "english",
42
"value": 1
43
},
44
{
45
"name": "french",
46
"value": 1
47
},
48
.
49
.
50
.
51
],
52
"tags": [{
53
"name": "archive",
54
"value": true
55
},
56
{
57
"name": "tag example",
58
"value": "tag"
59
},
60
.
61
.
62
.
63
],
64
"ranges_date": [{
65
"name": "Dates",
66
"value_min": "2020-05-18T21:59",
67
"value_max": "2020-09-15T21:59"
68
},
69
.
70
.
71
.
72
],
73
"ranges_float": [{
74
"name": "salary",
75
"value_min": 30,
76
"value_max": 40,
77
"unit": "eur"
78
},
79
.
80
.
81
.
82
],
83
"metadatas": [{
84
"name": "metadata example",
85
"value": "metadata"
86
},
87
.
88
.
89
.
90
],
91
}
Copied!
You can include complementary information such as :
    job's tags,
    job's metadata.
post
https://api.hrflow.ai
/v1/job/indexing
Post /job/indexing
post
https://api.hrflow.ai
/v1/job/indexing
post
https://api.hrflow.ai
/v1/job/indexing
post
https://api.hrflow.ai
/v1/job/indexing
post
https://api.hrflow.ai
/v1/profile/indexing
post
https://api.hrflow.ai
/v1/profile/indexing
Python
Javascript
1
from hrflow import Hrflow
2
3
client = Hrflow(api_secret="Your API Key", api_user="Your API user email")
4
5
job_json = {
6
"name": "Data Engineer",
7
"agent_key": None,
8
"reference": "123",
9
"created_at": "2020-12-24T09:32:11",
10
"url": "https://www.pole-emploi.ai/jobs/data_engineer",
11
"summary": """As an engineer for the Data Engineering Infrastructure team,
12
you will design, build, scale, and evolve our data engineering
13
platform, services and tooling. Your work will have a critical
14
impact on all areas of business: powering core data pipelines,
15
supporting detailed internal analytics, calculating customer
16
usage, securing our platform, and much more.""",
17
"location": {
18
"text": "Dampierre en Burly (45)",
19
"lat": 47.7667,
20
"lng": 2.5167
21
},
22
"sections": [{
23
"name": "profile",
24
"title": "Searched Profile",
25
"description": "Bac+5"
26
}],
27
"skills": [{
28
"name": "python",
29
"value": None},
30
{
31
"name": "spark",
32
"value": 0.9
33
}],
34
"languages": [{
35
"name": "english",
36
"value": 1
37
},
38
{
39
"name": "french",
40
"value": 1
41
}],
42
"tags": [{
43
"name": "archive",
44
"value": True
45
},
46
{
47
"name": "tag example",
48
"value": "tag"
49
}],
50
"ranges_date": [{
51
"name": "Dates",
52
"value_min": "2020-05-18T21:59",
53
"value_max": "2020-09-15T21:59"
54
}],
55
"ranges_float": [{
56
"name": "salary",
57
"value_min": 30,
58
"value_max": 40,
59
"unit": "eur"
60
}],
61
"metadatas": [{
62
"name": "metadata example",
63
"value": "metadata"
64
}],
65
}
66
67
client.job.indexing.add_json(board_key="board_key", job_json=job_json)
Copied!
1
import Hrflow from 'hrflow';
2
const client = new Hrflow({
3
api_secret: "Your API Key",
4
api_user: "Your API user email"
5
});
6
7
client.job.indexing.addJosn("board_key", {
8
"name": "Data Engineer",
9
"agent_key": None, #Scoring engine
10
"reference": "123",
11
"created_at": "2020-12-24T09:32:11",
12
"url": "https://www.pole-emploi.ai/jobs/data_engineer",
13
"summary": "As an engineer for the Data Engineering Infrastructure team,
14
you will design, build, scale, and evolve our data engineering
15
platform, services and tooling. Your work will have a critical
16
impact on all areas of business: powering core data pipelines,
17
supporting detailed internal analytics, calculating customer
18
usage, securing our platform, and much more.",
19
"location": {
20
"text": "Dampierre en Burly (45)",
21
"lat": 47.7667,
22
"lng": 2.5167
23
},
24
"sections": [{
25
"name": "profile",
26
"title": "Searched Profile",
27
"description": "Bac+5"
28
}],
29
"skills": [{
30
"name": "python",
31
"value": null
32
},
33
{
34
"name": "spark",
35
"value": 0.9
36
}],
37
"languages": [{
38
"name": "english",
39
"value": 1
40
},
41
{
42
"name": "french",
43
"value": 1
44
}],
45
"tags": [{
46
"name": "archive",
47
"value": true
48
},
49
{
50
"name": "tag example",
51
"value": "tag"
52
}],
53
"ranges_date": [{
54
"name": "Dates",
55
"value_min": "2020-05-18T21:59",
56
"value_max": "2020-09-15T21:59"
57
}],
58
"ranges_float": [{
59
"name": "salary",
60
"value_min": 30,
61
"value_max": 40,
62
"unit": "eur"
63
}],
64
"metadatas": [{
65
"name": "metadata example",
66
"value": "metadata"
67
}],
68
});
Copied!
Last modified 1mo ago