-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Hi there,
Can you please consider a new enhancement to support "upsert" function import coming from SAP SuccessFactors API?
Metadata:
FunctionImport< Name="upsert" ReturnType="Collection(SFOData.UpsertResult)" EntitySet="UpsertResult" m:HttpMethod="POST" sap:support-payload="true" >/FunctionImport<"
Example payload:
Method: POST https://api2preview.sapsf.eu/odata/v2/upsert
Body: {
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=169736L,formDataId=32107L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"competencySections": [
{
"__metadata": {
"uri": "FormCompetencySection(formContentId=169736L,formDataId=32107L,sectionIndex=1)",
"type": "SFOData.FormCompetencySection"
},
"competencies": [
{
"__metadata": {
"uri": "FormCompetency(formContentId=169736L,formDataId=32107L,itemId=13550L,sectionIndex=1)",
"type": "SFOData.FormCompetency"
},
"officialRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=169736L,formDataId=32107L,itemId=13550L,ratingType='official',sectionIndex=1,userId='admin')",
"type": "SFOData.FormUserRatingComment"
},
"ratingKey": "wf_sect_1__c13550_r",
"rating": "1.0"
}
}
]
}
]
}