根据 Success Factors 的 ODATA API 文档,我们可以更新工作申请状态。但是当尝试使用 /upsert API 时,我无法更新状态字段。在此处输入图像描述
问问题
1413 次
1 回答
1
端点(取决于您的数据中心):
https://api12preview.sapsf.eu/odata/v2/upsert?$format=json
类型/标题:
Type: POST
Header:
Content-Type = application/json
Authorization = your Type of Authorization Token (Basic/OAuth)
正文(类型应用程序/json):
{ "__metadata": { "uri": "JobApplication(<YOUR_APPLICATION_ID>)" },
"appStatusSetItemId" : "<targetStatus>"
}
从(默认状态(86)到预筛选状态(90))的示例
{ "__metadata": { "uri": "JobApplication(141)" },
"appStatusSetItemId" : "90"
}
所需权限:
Recruiting Permissions -> OData Application Create (sometime necessary for update!)
Recruiting Permissions -> OData Application Update
更多信息:
1) in the body request you are posting (see above) you also need to provide all
required fields defined in your job application, otherwise update won't work
2) You can see your instance's appStatusSetItemId in "Edit Applicant Status Configuration".
It is the internal status from the pipeline of your applications.
于 2018-09-04T08:09:39.713 回答