获取 Offer 信息
GET
/open-apis/hire/v1/applications/{application_id}/offer
自建应用商店应用
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 1002001 | 系统错误 | 请联系研发排查 |
400 | 1002002 | 参数错误 | 检查参数是否正确,例如类型,大小 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.feishu.cn/open-apis/hire/v1/applications/6949805467799537964/offer?user_id_type=open_id&department_id_type=' \
--header 'Authorization;'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"offer": {
"id": "7057802493489285412",
"application_id": "7020661401874614564",
"basic_info": {
"offer_type": 1,
"remark": "10",
"expire_time": 1653383498000,
"owner_user_id": "ou_99be8e24ad1ad390b6cd3b8916940df1",
"creator_user_id": "ou_99be8e24ad1ad390b6cd3b8916940df1",
"employee_type": {
"id": "1",
"zh_name": "正式",
"en_name": "Regular"
},
"create_time": "1628512038000",
"leader_user_id": "ou_99be8e24ad1ad390b6cd3b8916940df1",
"onboard_date": "2021-05-20",
"department_id": "od-6b394871807047c7023ebfc1ff37cd3a",
"probation_month": 1,
"contract_year": 3,
"recruitment_type": {
"id": "1",
"zh_name": "正式",
"en_name": "Regular"
},
"sequence": {
"id": "1",
"zh_name": "正式",
"en_name": "Regular"
},
"level": {
"id": "1",
"zh_name": "正式",
"en_name": "Regular"
},
"onboard_address": {
"id": "6932753007915206919",
"zh_name": "名字",
"en_name": "name",
"district": {
"zh_name": "伦敦",
"en_name": "London",
"code": "400700",
"location_type": 1
},
"city": {
"zh_name": "中文",
"en_name": "eng",
"code": "400700",
"location_type": 1
},
"state": {
"zh_name": "中文",
"en_name": "eng",
"code": "400700",
"location_type": 1
},
"country": {
"zh_name": "中文",
"en_name": "eng",
"code": "400700",
"location_type": 1
}
},
"work_address": {
"id": "6932753007915206919",
"zh_name": "名字",
"en_name": "name",
"district": {
"zh_name": "伦敦",
"en_name": "London",
"code": "400700",
"location_type": 1
},
"city": {
"zh_name": "中文",
"en_name": "eng",
"code": "400700",
"location_type": 1
},
"state": {
"zh_name": "中文",
"en_name": "eng",
"code": "400700",
"location_type": 1
},
"country": {
"zh_name": "中文",
"en_name": "eng",
"code": "400700",
"location_type": 1
}
},
"customize_info_list": [
{
"object_id": "key",
"customize_value": "value"
}
]
},
"salary_plan": {
"currency": "CNY",
"basic_salary": "{amount:10000,period:2}",
"probation_salary_percentage": "10%",
"award_salary_multiple": "12",
"option_shares": "11",
"quarterly_bonus": "11111",
"half_year_bonus": "11111",
"total_annual_cash": "11111",
"customize_info_list": [
{
"object_id": "key",
"customize_value": "value"
}
]
},
"schema_id": "6963562624677398823",
"offer_status": 0,
"job_info": {
"job_id": "7080891505426925854",
"job_name": "xx"
}
}
}
}
请求参数
Path 参数
application_id
string
必需
示例值:
6949805467799537964
Query 参数
user_id_type
string
可选
示例值:
open_id
department_id_type
string
可选
department_id:以 department_id 来标识部门
默认值:open_department_id
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
返回响应
修改于 2023-02-07 06:41:34