SAP Knowledge Base Article - Public

2539023 - Required fields for recordLearning OData web service

Symptom

Required fields when recording learning via recordLearningEvents OData web service.

Environment

SAP SuccessFactors Learning

Resolution

Required fields:

  • componentTypeID
  • componentID
  • studentID
  • completionStatusID
  • completionDate

Sample payload:

{

"@odata.type":"#recordLearningEvents",
"recordLearningEvents" :[ {
"componentTypeID": "VALID_ITEM_TYPE",
"componentID": "VALID_ITEM_ID",
"studentID": "AnyStudentID",
"completionStatusID": "COMPL_STAT",
"completionDate": 1458842820000
}
]
}

Note that the "revisionDate" isn't a required field and when not provided in the call payload, the web service will record learning on the most recent revision of item type (componentTypeID) and itemID (componentID), as consumed in the call.

See Also

2538937 - recordLearningEvents OData - "400 Error: 'componentTypeID' can not be mapped as a property or an annotation"

Keywords

learning, successfactors, odata, web, service, api, recordLearningEvent, how, to , KBA , LOD-SF-LMS-ODA , Web Services OData , LOD-SF-LMS , Learning Management System , How To

Product

SAP SuccessFactors Learning all versions