仟寻用户中心
所有文章
新手必读
升级公告
系统应用
亮点功能
MoTalk
用户手册
公司介绍
更新职位
最后更新于 2023/09/07   阅读数 120

更新职位

此接口用于更新已存在职位信息.

Headers

Key

Required

Type

Description

token

Yes

string

令牌

Path Parameters

Key

Required

Type

Description

id

Yes

number

职位id

Body Parameters

Key

Required

Type

Description

title

Yes

string

职位标题

publisher

Yes

string

HR在MoATS上的id

cities

Yes

array

工作城市(限10个)

requirement

Yes

string

职位要求

accountabilities

Yes

string

职位描述

candidate_source

No

integer

招聘类型

employment_type

No

integer

工作性质

not_office

No

integer

非Office职位

salary_top

No

integer

薪资上限(k)

salary_bottom

No

integer

薪资下限(k)

experience

No

string

工作经验(年)

language

No

string

外语要求

count

No

integer

招聘人数(0:不限)

ext

No

string

职位扩展字段

address_id

No

array

LBS

team_id

No

integer

团队

job_custom_id

No

string

职位自定义

features

No

array

福利特色

is_referral

No

integer

是否内推(1:是,0:否)

degree

No

integer

学历要求 ( 0:无, 1:大专, 2:本科, 3:硕士, 4:MBA, 5:博士, 6:中专, 7:高中, 8:博士后, 9:初中)

top

No

boolean

置顶标签。true表示置顶,false表示未置顶

coordinator_id

No

string

招聘协助HR id 多个id逗号分割

custom_fields

No

array

职位自定义字段信息

Request

{
    "title":"manager1",
    "requirement":"职位要求",
    "accountabilities":"职位描述",
    "experience":"3",
    "language":"英语",
    "count":1,
    "publisher":"82752",
    "cities":[1,2,3],
    "salary_top":100,
    "salary_bottom":10,
    "candidate_source":0,
    "employment_type":0,
    "not_office":0,
    "process_id":1,
    "ext":"ext3",
    "address_id":[1,2,3],
    "team_id":188365542,
    "job_custom_id":"2",
    "features":[119,145],
    "is_referral":"1",
    "degree":2,
    "top":true,
    "coordinator_id":"1111111,2222222",
    "custom_fields": [
        {
            "config_type": 1,
            "value": "职位自定义字段下的选项"
        },
        {
            "config_type": 2,
            "value": "职位自定义字段二的选项"
        },
        {
            "config_type": 3,
            "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
plaintext

Response

{
    "code": 0,
    "message": "",
    "data": {
        "id": 19551603,
        "job_number": "JOB20200402_5",
        "title": "manager1",
        "team": {
                    "id": 188365533,
                    "name": "万达集团"
                },
        "cities": [
            {
                "code": 320500,
                "name": "苏州",
                "level": 2,
                "hot_city": true,
                "ename": "Suzhou",
                "is_using": true,
                "cities": null
            }
        ],
        "publish_date": "2020-04-02 12:04:21",
        "stop_date": null,
        "accountability": null,
        "experience": "3",
        "experience_above": 0,
        "requirement": "职位要求",
        "language": "英语",
        "update_time": "2020-04-02 13:21:42",
        "business_group": "",
        "employment_type": 0,
        "hr_email": null,
        "degree": 0,
        "degree_above": 0,
        "features": [
            {
                "id": 119,
                "company_id": 39978,
                "name": "班车",
                "create_time": "2018-03-06 21:04:10",
                "update_time": "2019-10-14 17:32:11",
                "status": "有效"
            },
            {
                "id": 145,
                "company_id": 39978,
                "name": "加班补助",
                "create_time": "2018-03-06 21:04:12",
                "update_time": "2019-10-28 15:59:21",
                "status": "有效"
            }
        ],
        "email_notice": 0,
        "candidate_source": 0,
        "occupation": "",
        "is_recom": 1,
        "industry": "",
        "district": "",
        "count": 1,
        "salary_top": 100,
        "salary_bottom": 10,
        "management_experience": 1,
        "gender": 2,
        "publisher": 82752,
        "publisher_name": null,
        "work_address": "",
        "is_hiring": 0,
        "underlings": 0,
        "language_required": 0,
        "target_industry": 0,
        "is_referral": 1,
        "top":true, 
        "coordinator_name": "协助HR姓名1,协助HR姓名2", 
        "coordinator_id":"1111111,2222222",   
        "ext_vo": {
            "job_custom_id": 0,
            "create_time": "1585800261000",
            "update_time": "1585800261000",
            "job_occupation_id": 0,
            "pid": 19551603,
            "extra": null,
            "ext": "ext3"
        },
        "custom_fields": [
            {
                "id": 123,
                "config_type": 1,
                "config_name": "职位自定义字段",
                "value": "职位自定义字段下的选项"
            },
            {
                "id": 124,
                "config_type": 2,
                "config_name": "职能自定义字段",
                "value": "职位自定义字段二的选项"
            },
            {
                "id": 125,
                "config_type": 3,
                "config_name": "职位自定义字段三",
                "value": "职位自定义字段三的选项"
            }
        ],
        "addresses": [
            {
                "id": 1,
                "address_name": "默认1111",
                "company_id": 39978,
                "province": null,
                "city": 320500,
                "region": null,
                "address": "address_t",
                "department_id": 0,
                "department_name": null,
                "longitude": "116.3974510",
                "latitude": "39.9091870",
                "point": null
            }
        ]
    }
}

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
plaintext
本篇目录

更新职位