SAP Knowledge Base Article - Public

3208898 - How to upsert an mfield in a Job Requisition with OData API

Symptom

This KBA explains how to upsert an mfield in a Job Requisition with OData API.

Environment

SAP SuccessFactors Recruiting Management

Resolution

Please see sample query format to upsert a Job Requisition using an mfield:

Request URL: https://api12preview.sapsf.eu/odata/v2/upsert

{
    "__metadata":{
        "type":"SFOData.JobRequisition",
        "uri":"JobRequisition(12345L)"
    },
    "isDraft":true,
"mfield1": [
        { "id":"234567" },
        { "id":"456789" }
]
}
 
 
where "12345" is the Job Req ID and the ids "234567" and "456789" are the Options IDs of the picklist values associated to the mfield. 

See Also

JobRequisition

Keywords

mfield, upsert, post, update, post, OData, invalid , KBA , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem

Product

SAP SuccessFactors Recruiting all versions