SAP Knowledge Base Article - Public

3551773 - [COE0018]Form Data id and form ContendId should be provided - Performance Management Form Entities

Symptom

While trying to query entities from Performance Management you receive error message displaying "COE_GENERAL_BAD_REQUEST - [COE0018]Form Data id and form ContendId should be provided"

Environment

  • SAP SuccessFactors Performance & Goals
    • OData API

Cause

This error arises because a set of entities from Performance Management Form need a set of filter to work. These entities are:

  • Performance Management Form Entities
    • FormHeader
    • FormContent
    • FormPMReviewContentDetail
    • FormCompetency
    • FormCompetencyBehavior
    • FormCompetencySection
    • FormBehaviorRatingComment
    • FormObjective
    • FormObjectiveDetails
    • FormObjectiveSection
    • FormUserRatingComment
    • FormCustomElement
    • FormCustomElementListValue
    • FormCustomSection
    • FormSectionConfiguration
    • FormItemConfiguration
    • FormIntroductionSection
    • FormUserInformationSection
    • FormSummarySection
    • FormSignatureSection
    • FormSignature
    • FormRatingScale
    • FormRatingScaleValue
    • TalentRatings
    • FormPerfPotSummarySection
    • FormObjCompSummarySection
    • FormCustomizedWeightedRatingSection
    • FormAuditTrail
    • FormReviewFeedback
    • FormReviewFeedbackList
  • 360 Reviews Form Entities
    • Form360ReviewContentDetail
    • FormReviewInfoSection
    • FormReviewerInfoSection
    • FormJobDescSection
    • FormJobRole
    • Form360SummaryViewSection
    • Form360SummaryViewCategory
    • Form360SummaryViewRater
    • Form360RaterSection
    • Form360Rater
    • FormRaterListSection
    • FormObjectiveOtherDetails
    • FormObjectiveOtherDetailsItem
    • FormObjectiveOtherDetailsItemCol
    • FormObjectiveOtherDetailsItemValueCell
    • FormObjectiveComment
    • Form360ParticipantCategory
    • Form360ParticipantSection
    • Form360ParticipantDetail
    • Form360ParticipantColumn
    • Form360Participant
    • Form360ParticipantConfig

Resolution

To resolve this issue, the proper filters should be applied to the query.

EXAMPLE 1: FormHeader

  • Required filter: formDataId
  • Sample query: http://<api-server>/odata/v2/FormHeader(272L)?$format=json

EXAMPLE 2: FormContent

  • Required filter: FormContentId and formDataId
  • Sample query: https://<api-server>/odata/v2/FormContent(formContentId=61L,formDataId=151L)?$format=json

EXAMPLE 3: Form360Rater

  • Required filter: FormContentId and formDataId
  • Sample query: https://<API-Server>/odata/v2/Form360Rater(formContentId=14829L,formDataId=7069L)?$format=json

See Also

Keywords

COE_GENERAL_BAD_REQUEST, Form Data id, should be provided, COE0018, performance, 360 review, form, odata, goals , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-PM-API , Webservices, OData APIs , How To

Product

SAP SuccessFactors HCM Suite all versions ; SAP SuccessFactors Performance & Goals all versions