批量新增待发Offer
POST
/TenantBaseExternal/api/v5/Offer/BatchCreateToBeSendOffer
2.不适用场景:新增Offer审批、新增其他非待发状态的Offer
错误码示例
"data": null,
"code": "417",
"message": "Datas不能为空,且元素个数必须大于0,小于等于100。"
}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.italent.cn/TenantBaseExternal/api/v5/Offer/BatchCreateToBeSendOffer' \
--header 'Content-Type: application/json' \
--data-raw '{
"datas": [
{
"name": "test709101",
"age": 28.0,
"backupMail": "test709101@qq.com",
"idNumber": "110101199003070572",
"idType": 1,
"mobilePhone": "13240322222",
"offerSource":"2",
"birthday": "1990-03-07T00:00:00",
"birthplace": "北京市东城区",
"registAddress": "1100",
"workDate": "2017-07-01T00:00:00",
"gender": 0,
"oIdDepartment": 4622713,
"poIdEmpAdmin": "101178784",
"poIdEmpReserve2": "101500114",
"employmentSource": "d5c77d41-a8f4-4dae-9bca-d1f4cdb60520",
"entryDate": "2021-07-01T00:00:00",
"oIdJobPosition": "60fd90dd-361d-4d55-9417-c7928d754807",
"oIdJobLevel": "c0218693-f3e2-4c94-a19d-0e271436304e",
"oIdOrganization": 900127666,
"oIdJobSequence": "165",
"place": "2200",
"oIdJobPost": "2030",
"oidJobGrade": "2971cb20-0b4c-402f-bf57-ce545b1543a5",
"oIdProfessionalLine": "99849380-fbd4-41f7-ac01-78e14c0fc4c4",
"probation": 3,
"firstParty": "南森333",
"firstPartyCode": "6ab72d06-8c23-4759-8c80-d53e3c4f8157",
"contactLength": 36,
"terminateDate": "2024-06-30T00:00:00",
"contractDueTimeType": 0,
"basicSalaryBeforeFullTime": "1000",
"basicSalaryAfterFullTime": "1000",
"housingFundRadices": 1000.0,
"socialSecurityRadices": 1000.0,
"customProperties": {
"exttestRich_127666_144276381": "Test"
}
},
{
"name": "test709102",
"age": 28.0,
"backupMail": "test709102@qq.com",
"idNumber": "110101199003070572",
"idType": 1,
"mobilePhone": "13240322222",
"birthday": "1990-03-07T00:00:00",
"birthplace": "北京市东城区",
"offerSource":"2",
"registAddress": "1100",
"workDate": "2017-07-01T00:00:00",
"gender": 0,
"oIdDepartment": 4622713,
"poIdEmpAdmin": "101178784",
"poIdEmpReserve2": "101500114",
"employmentSource": "d5c77d41-a8f4-4dae-9bca-d1f4cdb60520",
"entryDate": "2021-07-01T00:00:00",
"oIdJobPosition": "60fd90dd-361d-4d55-9417-c7928d754807",
"oIdJobLevel": "c0218693-f3e2-4c94-a19d-0e271436304e",
"oIdOrganization": 900127666,
"oIdJobSequence": "165",
"place": "2200",
"oIdJobPost": "2030",
"oidJobGrade": "2971cb20-0b4c-402f-bf57-ce545b1543a5",
"oIdProfessionalLine": "99849380-fbd4-41f7-ac01-78e14c0fc4c4",
"probation": 3,
"firstParty": "南森333",
"firstPartyCode": "6ab72d06-8c23-4759-8c80-d53e3c4f8157",
"contactLength": 36,
"terminateDate": "2024-06-30T00:00:00",
"contractDueTimeType": 0,
"basicSalaryBeforeFullTime": "1000",
"basicSalaryAfterFullTime": "1000",
"housingFundRadices": 1000.0,
"socialSecurityRadices": 1000.0,
"customProperties": {
"exttestRich_127666_144276381": "Test"
}
},
{
"name": "test709103",
"age": 28.0,
"backupMail": "test709103@qq.com",
"idNumber": "110101199003070572",
"idType": 1,
"mobilePhone": "13240322222",
"birthday": "1990-03-07T00:00:00",
"birthplace": "北京市东城区",
"registAddress": "1100",
"offerSource":"2",
"workDate": "2017-07-01T00:00:00",
"gender": 0,
"oIdDepartment": 4622713,
"poIdEmpAdmin": "101178784",
"poIdEmpReserve2": "101500114",
"employmentSource": "d5c77d41-a8f4-4dae-9bca-d1f4cdb60520",
"entryDate": "2021-07-01T00:00:00",
"oIdJobPosition": "60fd90dd-361d-4d55-9417-c7928d754807",
"oIdJobLevel": "c0218693-f3e2-4c94-a19d-0e271436304e",
"oIdOrganization": 900127666,
"oIdJobSequence": "165",
"place": "2200",
"oIdJobPost": "2030",
"oidJobGrade": "2971cb20-0b4c-402f-bf57-ce545b1543a5",
"oIdProfessionalLine": "99849380-fbd4-41f7-ac01-78e14c0fc4c4",
"probation": 3,
"firstParty": "南森333",
"firstPartyCode": "6ab72d06-8c23-4759-8c80-d53e3c4f8157",
"contactLength": 36,
"terminateDate": "2024-06-30T00:00:00",
"contractDueTimeType": 0,
"basicSalaryBeforeFullTime": "1000",
"basicSalaryAfterFullTime": "1000",
"housingFundRadices": 1000.0,
"socialSecurityRadices": 1000.0,
"customProperties": {
"exttestRich_127666_144276381": "Test"
}
}
]
}'
响应示例响应示例
{
"data": {
"totalCount": 0,
"successCount": 0,
"failCount": 0,
"failDatas": [
{
"key": "string",
"errorReason": "string"
}
]
},
"code": "string",
"message": "string"
}
请求参数
Body 参数application/json