You are on page 1of 87

10/19/2022

SAP SuccessFactors HXM Suite OData


API: Reference Guide (V2)
Generated on: 2022-10-19 13:37:09 GMT+0000

SAP SuccessFactors Platform | 1H 2022

PUBLIC

Original content: https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/28bc3c8e3f214ab487ec51b1b8709adc?


locale=en-US&state=PRODUCTION&version=2205

Warning

This document has been generated from the SAP Help Portal and is an incomplete version of the official SAP product
documentation. The information included in custom documentation may not re ect the arrangement of topics in the SAP Help
Portal, and may be missing important aspects and/or correlations to other topics. For this reason, it is not for productive use.

For more information, please visit the https://help.sap.com/docs/disclaimer.

This is custom documentation. For more information, please visit the SAP Help Portal 1
10/19/2022

Performance Management Form Entities


Form APIs provide the ability to query and update forms that are created for Performance Management or 360 Reviews.

Context
Form OData APIs enable you to:

Query a list of form templates.

Query a list of user form folders.

Query form details, including the User Info section, Objective section, Competency section, Summary section, and
Signature section in the form.

Normal users can only access the forms in their folders. The users, who have form OData Admin permission, can access all the
forms, even the ones that aren't in their folders. However, update operation is currently not supported.

You can also check a user's target population and make sure they can only access the forms, whose owners are in their target
population.

Permissions
If you have the following form OData admin permissions, you will be allowed to query the form data, but you will not be able to
edit, add, or delete form data. You can only access the folders and forms, whose owner is in your target population.

Permission System Required Settings Note

Role-Based Permissions Manage Documents Admin Access to Admin Access to Forms OData API allows
Forms OData API you to query forms of all users, but this
might be restricted by the speci c form
If you want to fetch the deleted forms,
template permissions.
select Include Deleted forms in Forms
ODATA API.

 Note
This permission works for the
FormHeader API only. If you have the
parent permission, Admin Access to
Forms OData API, but don't have the
Include Deleted forms in Forms ODATA
API permission, you can use the
FormHeader API to query active forms
only. For other APIs, with the parent
permission, you can query both active
and deleted forms.

FormHeader
You can use this entity to get the meta information of a speci c form or a list of forms, for example, form data ID, start date, end
date, and due date.

Permissions
This is custom documentation. For more information, please visit the SAP Help Portal 2
10/19/2022
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query the meta information of a speci c form or a list of forms. FormHeader, that is formDataId, is
required for the query operation.

Properties and Navigation Properties

Property Description

formDataStatus The status of form data. The eld takes one of the following values:

1: The form is in the modify stage.

2: The form is in the rejected state.

3: The form is in the completed stage.

4: The form is deleted by the user or admins.

 Note
To fetch the deleted forms, go to Admin
Center Manage Permission
Roles <Permission> Administrator Permissions and
select Include Deleted forms in Forms ODATA API
under Manage Documents.

5: The form is in the signature stage.

This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the Meta Information of a Form


The following example shows how to query the meta information of a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-server>/odata/v2/FormHeader(272L)?
$format=json

Response

{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormHeader(272L)",

This is custom documentation. For more information, please visit the SAP Help Portal 3
10/19/2022
"type": "SFOData.FormHeader"
},
"formDataId": "272",
"formDataStatus": "1",
"formReviewDueDate": "/Date(1468886399000+0000)/",
"formTemplateId": "849",
"formTemplateType": "Review",
"formReviewStartDate": "/Date(1420070400000+0000)/",
"formOriginator": "TALRAJI",
"formSubjectId": "Testuser3908",
"creationDate": "/Date(1467617058000+0000)/",
"formReviewEndDate": "/Date(1451606399000+0000)/",
"rating": "0",
"isRated": false,
"formLastModifiedDate": "/Date(1467617058000+0000)/",
"formTitle": "1608 for User3908 Test",
"formContents": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(272L)/formContents"
}
},
"formSubject": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(272L)/formSubject"
}
},
"formRouteMap": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(272L)/formRouteMap"
}
}
}

Limitation
If you update the overall form rating to -1971 (Too New to Rate) or -1972 (Unrated) through the FormUserRatingComment
entity, you get the rating as 0 when you query the FormHeader entity.

Related Information
SAP API Business Hub: Forms Management

FormFolder
You can use this entity to query a list of form folders, including inbox, en route, and completed folders.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

This is custom documentation. For more information, please visit the SAP Help Portal 4
10/19/2022

Operation Description

Query Query a list of form folders.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Form Folders


The following example shows how to query a list of form folders in a system.

Request

Operation Query

HTTP Method GET

URI http://<api-server>/odata/v2/FormFolder?
$format=json

Response

{
"results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormFolder(477L)",
"type": "SFOData.FormFolder"
},
"folderId": "477",
"folderName": "\"EMENTESTING\"",
"userId": "hcheng",
"forms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormFolder(477L)/form
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormFolder(27L)",
"type": "SFOData.FormFolder"
},
"folderId": "27",
"folderName": "Completed",
"userId": "hcheng",
"forms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormFolder(27L)/forms
}
}
This is custom documentation. For more information, please visit the SAP Help Portal 5
10/19/2022
},
{
"__metadata": {
"uri": "https://<api-server/odata/v2/FormFolder(26L)",
"type": "SFOData.FormFolder"
},
"folderId": "26",
"folderName": "En Route",
"userId": "hcheng",
"forms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormFolder(26L)/forms
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormFolder(25L)",
"type": "SFOData.FormFolder"
},
"folderId": "25",
"folderName": "To-Do",
"userId": "hcheng",
"forms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormFolder(25L)/forms
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormFolder(383L)",
"type": "SFOData.FormFolder"
},
"folderId": "383",
"folderName": "Folder1",
"userId": "hcheng",
"forms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormFolder(383L)/form
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormFolder(382L)",
"type": "SFOData.FormFolder"
},
"folderId": "382",
"folderName": "gggg1",
"userId": "hcheng",
"forms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormFolder(382L)/form
}

This is custom documentation. For more information, please visit the SAP Help Portal 6
10/19/2022
}
}
]
}

Related Information
SAP API Business Hub: Forms Management

FormContent
You can use this entity to query the form content of Performance Management and 360 Reviews forms, for example, form data
ID, form content ID, last modi ed date, and status.

Permissions
For more information about permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query the form content of a form. FormContentId and formDataId are required for the query
operation.

Properties and Navigation Properties

Property Description

formContentId Form content ID. This is a business key.

formDataId Form data ID. This is a business key.

formSubjectId Form subject ID.

lastModi edDate Last modi ed date and time with timezone information.

status Status of the form content. The status eld takes one of the following values:
-1: Indicates the draft status.

3 (only for 360 Reviews): Indicates that the rater has completed their evaluation rating.

6 (only for 360 Reviews): Indicates that the form is in the evaluation stage.

7 (only for 360 Reviews): Indicates that the process owner can exclude a completed review from the
overall rating calculation.

8 (only for 360 Reviews): Indicates that the participant has declined the review.

9 (only for 360 Reviews): Indicates that the process owner has removed a participant from the
review.

10: Indicates that the form owner has viewed the form in the Inbox.

88 (only for 360 Reviews): A status exclusively for ad hoc forms. It indicates that the form was
declined passively after reaching the due date.

This is custom documentation. For more information, please visit the SAP Help Portal 7
10/19/2022
This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Form Content


The following example shows how to query the form content of a given form.

Request

Operation Query

HTTP Method GET

URI https://<api-
server>/odata/v2/FormContent(formContentId=61L,formDataId=151L)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormContent(formContentId=61L,formDataId=151L)",
"type": "SFOData.FormContent"
},
"formContentId": "61",
"formDataId": "151",
"lastModifiedDate": "/Date(1495746637000+0000)/",
"status": "-1",
"folders": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormContent(formContentId=61L,formDataId=151L
}
},
"formHeader": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormContent(formContentId=61L,formDataId=151L
}
},
"pmReviewContentDetail": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormContent(formContentId=61L,formDataId=151L
}
},
"form360ReviewContentDetail": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormContent(formContentId=61L,formDataId=151L
}
}
}
}

Related Information
This is custom documentation. For more information, please visit the SAP Help Portal 8
10/19/2022
SAP API Business Hub: Continuous Performance Management

FormPMReviewContentDetail
You can use this entity to get the basic information of different sections in Performance Management forms. The data of this
entity comes from form content XML.

Permissions
For more information about permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify a speci c form. FormDataId and formContentId are required for the query operation.

Upsert Update sections in a speci c form. FormDataId and formContentId are required for the upsert operation.
Other than these values, you need key property values and comment/rating key values of entities to be
saved.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query Different Sections of a Form


The following example shows how to query the basic information of different sections in a given form.

Request

Operation Query

HTTP Method GET

URI https://<api-
server>/odata/v2/FormPMReviewContentDetail(formContentId=17617L,formDataId=7182L)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(formContent
"type": "SFOData.FormPMReviewContentDetail"
},
"formContentId": "17617",
"formDataId": "7182",
"summarySection": {
"__deferred": {
This is custom documentation. For more information, please visit the SAP Help Portal 9
10/19/2022
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(for
}
},
"signatureSection": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(for
}
},
"introductionSection": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(for
}
},
"competencySections": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(for
}
},
"objectiveSections": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(for
}
},
"userInformationSection": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormPMReviewContentDetail(for
}
}
}
}

Use Case 2: Update a Competency Rating Comment


The following example shows how to update a competency rating comment in a given form.

Request

Operation Upsert

HTTP POST
Method

URI https://<api-server>/odata/v2/upsert

Payload
 Sample Code
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17549L,formDataId=7182L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"competencySections": [
{
"__metadata": {
"uri": "FormCompetencySection(formContentId=17549L,formDataId=7
"type": "SFOData.FormCompetencySection"

This is custom documentation. For more information, please visit the SAP Help Portal 10
10/19/2022
},
"selfRatingComment": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=17549L,form
"type": "SFOData.FormUserRatingComment"
},
"commentKey": "wf_sect_4_sc_ user1_c",
"comment": "Section comment for role specific competencies by m
}
}
]
}

Response

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=17549,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormTemplate
You can use this entity to query the basic information of form templates, for example, template ID and name.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query the basic information of form


templates.

Properties and Navigation Properties

This is custom documentation. For more information, please visit the SAP Help Portal 11
10/19/2022
This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the Basic Information of Form Templates


The following example shows how to query the basic information of form templates in a system.

Request

Operation Query

HTTP Method GET

URI http://<api-server>/odata/v2/FormTemplate?
$format=json

Response

{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormTemplate(116L)",
"type": "SFOData.FormTemplate"
},
"formTemplateId": "116",
"formTemplateType": "Review",
"formTemplateName": "AYT-6039",
"associatedForms": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormTemplate(116L)/associatedForms"
}
}
}

Related Information
SAP API Business Hub: Forms Management

FormCompetency
You can use this entity to get the basic information of competencies in Performance Management and 360 Reviews forms. The
data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

This is custom documentation. For more information, please visit the SAP Help Portal 12
10/19/2022

Operation Description

Query Query the basic information of competencies in a speci c form.


FormContentId, formDataId, itemId, and sectionIndex are required
for the query operation.

Upsert Update the self item comments, official ratings, and custom
elements of competencies in a speci c form.

 Note
To update item comments in 360 Reviews forms, use
selfRatingComment of FormCompetency. To update item ratings
in 360 Reviews forms, use officialRating of FormCompetency.

Properties and Navigation Properties

Property Description

itemIndex The order of a competency in a form. You can use this property to
set the order of competencies in a form.

This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Basic Information of a Competency


The following example shows how to query the basic information of a competency in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormCompetency(formContentId=17617L,formDataId=7182L,itemId=7L,sectionInde
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=17617L,f
"type": "SFOData.FormCompetency"
},
"sectionIndex": 4,
"formContentId": "17617",
"itemId": "7",
"formDataId": "7182",
"category": null,
"weight": "10.0",
"source": "",

This is custom documentation. For more information, please visit the SAP Help Portal 13
10/19/2022
"description": "Builds customer confidence, is committed to increasing customer sat
"name": "Customer Focus",
"weightKey": "wf_sect_4__c7_w",
"expectedRating": "50.0%",
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=
}
},
"officialRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=
}
},
"itemConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=
}
},
"competencyBehaviors": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=
}
},
"customElement": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=
}
}
}
}

Use Case 2: Update the Official Rating of a Competency


The following example shows how to update the official rating of a given competency.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17534L,formDataId=7176L)",
"type": "SFOData.FormPMReviewContentDetail"
},

This is custom documentation. For more information, please visit the SAP Help Portal 14
10/19/2022
"competencySections": [
{
"__metadata": {
"uri": "FormCompetencySection(formContentId=17534L,formDataId=71
"type": "SFOData.FormCompetencySection"
},
"competencies": [
{
"__metadata": {
"uri": "FormCompetency(formContentId=17534L,form
"type": "SFOData.FormCompetency"
},
"officialRating": {
"__metadata": {
"uri": "FormUserRatingComment(formConten
"type": "SFOData.FormUserRatingComment"
},
"ratingKey": "wf_sect_3__c17_r",
"rating": "4.0"
}
}
]
}
]
}

Response

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=17534,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormCompetencyBehavior
You can use this entity to get the basic information of competency behaviors in Performance Management and 360 Reviews
forms. The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

This is custom documentation. For more information, please visit the SAP Help Portal 15
10/19/2022

Supported Operations

Operation Description

Query Query to identify the basic information of competency behaviors in a speci c form. FormDataId,
formContentId, sectionIndex, itemId, and behaviorId are required for the query operation.

Upsert Update the self item comments, official ratings, and custom elements of competency behaviors in a
speci c form. FormDataId, formContentId, sectionIndex, itemId, and behaviorId are required for the upsert
operation. Other than these values, you need key property values and comment/rating key values of
entities to be saved.

 Note
To update item comments in 360 Reviews forms, use selfRatingComment of FormCompetencyBehavior.
To update item ratings in 360 Reviews forms, use officialRating of FormCompetencyBehavior.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Basic Information of a Competency Behavior


The following example shows how to query the basic information of a competency behavior.

Request

Operation Query

HTTP Method GET

URI http://<api-server>/odata/v2/FormCompetencyBehavior
(formContentId=17536L,formDataId=7178L,sectionIndex=4,itemId=7L,behaviorId=46051)
?$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetencyBehavior(behaviorId=460
"type": "SFOData.FormCompetencyBehavior"
},
"sectionIndex": 4,
"formContentId": "17536",
"behaviorId": "46051",
"itemId": "7",
"formDataId": "7178",
"category": null,
"weight": null,
"description": "",
"behaviorName": "Maintains customer commitments",
"weightKey": null,
"expectedRating": null,

This is custom documentation. For more information, please visit the SAP Help Portal 16
10/19/2022
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencyBehavior(behavi
}
},
"officialRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencyBehavior(behavi
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencyBehavior(behavi
}
}
}
}

Use Case 2: Update a Behavior Rating Comment


The following example shows how to update the rating comment of a competency behavior.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=17536L,formDa
"type": "SFOData.FormCompetency"
},
"competencyBehaviors": {
"results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetencyBeha
"type": "SFOData.FormCompetencyBehavior"
},
"selfRatingComment": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormBehavi
"type": "SFOData.FormBehaviorRatingComment"
},
"commentKey": "wf_sect_4__c7_46051_br",
"comment": "Five Star - Updated from API "
}
}
]
}
}

This is custom documentation. For more information, please visit the SAP Help Portal 17
10/19/2022

Response

{
"d": [
{
"key": " FormCompetency/formContentId=17536,FormCompetency/formDataId=7178,
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormCompetencySection
You can use this entity to get the basic information of competency sections in Performance Management and 360 Reviews
forms. The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify a competency section in a speci c form. FormDataId, formContentId, and sectionIndex
are required for the query operation.

Upsert Update the self item comments, official ratings, and custom elements of competencies in a speci c form.
FormDataId, formContentId, and sectionIndex are required for the upsert operation. Other than these
values, you need key property values and comment/rating key values of entities to be saved.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Basic Information of a Competency Section


The following example shows how to query the basic information of a competency section.

Request

This is custom documentation. For more information, please visit the SAP Help Portal 18
10/19/2022

Operation Query

HTTP Method GET

URI http://<api-server>/odata/v2/
FormCompetencySection(formContentId=17476L,formDataId=7153L,sectionIndex=3)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetencySection(formContentId=1
"type": "SFOData.FormCompetencySection"
},
"sectionIndex": 3,
"formContentId": "17476",
"formDataId": "7153",
"sectionDescription": "",
"sectionWeightKey": "wf_sect_3_sectionWeight",
"sectionWeight": "30.0",
"sectionName": "Competencies",
"sectionConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencySection(formCon
}
},
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencySection(formCon
}
},
"competencies": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencySection(formCon
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCompetencySection(formCon
}
}
}
}

Use Case 2: Update the Rating Comment of a Competency Section


The following example shows how to update the rating comment of a competency section.

Request

Operation Upsert

This is custom documentation. For more information, please visit the SAP Help Portal 19
10/19/2022
HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17549L,formDataId=7182L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"competencySections": [
{
"__metadata": {
"uri": "FormCompetencySection(formContentId=17549L,formDataId=71
"type": "SFOData.FormCompetencySection"
},
"selfRatingComment": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=17549L,formD
"type": "SFOData.FormUserRatingComment"
},
"commentKey": "wf_sect_4_sc_manager1_c",
"comment": "Section comment for role specific competencies by Ma
}
}
]
}

Response

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=17549,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormBehaviorRatingComment
You can use this entity to get and update the ratings and comments of competency behaviors in Performance Management and
360 Reviews forms. The data of this entity comes from form content XML.

Permissions
This is custom documentation. For more information, please visit the SAP Help Portal 20
10/19/2022
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify a speci c user’s rating and comment of a competency behavior. FormDataId,
formContentId, sectionIndex, itemId, userId, ratingType, and behaviorId are required for the query
operation.

Upsert Update a speci c user’s rating and comment of a competency behavior.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Self Rating and Comment of a Competency Behavior
The following example shows how to query a speci c user's self rating and comment of a competency behavior.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormBehaviorRatingComment(formContentId=17536L,formDataId=7178L,behaviorId
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormBehaviorRatingComment(behaviorId=
"type": "SFOData.FormBehaviorRatingComment"
},
"sectionIndex": 4,
"formContentId": "17536",
"userId": "user1",
"ratingType": "na",
"behaviorId": "46051",
"itemId": "7",
"formDataId": "7178",
"ratingPermission": "write",
"commentLabel": "Subjects Comments",
"lastName": "User LN",
"commentKey": "wf_sect_4__c46051_cmt_user1_c",
"textRating": "4.0 - 4",
"ratingKey": "wf_sect_4__c46051_cmt_user1_",

This is custom documentation. For more information, please visit the SAP Help Portal 21
10/19/2022
"ratingLabel": "Rating",
"rating": "4.0",
"fullName": "User Name",
"commentPermission": "write",
"firstName": "User FN",
"comment": "Five Star - Updated from API Testing"
}
}

Use Case 2: Update the Rating Comment of a Competency Behavior


The following example shows how to update a speci c user's rating comment of a competency behavior.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetency(formContentId=17536L,formDa
"type": "SFOData.FormCompetency"
},
"competencyBehaviors": {
"results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCompetencyBeha
"type": "SFOData.FormCompetencyBehavior"
},
"selfRatingComment": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormBehavi
"type": "SFOData.FormBehaviorRatingComment"
},
"commentKey": "wf_sect_4__c7_46051_br",
"comment": "Five Star - Updated from API "
}
}
]
}
}

Response

{
"d": [
{
"key": " FormCompetency/formContentId=17536,FormCompetency/formDataId=7178,
"status": "OK",
"editStatus": "UPDATED",
"message": null,

This is custom documentation. For more information, please visit the SAP Help Portal 22
10/19/2022
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormObjective
You can use this entity to get and update the basic information of objectives in Performance Management forms. The data of
this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query the basic information of objectives in a speci c form.


FormContentId, FormDataId, sectionIndex, and itemId are required
for the query operation.

Upsert Update the self rating comment, official rating, and custom element
of objectives in a speci c form.

Properties and Navigation Properties

Navigation Property Related Entity Description

comments FormObjectiveComment Navigation to the FormObjectiveComment


entity

customElement FormCustomElement Navigation to the FormCustomElement


entity

itemCon guration FormItemCon guration Navigation to the FormItemCon guration


entity

objectiveDetails FormObjectiveDetails Navigation to the FormObjectiveDetails


entity

officialRating FormUserRatingComment Navigation to the FormUserRatingComment


entity

otherDetails FormObjectiveOtherDetails Navigation to the


FormObjectiveOtherDetails entity

othersRatingComment FormUserRatingComment Navigation to the FormUserRatingComment


entity

This is custom documentation. For more information, please visit the SAP Help Portal 23
10/19/2022

Navigation Property Related Entity Description

selfRatingComment FormUserRatingComment Navigation to the FormUserRatingComment


entity

metricLookupTables FormObjectiveDetails Currently, this navigation property is not


supported.

milestones FormObjectiveDetails Currently, this navigation property is not


supported.

targets FormObjectiveDetails Currently, this navigation property is not


supported.

tasks FormObjectiveDetails Currently, this navigation property is not


supported.

This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Basic Information of an Objective


The following example shows how to query the basic information of an objective in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,itemId=4930L,sectionIn
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,fo
"type": "SFOData.FormObjective"
},
"sectionIndex": 2,
"formContentId": "17476",
"itemId": "4930",
"formDataId": "7153",
"weight": null,
"done": "0.0",
"state": null,
"stateColor": null,
"category": "Customer",
"metric": "dsd",
"name": "d",
"weightKey": null,
"officialRating": {
This is custom documentation. For more information, please visit the SAP Help Portal 24
10/19/2022
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"tasks": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"itemConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"objectiveDetails": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"customElement": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"milestones": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"targets": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
},
"metricLookupTables": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=1
}
}
}
}

Use Case 2: Update the Self Rating and Comment of an Objective

This is custom documentation. For more information, please visit the SAP Help Portal 25
10/19/2022
The following example shows how to update the self rating and comment of an objective in a given form.

Request

Operation Upsert

HTTP POST
Method

URI https://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17534L,formDataId=7176L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"objectiveSections": [
{
"__metadata": {
"uri": "FormObjectiveSection(formContentId=17534L,formDataId=717
"type": "SFOData.FormObjectiveSection"
},
"objectives": [
{
"__metadata": {
"uri": "FormObjective(formContentId=17534L,formD
"type": "SFOData.FormObjective"
},
"selfRatingComment": {
"__metadata": {
"uri": "FormUserRatingComment(formConten
"type": "SFOData.FormUserRatingComment"
},
"ratingKey": "wf_sect_2_o_0_cmt_manager1_",
"rating": "4.0",
"commentKey": "wf_sect_2_o_0_cmt_manager1_c",
"comment": "TGM goal Manager comment"
}
}
]
}
]
}

Response

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=17534,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}

This is custom documentation. For more information, please visit the SAP Help Portal 26
10/19/2022
]
}

Use Case 3: Retrieve Objective Details from FormObjective


The following example shows how to retrieve the detailed information of an objective from FormObjective.

Request

Operation Query

HTTP GET
Method

URI https://<api-
server>/odata/v2/FormObjective(formContentId=728L,formDataId=955L,sectionIndex=2,itemId=502
$expand=objectiveDetails

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,ite
"type": "SFOData.FormObjective"
},
"sectionIndex": 2,
"formContentId": "17476",
"itemId": "4930",
"formDataId": "7153",
"weight": null,
"done": "0.0",
"state": null,
"stateColor": null,
"category": "Customer",
"metric": "dsd",
"name": "d",
"weightKey": null,
"officialRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,i
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,i
}
},
"itemConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,i
}
},
"objectiveDetails": {

This is custom documentation. For more information, please visit the SAP Help Portal 27
10/19/2022
"results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "name",
"value": "d"
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "metric",
"value": "dsd"
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "state",
"value": "Not Started"
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "start",
"value": "01/01/2010"
},
{
"__metadata": {

This is custom documentation. For more information, please visit the SAP Help Portal 28
10/19/2022
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "due",
"value": "12/31/2010"
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"id": "done",
"value": "0.0%"
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "weight",
"value": "0.000"
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "actual-achievement",
"value": ""
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=17476L,formDat
"type": "SFOData.FormObjectiveDetails"
},

This is custom documentation. For more information, please visit the SAP Help Portal 29
10/19/2022
"sectionIndex": 2,
"formContentId": "17476",
"type": 0,
"itemId": "4930",
"formDataId": "7153",
"fieldId": "rating",
"value": ".00"
}
]
},
"customElement": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,i
}
},
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjective(formContentId=17476L,formDataId=7153L,i
}
}
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormObjectiveDetails
You can use this entity to query the detailed information of objectives in Performance Management forms. The data of this
entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify the detailed information of a speci c objective in a speci c form. FormDataId,
formContentId, sectionIndex, itemId, and type are required for the query operation.

 Note
Currently, type=1/2/3/4 is not supported.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

This is custom documentation. For more information, please visit the SAP Help Portal 30
10/19/2022

Use Case: Query the Detailed Information of an Objective


The following example shows how to query the detailed information of a speci c objective in a given form.

Request

Operation Query

HTTP GET
Method

URI https://<api-
server>/odata/v2/FormObjectiveDetails(formContentId=18442L,formDataId=10520L,itemId=4524L,s
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveDetails(formContentId=18442L,formDataId=10
"type": "SFOData.FormObjectiveDetails"
},
"sectionIndex": 3,
"formContentId": "18442",
"type": 0,
"itemId": "4524",
"formDataId": "10520",
"value": "Персональная цель",
"label": "Категория",
"fieldId": "TargetTeamOrPrivate",
"fieldDataType": "enum"
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormObjectiveSection
You can use this entity to get the basic information of goal sections in Performance Management and 360 Reviews forms. The
data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations
Query

This is custom documentation. For more information, please visit the SAP Help Portal 31
10/19/2022

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Basic Information of a Goal Section


Request

Operation Query

HTTP GET
Method

URI https://<api-
server>/odata/v2/FormObjectiveSection(formContentId=36440L,formDataId=32000L,sectionIndex=2
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormObjectiveSection(formContentId=36440L,formDat
"type": "SFOData.FormObjectiveSection"
},
"sectionIndex": 2,
"formContentId": "36440",
"formDataId": "32000",
"sectionName": "Goals",
"sectionDescription": "\nThis section is for evaluating accomplishments of goals. \n<br /><
"sectionWeightKey": "wf_sect_2_sectweight",
"objPlanId": "10",
"objPlanType": "Business",
"sectionWeight": "50.0",
"sectionConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjectiveSection(formContentId=36440L,for
}
},
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjectiveSection(formContentId=36440L,for
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjectiveSection(formContentId=36440L,for
}
},
"objectives": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormObjectiveSection(formContentId=36440L,for
}
This is custom documentation. For more information, please visit the SAP Help Portal 32
10/19/2022
}
}
}

FormUserRatingComment
You can use this entity to get and update the ratings and comments of the objective, competency, custom, signature, and
summary sections in Performance Management forms. The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify a speci c user’s rating and comment in a speci c form. FormDataId, formContentId,
sectionIndex, itemId, userId, and ratingType are required for the query operation.

Upsert Update a speci c user’s rating and comment.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Rating and Comment of a Competency


The following example shows how to query a user's rating and comment of a competency in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormUserRatingComment(formContentId=17617L,formDataId=7182L,itemId=7L,rati
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormUserRatingComment(formContentId=1
"type": "SFOData.FormUserRatingComment"
},
"sectionIndex": 4,

This is custom documentation. For more information, please visit the SAP Help Portal 33
10/19/2022
"formContentId": "17617",
"userId": "user1",
"ratingType": "na",
"itemId": "7",
"formDataId": "7182",
"ratingPermission": "write",
"commentLabel": "Managers Comments",
"lastName": "LN",
"commentKey": "wf_sect_4__c7_cmt_user1_c",
"textRating": "Select a rating...",
"ratingKey": "wf_sect_4__c7_cmt_user1_",
"ratingLabel": "Self Rating",
"rating": "-1972.0",
"fullName": "User 1",
"commentPermission": "write",
"firstName": "FN",
"comment": ""
}
}

Use Case 2: Update the Rating and Comment of an Objective


The following example shows how to update a user's rating and comment of an objective in a given form.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=31902L,formDataId=28701L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"objectiveSections": [
{
"__metadata": {
"uri": "FormObjectiveSection(formContentId=31902L,formDataId=287
"type": "SFOData.FormObjectiveSection"
},
"objectives": [
{
"__metadata": {
"uri": "FormObjective(formContentId=31902L,formD
"type": "SFOData.FormObjective"
},
"selfRatingComment": {
"__metadata": {
"uri": "FormUserRatingComment(formConten
"type": "SFOData.FormUserRatingComment"
},
"ratingKey": "wf_sect_1_o_2_r",
"rating": "1.0",

This is custom documentation. For more information, please visit the SAP Help Portal 34
10/19/2022
"commentKey": "wf_sect_3_o_1_cmt_manager1_c",
"comment": "obj 601 added by api wf_sect_3_o_1_c
}
}
]
}
]
}

Response

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=31902,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormCustomElement
You can use this entity to get and update the basic information of custom elements added to objectives and competencies in
Performance Management forms. The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify a custom element in a speci c form. FormDataId, formContentId, sectionIndex, itemId,
and elementKey are required for the query operation.

Upsert Update the custom element value in a speci c form. FormDataId, formContentId, sectionIndex, itemId, and
elementKey are required for the upsert operation. Other than these values, you need key property values
and key values of entities to be saved.

Properties and Navigation Properties

This is custom documentation. For more information, please visit the SAP Help Portal 35
10/19/2022
This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Basic Information of a Custom Element


The following example shows how to query the basic information of a custom element in a given form section.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormCustomElement(formContentId=17628L,formDataId=7176L,itemId=14L,section
$format=json

Response

 Sample Code

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCustomElement(elementKey='ele_0
"type": "SFOData.FormCustomElement"
},
"sectionIndex": 3,
"elementKey": "ele_0",
"formContentId": "17628",
"itemId": "14",
"formDataId": "7176",
"valueKey": "wf_sect_3__c14_ele_00",
"name": "CE3 List",
"minimumValue": "0.0",
"value": "T3",
"writingAssistant": true,
"type": "LIST",
"required": false,
"textMaximumLength": -1,
"checked": false,
"editable": true,
"maximumValue": "0.0",
"elementListValues": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomElement(elementKe
}
}
}
}

This is custom documentation. For more information, please visit the SAP Help Portal 36
10/19/2022

Use Case 2: Update the Custom Element Value of a Competency


The following example shows how to update the custom element value of a given competency.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17628L,formDataId=7176L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"competencySections": [
{
"__metadata": {
"uri": "FormCompetencySection(formContentId=17628L,formDataId=71
"type": "SFOData.FormCompetencySection"
},
"competencies": [
{
"__metadata": {
"uri": "FormCompetency(formContentId=17628L,form
"type": "SFOData.FormCompetency"
},
"customElement": [
{
"__metadata": {
"uri": "FormCustomElement(formCo
"type": "SFOData.FormCustomEleme
},
"valueKey": "wf_sect_3__c12_ele_00",
"value": "T3"
},
{
"__metadata": {
"uri": "FormCustomElement(formCo
"type": "SFOData.FormCustomEleme
},
"valueKey": "wf_sect_3__c12_ele_11",
"value": "My text elm value"
}
]
}
]
}
]
}

Response

{
"d": [
{

This is custom documentation. For more information, please visit the SAP Help Portal 37
10/19/2022
"key": "FormPMReviewContentDetail/formContentId=17628,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormCustomElementListValue
You can use this entity to get the basic information of custom list elements added to competencies and objectives. The data of
this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify a custom list element in a speci c form. FormDataId, formContentId, sectionIndex,
itemId, name, and elementKey are required for the query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the Basic Information of a Custom List Element


The following example shows how to query the basic information of a custom list element in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormCustomElementListValue(elementKey='ele_0',formContentId=17628L,formDat
$format=json

This is custom documentation. For more information, please visit the SAP Help Portal 38
10/19/2022

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCustomElementListValue(elementKey
"type": "SFOData.FormCustomElementListValue"
},
"sectionIndex": 3,
"elementKey": "ele_0",
"formContentId": "17628",
"name": "",
"itemId": "14",
"formDataId": "7176",
"selected": false,
"value": "T1",
"listIndex": -1
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormCustomSection
You can use this entity to get the basic information of custom sections in Performance Management forms. The data of this
entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations
Query, Upsert

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Basic Information of a Custom Section


Request

Operation Query

HTTP GET
Method

This is custom documentation. For more information, please visit the SAP Help Portal 39
10/19/2022

URI https://<api-
server>/odata/v2/FormCustomSection(formContentId=36461L,formDataId=32050L,sectionIndex=6)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDataId
"type": "SFOData.FormCustomSection"
},
"sectionIndex": 6,
"formContentId": "36461",
"formDataId": "32050",
"sectionName": "Custom",
"sectionDescription": "",
"sectionConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDa
}
},
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDa
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDa
}
},
"customElement": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDa
}
}
}
}

Use Case: Update Comments of a Custom Section


Request

Operation Upsert

HTTP POST
Method

URI https://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDataId=

This is custom documentation. For more information, please visit the SAP Help Portal 40
10/19/2022
"type": "SFOData.FormCustomSection"
},
"sectionConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDat
},
"selfRatingComment": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormUserRatingComment(formContentId=36461L,for
"type": "SFOData.FormUserRatingComment"},
"commentKey": "wf_sect_6_sc_sfadmin_c",
"comment": "Section comments"
},
"othersRatingComment": {
"results": []
},
"customElement": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomSection(formContentId=36461L,formDataId=
}
}

Response

<d:key>FormCustomSection/formContentId=36461,FormCustomSection/formDataId=32050,FormCustomSection/s
<d:status>OK</d:status>
<d:editStatus m:null="true"></d:editStatus>
<d:message></d:message>
<d:index m:type="Edm.Int32">0</d:index>
<d:httpCode m:type="Edm.Int32">200</d:httpCode>
<d:inlineResults m:type="Bag(SFOData.UpsertResult)"></d:inlineResults>

FormSectionCon guration
You can use this entity to get the con guration details of the objective, competency, custom, and summary sections in
Performance Management forms. The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify section con guration in a speci c form. FormDataId, formContentId, and sectionIndex are
required for the query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

This is custom documentation. For more information, please visit the SAP Help Portal 41
10/19/2022

Use Case: Query Section Con guration


The following example shows how to query the con guration details of a section in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormSectionConfiguration(formContentId=17617L,formDataId=7182L,sectionInde
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormSectionConfiguration(formContentId=17617L,for
"type": "SFOData.FormSectionConfiguration"
},
"sectionIndex": 4,
"formContentId": "17617",
"formDataId": "7182",
"sectionWeightPermission": "write",
"sectionCommentRequired": false,
"hasItemComment": true,
"addItem": false,
"ratingOption": 2,
"weightTotal": "-1.0",
"enforceRTECharacterLimit": false,
"enforcePlainTextCharacterLimit": false,
"rateByBehavior": false,
"hasSectionComment": true,
"behaviorModeOption": 0,
"ezRaterEnabled": true
"ezRaterExpandAll": false
"formRatingScale": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSectionConfiguration(formContentId=17617L
}
},
"formBehaviorRatingScale": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSectionConfiguration(formContentId=17617L
}
}
}
}

Related Information

This is custom documentation. For more information, please visit the SAP Help Portal 42
10/19/2022
SAP API Business Hub: Continuous Performance Management

FormItemCon guration
You can use this entity to get the con guration details of objective and competency items in Performance Management forms.
The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify item con guration in a speci c form. FormDataId, formContentId, sectionIndex, and
itemId are required for the query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Item Con guration


The following example shows how to query the con guration details of an item in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormItemConfiguration(formContentId=17546L,formDataId=7181L,sectionIndex=5
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormItemConfiguration(formContentId=1
"type": "SFOData.FormItemConfiguration"
},
"sectionIndex": 5,
"formContentId": "17546",
"itemId": "43",
"formDataId": "7181",
"suppressItemComments": false,

This is custom documentation. For more information, please visit the SAP Help Portal 43
10/19/2022
"suppressItemCommentsLabel": false,
"itemWeightRequired": false,
"itemRatingRequired": false,
"itemEditable": false,
"behaviorRemovable": false,
"itemCommentRequired": false,
"itemWeightPermission": "none",
"itemRemovable": false
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormIntroductionSection
You can use this entity to get the basic information of the introduction section in Performance Management forms. The data of
this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query the basic information of the introduction section in a speci c form. FormDataId and formContentId
are required for the query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the Basic Information of the Introduction Section


The following example shows how to query the basic information of the introduction section in in a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormIntroductionSection(formContentId=17639L,formDataId=7221L)?
$format=json

Response
This is custom documentation. For more information, please visit the SAP Help Portal 44
10/19/2022

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormIntroductionSection(formContentId
"type": "SFOData.FormIntroductionSection"
},
"formContentId": "17639",
"formDataId": "7221",
"sectionDescription": "This is form introduction details.",
"sectionIndex": 0,
"sectionName": "Introduction"
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormUserInformationSection
You can use this entity to get the form subject information in the user information section in Performance Management forms.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query the user information section of a speci c form. FormDataID and formContentID are required for the
query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the User Information Section


The following example shows how to query the user information section in a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormUserInformationSection(formContentId=17476L,formDataId=7153L)?
$format=json
This is custom documentation. For more information, please visit the SAP Help Portal 45
10/19/2022

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormUserInformationSection(formConten
"type": "SFOData.FormUserInformationSection"
},
"formContentId": "17476",
"formDataId": "7153",
"section Description ": "",
"sectionIndex": 0,
"sectionName": "Employee Information",
"userInformationElements": {
"__deferred": {
"uri": "https:// <api-server>/odata/v2/FormUserInformationSection(f
}
}
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormSummarySection
You can use this entity to get and update the basic information of the summary section in Performance Management forms. The
data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify the summary section in a speci c form. FormDataId and formContentId are required for
the query operation.

Upsert Update the summary section in a speci c form. FormDataId, formContentId, sectionIndex, itemId,
ratingType, and userId are required for the upsert operation. Other than these values, you need key
property values and comment/rating key values of entities to be saved.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

This is custom documentation. For more information, please visit the SAP Help Portal 46
10/19/2022

Use Case 1: Query the Basic Information of the Summary Section


The following example shows how to query the basic information of the summary section in a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormSummarySection(formContentId=17628L,formDataId=7176L)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formContentId=1762
"type": "SFOData.FormSummarySection"
},
"formContentId": "17628",
"formDataId": "7176",
"sectionDescription": "",
"sectionIndex": 4,
"sectionName": "Performance Summary",
"overallAdjustedRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formConten
}
},
"sectionConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formConten
}
},
"selfRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formConten
}
},
"calculatedFormRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formConten
}
},
"overallFormRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formConten
}
},
"othersRatingComment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSummarySection(formConten

This is custom documentation. For more information, please visit the SAP Help Portal 47
10/19/2022
}
}
}
}

Use Case 2: Update Overall Form Rating


The following example shows how to update the overall form rating in the summary section.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17628L,formDataId=7176L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"summarySection": {
"__metadata": {
"uri": "FormSummarySection(formContentId=17628L,formDataId=7176L)",
"type": "SFOData.FormSummarySection"
},
"overallFormRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=17628L,formDataId=71
"type": "SFOData.FormUserRatingComment"
},
"ratingKey": "wf_sect_4_rating",
"rating": "4.0"
}
}
}

Response

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=17628,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

This is custom documentation. For more information, please visit the SAP Help Portal 48
10/19/2022

Related Information
SAP API Business Hub: Continuous Performance Management

FormSignatureSection
You can use this entity to get and update the basic information of the signature section in Performance Management forms.
The data of this entity comes from form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify the signature section in a speci c form. FormDataId, formContentId, and sectionIndex are
required for the query operation.

Upsert Update the signature section. FormDataId, formContentId, sectionIndex, stepId, itemId, ratingType, and
userId are required for the upsert operation. Other than these values, you need key property values and
comment/rating key values of entities to be saved.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Basic Information of the Signature Section


The following example shows how to query the basic information of the signature section in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormSignatureSection(formContentId=17629L,formDataId=7181L,sectionIndex=9)
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormSignatureSection(formContentId=17
"type": "SFOData.FormSignatureSection"
},

This is custom documentation. For more information, please visit the SAP Help Portal 49
10/19/2022
"sectionIndex": 9,
"formContentId": "17629",
"formDataId": "7181",
"sectionDescription": "Employee signature does not imply agreement or disagreement,
"sectionName": "Signatures",
"signatures": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSignatureSection(formCont
}
}
}
}

Use Case 2: Update Section Comments


The following example shows how to update the section comments in the signature section.

Request

Operation Upsert

HTTP POST
Method

URI http://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPMReviewContentDetail(formContentId=17629L,formDataId=7181L)",
"type": "SFOData.FormPMReviewContentDetail"
},
"signatureSection": {
"__metadata": {
"uri": "FormSignatureSection(formContentId=17629L,formDataId=7181L,secti
"type": "SFOData.FormSignatureSection"
},
"signatures": [
{
"__metadata": {
"uri": "FormSignature(formContentId=17629L,formDataId=71
"type": "SFOData.FormSignature"
},
"comment": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=1762
"type": "SFOData.FormUserRatingComment"
},
"commentKey": "wf_sect_9_sc_user1_c",
"comment": "Signature comment by user1-updated"
}
}
]
}
}

Response

This is custom documentation. For more information, please visit the SAP Help Portal 50
10/19/2022

{
"d": [
{
"key": "FormPMReviewContentDetail/formContentId=17629,FormPMReviewContentDe
"status": "OK",
"editStatus": "UPDATED",
"message": null,
"index": "0",
"httpCode": "200",
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormSignature
You can use this entity to get signature information in Performance Management forms. The data of this entity comes from
form content XML.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify signature information in a speci c form. FormDataId, formContentId, sectionIndex, and
stepId are required for the query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Signature Information


The following example shows how to query signature information in a given form.

Request

Operation Query

HTTP GET
Method

This is custom documentation. For more information, please visit the SAP Help Portal 51
10/19/2022
URI http://<api-
server>/odata/v2/FormSignature(formContentId=17629L,formDataId=7181L,sectionIndex=9,stepId=
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormSignature(formContentId=17629L,fo
"type": "SFOData.FormSignature"
},
"sectionIndex": 9,
"formContentId": "17629",
"stepId": "154992821696258",
"formDataId": "7181",
"signedBy": "User1",
"status": "current",
"signedDate": null,
"roleType": "Employee:",
"actionInformation": null,
"stepOrder": 0,
"comment": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormSignature(formContentId=1
}
}
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormRatingScale
You can use this entity to get the basic information of the rating scales associated with the competency, objective, and
summary section in Performance Management forms.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to get the rating scale associated with the competency, objective, or summary section in a speci c
form. FormDataId, formContentId, and sectionIndex are required for the query operation.

Properties and Navigation Properties


This is custom documentation. For more information, please visit the SAP Help Portal 52
10/19/2022
This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the Basic Information of a Rating Scale


The following example shows how to query the rating scale that is associated with the competency, objective, or summary
section in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormRatingScale(formContentId=17628L,formDataId=7176L,sectionIndex=2)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormRatingScale(formContentId=17628L,
"type": "SFOData.FormRatingScale"
},
"sectionIndex": 2,
"formContentId": "17628",
"formDataId": "7176",
"showValue": true,
"scaleId": "2005b",
"scaleType": "STAR",
"name": "2005b",
"reverseScale": false,
"ratingScaleList": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormRatingScale(formContentId
}
}
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormRatingScaleValue
You can use this entity to get the basic information of the rating scale values associated with the competency, objective, and
summary section in Performance Management forms.

This is custom documentation. For more information, please visit the SAP Help Portal 53
10/19/2022

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to identify the rating scale value associated with the competency, objective, or summary section in a
speci c form. FormDataId, formContentId, sectionIndex, scaleId, and value are required for the query
operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query the Basic Information of a Rating Scale Value


The following example shows how to query the rating scale value that is associated with the competency, objective, or summary
section in a given form.

Request

Operation Query

HTTP GET
Method

URI http://<api-
server>/odata/v2/FormRatingScaleValue(formContentId=17628L,formDataId=7176L,scaleId='2005b'
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormRatingScaleValue(formContentId=17
"type": "SFOData.FormRatingScaleValue"
},
"sectionIndex": 2,
"scaleId": "2005b",
"formContentId": "17628",
"value": "2.0",
"formDataId": "7176",
"description": "Needs Development",
"longDescription": null
}
}

Related Information
This is custom documentation. For more information, please visit the SAP Help Portal 54
10/19/2022
SAP API Business Hub: Continuous Performance Management

TalentRatings
You can use this entity to get feedback details in Performance Management forms, for example, form data ID, feedback type,
rating value, and rating label.

Permissions
If you have OData API access permission, you can access this entity based on the following two permissions:

If you want to access this entity directly, make sure that you have the permission of Admin Access to Talent Rating OData
API.

If you want to expand this entity as a navigation property from parent entities, make sure that you also have permission
to the parent entities.

API Permissions

Permission System Required Settings

Role based
In Manage Documents , select Admin Access to Talent
Rating OData API.

In Manage Calibration , select OData API Calibration


Export.

Supported Operations

Operation Description

Query Query feedback details in a speci c form.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Query Form Feedback Details


The following example shows how to query feedback details in a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-server>/odata/v2/TalentRatings?
$format=json&$filter=formDataId eq
1459L&$orderBy=formContentId desc

This is custom documentation. For more information, please visit the SAP Help Portal 55
10/19/2022

Response

{
results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/TalentRatings(34913L)",
"type": "SFOData.TalentRatings"
},
"feedbackId": "34913",
"feedbackModule": 1,
"feedbackSource": 1,
"feedbackRatingLabel": "Satisfactory with Commendation",
"formContentId": "3490",
"feedbackScaleMinimum": "1",
"feedbackType": 2,
"employeeId": "user1",
"feedbackScaleMaximum": "5",
"feedbackRating": "4",
"feedbackName": "Increase Referencability of Customer in my Territory",
"formDataId": "1459",
"feedbackWeight": "20",
"employeeUser": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/employeeUser"
}
},
"calSession": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/calSession"
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/TalentRatings(34912L)",
"type": "SFOData.TalentRatings"
},
"feedbackId": "34912",
"feedbackModule": 1,
"feedbackSource": 1,
"feedbackRatingLabel": null,
"formContentId": "3490",
"feedbackScaleMinimum": "3",
"feedbackType": 11,
"employeeId": "user11",
"feedbackScaleMaximum": "-1972",
"feedbackRating": "-1972",
"feedbackName": "Individual Goals",
"formDataId": "1459",
"feedbackWeight": "50",
"employeeUser": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/employeeUser"

This is custom documentation. For more information, please visit the SAP Help Portal 56
10/19/2022
}
},
"calSession": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/calSession"
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/TalentRatings(34911L)",
"type": "SFOData.TalentRatings"
},
"feedbackId": "34911",
"feedbackModule": 1,
"feedbackSource": 1,
"feedbackRatingLabel": "Meets Expectations",
"formContentId": "3490",
"feedbackScaleMinimum": "1",
"feedbackType": 1,
"employeeId": "user1",
"feedbackScaleMaximum": "5",
"feedbackRating": "3",
"feedbackName": "Listening Skills",
"formDataId": "1459",
"feedbackWeight" : "15",
"employeeUser": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/employeeUser"
}
},
"calSession": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/calSession"
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/TalentRatings(34910L)",
"type": "SFOData.TalentRatings"
},
"feedbackId": "34910",
"feedbackModule": 1,
"feedbackSource": 1,
"feedbackRatingLabel": "Satisfactory with Commendation",
"formContentId": "3490",
"feedbackScaleMinimum": "1",
"feedbackType": 1,
"employeeId": "user1",
"feedbackScaleMaximum": "5",
"feedbackRating": "4",
"feedbackName": "Leadership",
"formDataId": "1459",
"feedbackWeight": "15",

This is custom documentation. For more information, please visit the SAP Help Portal 57
10/19/2022
"employeeUser": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/employeeUser"
}
},
"calSession": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/calSession"
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/TalentRatings(34929L)",
"type" : "SFOData.TalentRatings"
},
"feedbackId": "34929",
"feedbackModule": 1,
"feedbackSource": 1,
"feedbackRatingLabel": "Meets Expectations",
"formContentId": "3490",
"feedbackScaleMinimum": "1",
"feedbackType": 8,
"employeeId": "user1",
"feedbackScaleMaximum": "5",
"feedbackRating": "3",
"feedbackName": null,
"formDataId": "1459",
"feedbackWeight": "-1972",
"employeeUser": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/employeeUser"
}
},
"calSession": {
"__deferred":{
"uri": https://<api-server>/odata/v2/TalentRatings(34913L)/calSession"
}
}
}
]
}

Related Information
SAP API Business Hub: Calibration
Retrieving Metadata

FormPerfPotSummarySection
You can use this entity to get the Performance Potential Summary Section details from the Performance Management form.
You can also update the overall Performance and Potential rating and section comments in the form.

This is custom documentation. For more information, please visit the SAP Help Portal 58
10/19/2022

Permissions

Permission System Required Settings

Role based Manage Documents Admin Access to Forms OData API

User based None

Supported Operations

Operation Description

Query Query the Performance Potential Summary Section details of a


given form

Upsert Update the overall Performance and Potential rating and section
comments of a given form

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Navigation Properties

Navigation Property Related Entity Description

performanceRating FormUserRatingComment Represents the overall Performance rating


in the Performance Potential Summary
Section

potentialRating FormUserRatingComment Represents the overall Potential rating in the


Performance Potential Summary Section

sectionComment FormUserRatingComment Represents the section comments in the


Performance Potential Summary Section

Use Case 1: Query the Performance Potential Summary Section


This example shows how to query the Performance Potential Summary Section details for a given form with speci c criteria.

Request

Operation Query

HTTP Method GET

URI https://<API-endpoint-
URL>/odata/v2/FormPerfPotSummarySection(formContentId=30543L,formDataId=16677L)?
$format=json&$expand=performanceRating,potentialRating

Response

This is custom documentation. For more information, please visit the SAP Help Portal 59
10/19/2022

{
"d": {
"__metadata": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormPerfPotSummarySection(formContentId=305
"type": "SFOData.FormPerfPotSummarySection"
},
"formContentId": "30543",
"formDataId": "16677",
"sectionIndex": 5,
"sectionName": "Performance Potential Summary",
"sectionDescription": "",
"othersSectionComments": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormPerfPotSummarySection(formContentId
}
},
"performanceRating": {
"__metadata": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormUserRatingComment(formContentId=305
"type": "SFOData.FormUserRatingComment"
},
"sectionIndex": 5,
"itemId": "0",
"formContentId": "30543",
"ratingType": "perf",
"formDataId": "16677",
"userId": "",
"firstName": null,
"lastName": null,
"ratingLabel": "PERFORMANCE",
"commentLabel": null,
"commentPermission": "none",
"commentKey": null,
"rating": "2.0",
"fullName": null,
"ratingPermission": "read",
"comment": null,
"ratingKey": "formMatrix_rowRatingSelectionList",
"textRating": "2.0 - Needs Development"
},
"potentialRating": {
"__metadata": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormUserRatingComment(formContentId=305
"type": "SFOData.FormUserRatingComment"
},
"sectionIndex": 5,
"itemId": "0",
"formContentId": "30543",
"ratingType": "pot",
"formDataId": "16677",
"userId": "",
"firstName": null,
"lastName": null,
"ratingLabel": "POTENTIAL",

This is custom documentation. For more information, please visit the SAP Help Portal 60
10/19/2022
"commentLabel": null,
"commentPermission": "none",
"commentKey": null,
"rating": "3.0",
"fullName": null,
"ratingPermission": "read",
"comment": null,
"ratingKey": "formMatrix_colRatingSelectionList",
"textRating": "3.0 - Meets Expectations"
},
"sectionConfiguration": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormPerfPotSummarySection(formContentId
}
},
"sectionComment": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormPerfPotSummarySection(formContentId
}
}
}
}

Use Case 2: Update the Overall Performance and Potential Rating


This example shows how to update the overall Performance and Potential rating in the Performance Potential Summary
Section.

Request

Operation Upsert

HTTP POST
Method

URI https://<API-endpoint-URL>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPerfPotSummarySection(formContentId=30543L,formDataId=16677L)"
},
"performanceRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=30543L,formDataId=16677L,itemId=0L,r
},
"rating": "1.0",
"ratingKey": "formMatrix_rowRatingSelectionList"
},
"potentialRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=30543L,formDataId=16677L,itemId=0L,r
},
"rating": "2.0",
"ratingKey": "formMatrix_colRatingSelectionList"
}
}

This is custom documentation. For more information, please visit the SAP Help Portal 61
10/19/2022

Response

{
"d": [
{
"key": "FormPerfPotSummarySection/formContentId=30543,FormPerfPotSummarySection/formDat
"status": "OK",
"editStatus": null,
"message": "",
"index": 0,
"httpCode": 200,
"inlineResults": null
}
]
}

Use Case 3: Update the Section Comments


This example shows how to update the section comments in the Performance Potential Summary Section.

Request

Operation Upsert

HTTP POST
Method

URI https://<API-endpoint-URL>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormPerfPotSummarySection(formContentId=3624L,formDataId=4600L)",
"type": "SFOData.FormPerfPotSummarySection"
},
"sectionComment": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=3624L,formDataId=4600L,itemId=0L,ratingT
"type": "SFOData.FormUserRatingComment"
},
"commentKey": "wf_sect_3_sc_yaoe_c",
"comment": "Fantastic performance!"
}
}

Response

{
"d": [
{
"key": "FormPerfPotSummarySection/formContentId=3624,FormPerfPotSummarySection/formData
"status": "OK",
"editStatus": null,
"message": "",
"index": 0,
"httpCode": 200,

This is custom documentation. For more information, please visit the SAP Help Portal 62
10/19/2022
"inlineResults": null
}
]
}

Related Information
SAP API Business Hub: Forms Management

FormObjCompSummarySection
You can use this entity to get the Objective Competency Summary Section details which include overall, adjusted, and
calculated rating information from the Performance Management form review section. You can also update the Overall
Objective Rating, Overall Competency Rating, and section comments in the form.

Permissions

Permission System Required Settings

Role based Manage Documents Admin Access to Forms OData API

User based None

Supported Operations

Operation Description

Query Query the Objective Competency Summary Section details of a


given form

Upsert Update the Overall Objective Rating, Overall Competency Rating,


and section comments of a given form

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Navigation Properties

Navigation Property Related Entity Description

overallObjRating FormUserRatingComment Represents the Overall Objective Rating in


the Objective Competency Summary
Section

overallCompRating FormUserRatingComment Represents the Overall Competency Rating


in the Objective Competency Summary
Section

sectComment FormUserRatingComment Represents the section comments in the


Objective Competency Summary Section

This is custom documentation. For more information, please visit the SAP Help Portal 63
10/19/2022

Use Case 1: Query the Objective Competency Summary Section Details


This example shows how to query the Objective Competency Summary Section details for a given form with speci c criteria.

Request

Operation Query

HTTP Method GET

URI https://<API-endpoint-
URL>/odata/v2/FormObjCompSummarySection(formContentId=30543,formDataId=16677L)?
$format=json&$expand=overallCompRating,overallObjRating

Response

{
"d": {
"__metadata": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId=305
"type": "SFOData.FormObjCompSummarySection"
},
"formContentId": "30543",
"formDataId": "16677",
"sectionIndex": 6,
"sectionDescription": "",
"sectionCommentsLabel": "Section Comments:",
"sectionName": "Objective Competency Summary",
"calculatedCompRating": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"overallObjRating": {
"__metadata": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormUserRatingComment(formContentId=305
"type": "SFOData.FormUserRatingComment"
},
"sectionIndex": 6,
"itemId": "0",
"formContentId": "30543",
"ratingType": "sect_overall_objective",
"formDataId": "16677",
"userId": "",
"firstName": null,
"lastName": null,
"ratingLabel": "Overall Form Rating:",
"commentLabel": null,
"commentPermission": "none",
"commentKey": null,
"rating": "3.0",
"fullName": null,
"ratingPermission": "write",
"comment": null,
"ratingKey": "wf_sect_6_orating",

This is custom documentation. For more information, please visit the SAP Help Portal 64
10/19/2022
"textRating": "3.0 - Meets Expectations"
},
"adjustedCompRating": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"sectComment": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"othersSectionComments": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"ococRating": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"adjustedObjRating": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"calculatedObjRating": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"sectionConfiguration": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"compRatingScale": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"objRatingScale": {
"__deferred": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormObjCompSummarySection(formContentId
}
},
"overallCompRating": {
"__metadata": {
"uri": "https://<API-endpoint-URL>/odata/v2/FormUserRatingComment(formContentId=305
"type": "SFOData.FormUserRatingComment"
},
"sectionIndex": 6,
"itemId": "0",
"formContentId": "30543",

This is custom documentation. For more information, please visit the SAP Help Portal 65
10/19/2022
"ratingType": "sect_overall_competency",
"formDataId": "16677",
"userId": "",
"firstName": null,
"lastName": null,
"ratingLabel": "Overall Form Rating:",
"commentLabel": null,
"commentPermission": "none",
"commentKey": null,
"rating": "1.0",
"fullName": null,
"ratingPermission": "write",
"comment": null,
"ratingKey": "wf_sect_6_crating",
"textRating": "1.0 - Unsatisfactory"
}
}
}

Use Case 2: Update the Overall Objective Rating and Overall Competency Rating
This example shows how to update the Overall Objective Rating and Overall Competency Rating in the Objective Competency
Summary Section.

Request

Operation Upsert

HTTP POST
Method

URI https://<API-endpoint-URL>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormObjCompSummarySection(formContentId=30543L,formDataId=16677L)"
},
"overallObjRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=30543L,formDataId=16677L,itemId=0L,ratin
},
"rating": "2.0",
"ratingKey": "wf_sect_6_orating"
},
"overallCompRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=30543L,formDataId=16677L,itemId=0L,r
},
"rating": "3.0",
"ratingKey": "wf_sect_6_crating"
}
}

Response

This is custom documentation. For more information, please visit the SAP Help Portal 66
10/19/2022

{
"d": [
{
"key": "FormObjCompSummarySection/formContentId=30543,FormObjCompSummarySection/formDat
"status": "OK",
"editStatus": null,
"message": "",
"index": 0,
"httpCode": 200,
"inlineResults": null
}
]
}

Use Case 3: Update the Section Comments


This example shows how to update the section comments in the Objective Competency Summary Section.

Request

Operation Upsert

HTTP POST
Method

URI https://<API-endpoint-URL>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormObjCompSummarySection(formContentId=3624L,formDataId=4600L)",
"type": "SFOData.FormObjCompSummarySection"
},
"sectComment": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=3624L,formDataId=4600L,itemId=0L,ratingT
"type": "SFOData.FormUserRatingComment"
},
"commentKey": "wf_sect_2_sc_yaoe_c",
"comment": "Quite ordinary!"
}
}

Response

{
"d": [
{
"key": "FormObjCompSummarySection/formContentId=3624,FormObjCompSummarySection/formData
"status": "OK",
"editStatus": null,
"message": "",
"index": 0,
"httpCode": 200,
"inlineResults": null
}

This is custom documentation. For more information, please visit the SAP Help Portal 67
10/19/2022
]
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormCustomizedWeightedRatingSection
You can use this entity to get the Customized Weighted Rating section details in Performance Management forms and update
the manual rating in the section.

Supported Operations
Query, Upsert.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case: Querying the Customized Weighted Rating Section


This example shows how to query the Customized Weighted Rating section details for a given form with speci c criteria.

Request

Operation Query

HTTP GET
Method

URI https://<api-
server>/odata/v2/FormCustomizedWeightedRatingSection(formContentId=32492L,formDataId=17253L

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormCustomizedWeightedRatingSection(formContentId
"type": "SFOData.FormCustomizedWeightedRatingSection"
},
"formContentId": "32492",
"formDataId": "17253",
"sectionIndex": 1,
"sectionName": "Customized Weighted Rating",
"sectionDescription": "",
"calculatedRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomizedWeightedRatingSection(formConte
This is custom documentation. For more information, please visit the SAP Help Portal 68
10/19/2022
}
},
"sectionConfiguration": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomizedWeightedRatingSection(formConte
}
},
"manualRating": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormCustomizedWeightedRatingSection(formConte
}
}
}
}

Use Case: Update the Manual Rating


This example shows how to update the manual rating in the Customized Weighted Rating section.

Request

Operation Upsert

HTTP POST
Method

URI https://<api-server>/odata/v2/upsert

Payload
{
"__metadata": {
"uri": "FormCustomizedWeightedRatingSection(formDataId=17253L,formContentId=32492L)",
"type": "SFOData.FormCustomizedWeightedRatingSection"
},
"manualRating": {
"__metadata": {
"uri": "FormUserRatingComment(formContentId=32492L,formDataId=17253L,itemId=0L,ratin
"type": "SFOData.FormUserRatingComment"
},
"ratingKey": "wf_sect_1_rating",
"rating": "2.0"
}
}

Response

{
"d": [
{
"key": "FormCustomizedWeightedRatingSection/formContentId=32492,FormCustomizedWeightedR
"status": "OK",
"editStatus": null,
"message": "",
"index": 0,
"httpCode": 200,
"inlineResults": null

This is custom documentation. For more information, please visit the SAP Help Portal 69
10/19/2022
}
]
}

Related Information
FormPerfPotSummarySection

FormAuditTrail
You can use this entity to get the audit trail information about Performance Management forms to track form routing details.

Permissions
To access all audit trail records of forms in the system, you should have the Administrator Manage Documents Admin Access
to Forms OData API permission.

Supported Operations

Operation Description

Query Query to get the audit trail details about a given form. AuditTrailId is required for the query
operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Audit Trail Details About a Form


The following example shows how to query the audit trail details about a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormAuditTrail(auditTrailId=423L)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(423L)",
"type": "SFOData.FormAuditTrail"

This is custom documentation. For more information, please visit the SAP Help Portal 70
10/19/2022
},
"auditTrailId": "423",
"auditTrailRecipient": "101147",
"auditTrailAction": "submit",
"formContentId": "384",
"formContentAssociatedStepId": "104654026225696",
"auditTrailSender": "admin",
"auditTrailLastModified": "/Date(1505201829000+0000)/",
"auditTrailCoSender": null,
"auditTrailComment": "Creation.",
"formDataId": "87",
"auditTrailSendProxy": null,
"formContent": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(423L)/formContent"
}
},
"formHeader": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(423L)/formHeader"
}
}
}
}

Use Case 2: Retrieve Audit Trail Details from FormHeader


The following example shows how to retrieve the audit trail details about a given form from the parent entity FormHeader.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormHeader(formDataId=87L)?
$expand=formAuditTrails&$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)",
"type": "SFOData.FormHeader"
},
"formDataId": "87",
"dateAssigned": "/Date(1505201897000+0000)/",
"formTemplateId": "4",
"formTemplateType": "Review",
"formOriginator": "admin",
"formSubjectId": "101147",
"sender": "101147",

This is custom documentation. For more information, please visit the SAP Help Portal 71
10/19/2022
"currentStep": "EM",
"stepDueDate": null,
"formLastModifiedDate": "/Date(1505202062000+0000)/",
"formTitle": "Impax-GDPR for Brian A Meta",
"formDataStatus": "1",
"formReviewDueDate": "/Date(1507823999000+0000)/",
"formReviewStartDate": "/Date(1505145600000+0000)/",
"creationDate": "/Date(1505201829000+0000)/",
"formReviewEndDate": "/Date(1507823999000+0000)/",
"rating": "0",
"isRated": false,
"formFeedbackList": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formFeedbackList"
}
},
"formTemplate": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formTemplate"
}
},
"formLastContent": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formLastContent"
}
},
"formContents": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formContents"
}
},
"formSender": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formSender"
}
},
"formAuditTrails": {
"results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(423L)",
"type": "SFOData.FormAuditTrail"
},
"auditTrailId": "423",
"auditTrailRecipient": "101147",
"auditTrailAction": "submit",
"formContentId": "384",
"formContentAssociatedStepId": "104654026225696",
"auditTrailSender": "admin",
"auditTrailLastModified": "/Date(1505201829000+0000)/",
"auditTrailCoSender": null,
"auditTrailComment": "Creation.",
"formDataId": "87",
"auditTrailSendProxy": null,
"formContent": {

This is custom documentation. For more information, please visit the SAP Help Portal 72
10/19/2022
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(423L)/formContent"
}
},
"formHeader": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(423L)/formHeader"
}
}
},
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(424L)",
"type": "SFOData.FormAuditTrail"
},
"auditTrailId": "424",
"auditTrailRecipient": "admin",
"auditTrailAction": "manual_approve",
"formContentId": "385",
"formContentAssociatedStepId": "104654026670353",
"auditTrailSender": "101147",
"auditTrailLastModified": "/Date(1505201897000+0000)/",
"auditTrailCoSender": null,
"auditTrailComment": "Approved and routed on behalf of bmeta by admin. ",
"formDataId": "87",
"auditTrailSendProxy": null,
"formContent": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(424L)/formContent"
}
},
"formHeader": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormAuditTrail(424L)/formHeader"
}
}
}
]
},
"formAttachments": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formAttachments"
}
},
"formSubject": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formSubject"
}
},
"formRouteMap": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formRouteMap"
}
}

This is custom documentation. For more information, please visit the SAP Help Portal 73
10/19/2022
}
}

Related Information
SAP API Business Hub: Continuous Performance Management

FormReviewFeedback
You can use this entity to get the request and response information about Ask for Feedback in Performance Management
forms.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to get the request and response information about Ask for Feedback in a given form. FeedbackId is
required for the query operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query the Ask for Feedback Information


The following example shows how to query the request and response information about Ask for Feedback in a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormReviewFeedback(feedbackId=2L)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedback(2L)",
"type": "SFOData.FormReviewFeedback"
},

This is custom documentation. For more information, please visit the SAP Help Portal 74
10/19/2022
"feedbackId": "2",
"responseDate": "/Date(1497571200000)/",
"subjectUserEmail": null,
"pmFeedback": "feedback is udpated",
"requestUserEmail": null,
"appraiserUserEmail": "r.dong@sap.com",
"appraiserUserId": "<<Richard~r.dong@sap.com>>",
"responseId": "1",
"requestUserRole": "EM",
"digiCode": "3439c3e779d8600e4355f1eaf030f401",
"subjectUserId": null,
"companyId": "testLynn",
"requestDate": "/Date(1497868749700)/",
"formDataId": "87",
"requestUserId": "admin"
}
}

Use Case 2: Retrieve Ask for Feedback Information from FormReviewFeedbackList


The following example shows how to retrieve the request and response information about Ask for Feedback from the parent
entity FormReviewFeedbackList.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormReviewFeedbackList(formDataId=87L)?
$expand=formFeedbacks&$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedbackList(87L)",
"type": "SFOData.FormReviewFeedbackList"
},
"formDataId": "87",
"formFeedbacks": {
"results": [
{
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedback(4L)",
"type": "SFOData.FormReviewFeedback"
},
"feedbackId": "4",
"responseDate": null,
"subjectUserEmail": null,
"pmFeedback": "",
"requestUserEmail": null,

This is custom documentation. For more information, please visit the SAP Help Portal 75
10/19/2022
"appraiserUserEmail": "bbbqqq@sap.com",
"appraiserUserId": "<<Dong~bbbqqq@sap.com>>",
"responseId": "-1",
"requestUserRole": "EM",
"digiCode": "792b6252219ee0fad4dbee8266be5384",
"subjectUserId": null,
"companyId": "testLynn",
"requestDate": "/Date(1497868999386)/",
"formDataId": "87",
"requestUserId": "admin"
}
]
}
}
}

Error Codes

Error Code Description

400 - BAD_REQUEST FeedbackId cannot be null.

Related Information
SAP API Business Hub: Continuous Performance Management

FormReviewFeedbackList
You can use this entity to get a list of Ask for Feedback information in Performance Management forms.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query Query to get a list of Ask for Feedback information in a given form. FormDataId is required for the query
operation.

Properties and Navigation Properties


This section lists only the properties and navigation properties that require special business logic, permission, or other
additional information. For more information, refer to the API dictionary in Admin Center API Center OData API Data
Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata.

Use Case 1: Query a List of Ask for Feedback Information

This is custom documentation. For more information, please visit the SAP Help Portal 76
10/19/2022
The following example shows how to query a list of Ask for Feedback information in a given form.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormReviewFeedbackList(formDataId=87L)?
$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedbackList(87L)",
"type": "SFOData.FormReviewFeedbackList"
},
"formDataId": "87",
"formFeedbacks": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedbackList(4L)/formFeedbacks"
"type": "SFOData.FormReviewFeedback"
}
}
}
}

Use Case 2: Retrieve a List of Ask for Feedback Information from FormHeader
The following example shows how to retrieve a list of Ask for Feedback information from the parent entity FormHeader.

Request

Operation Query

HTTP Method GET

URI http://<api-
server>/odata/v2/FormHeader(formDataId=87L)?
$expand=formFeedbackList&$format=json

Response

{
"d": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)",
"type": "SFOData.FormHeader"
},
"formDataId": "87",
"dateAssigned": "/Date(1505201897000+0000)/",

This is custom documentation. For more information, please visit the SAP Help Portal 77
10/19/2022
"formTemplateId": "4",
"formTemplateType": "Review",
"formOriginator": "admin",
"formSubjectId": "101147",
"sender": "101147",
"currentStep": "EM",
"stepDueDate": null,
"formLastModifiedDate": "/Date(1505202062000+0000)/",
"formTitle": "Impax-GDPR for Brian A Meta",
"formDataStatus": "1",
"formReviewDueDate": "/Date(1507823999000+0000)/",
"formReviewStartDate": "/Date(1505145600000+0000)/",
"creationDate": "/Date(1505201829000+0000)/",
"formReviewEndDate": "/Date(1507823999000+0000)/",
"rating": "0",
"isRated": false,
"formFeedbackList": {
"__metadata": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedbackList(87L)",
"type": "SFOData.FormReviewFeedbackList"
},
"formDataId": "87",
"formFeedbacks": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormReviewFeedbackList(87L)/formFeedbacks
}
}
},
"formTemplate": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formTemplate"
}
},
"formLastContent": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formLastContent"
}
},
"formContents": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formContents"
}
},
"formSender": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formSender"
}
},
"formAttachments": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formAttachments"
}
},
"formSubject": {
"__deferred": {

This is custom documentation. For more information, please visit the SAP Help Portal 78
10/19/2022
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formSubject"
}
},
"formRouteMap": {
"__deferred": {
"uri": "https://<api-server>/odata/v2/FormHeader(87L)/formRouteMap"
}
}
}
}

Error Codes

Error Code Description

400 COE_GENERAL_BAD_REQUEST FormDataId cannot be null.

Related Information
SAP API Business Hub: Continuous Performance Management

Function Import
Function imports modify an entity. You use them as you would use any OData API.

The following function imports can be used to route the form:

signForm

sendToNextStep

rejectForm

All the above mentioned APIs return complex type object CORouteFormStatusBean.

Complex Type - CORouteFormStatusBean

Property Description

status To return status of function import API. Value can be either Success
or Failure.

signForm
You can use this function import to sign Performance Management and 360 Reviews forms.

Permissions

This is custom documentation. For more information, please visit the SAP Help Portal 79
10/19/2022
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query To sign a speci c form when the form is at the signature stage.
FormDataId is required for the query operation.

Properties and Navigation Properties

Property Description

formDataId Indicates document ID. This is a mandatory eld.

comment Indicates the comment provided by the signer. This is an optional


eld. If Disable Ask For Comment Routing is selected in Form
Template Settings, this property is not allowed.

Use Case: Sign a Form


The following example shows how to use this function import to sign a form.

Request

Operation Query

HTTP Method GET

URI https://<hostname>/odata/v2/signForm?
formDataId=1234L &comment='my comment'

Response

<d:CORouteFormStatusBean xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="h


<d:status>Success</d:status>
</d:CORouteFormStatusBean>

Error Codes

Error Code Description

TWF_MISS_REQUIRE_PARAMETER_ERROR FormDataId is not provided in the URL.

This is custom documentation. For more information, please visit the SAP Help Portal 80
10/19/2022

Error Code Description

TWF_INCORRECT_PARAMETER_ERROR You may get this error message due to the following reasons:

Form is not found for the given formDataId.

Form is found but the work ow action can't be operated. For


example, form is in the En Route or Completed folder.

Form is not at the signature stage.

Form doesn't reach the exit date based on route map


con guration.

The signer provides a comment when Disable Ask For


Comment Routing is selected in Form Template Settings.

sendToNextStep
You can use this function import to send Performance Management forms to the next step in route maps.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query To send a speci c form to the next step. FormDataId is required for
the query operation.

Properties and Navigation Properties

Property Description

formDataId Indicates document ID. This is a mandatory eld.

comment Indicates the comment provided by the user. This is an optional


eld. If Disable Ask For Comment Routing is selected in Form
Template Settings, this property is not allowed.

innerStepUserId If the current step is the Iterative step, the property indicates a
recipient user in the current step. In this case, if the property isn’t
speci ed, it's assumed that the recipient user isn’t present and the
form is sent to the next step outside the Iterative step.

nextIStepEntryUser If the next step is the Iterative step, the property indicates the rst
recipient user in the next step.

Use Case 1: Send a Form to the Next Step


The following example shows how to use this function import to send a speci c form to the next step.

Request

This is custom documentation. For more information, please visit the SAP Help Portal 81
10/19/2022

Operation Query

HTTP Method GET

URI https://<hostname>/odata/v2/sendToNextStep?
formDataId=1234L &comment='my comment'

Response

<d:CORouteFormStatusBean xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="h


<d:status>Success</d:status>
</d:CORouteFormStatusBean>

Use Case 2: Send a Form to Another User in the Iterative Step


The following example shows how to send a speci c form to another user in the Iterative step.

Request

Operation Query

HTTP Method GET

URI https://<hostname>/odata/v2/sendToNextStep?
formDataId=1234L &innerStepUserId='user1'

Response

<d:CORouteFormStatusBean xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="h


<d:status>Success</d:status>
</d:CORouteFormStatusBean>

Use Case 3: Send a Form to the Iterative Step


The following example shows how to send a speci c form to the next step that is the Iterative step.

Request

Operation Query

HTTP Method GET

URI https://<hostname>/odata/v2/sendToNextStep?
formDataId=1234L &nextIStepEntryUser='user2'

Response

<d:CORouteFormStatusBean xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="h


<d:status>Success</d:status>
</d:CORouteFormStatusBean>

Error Codes

Error Code Description

This is custom documentation. For more information, please visit the SAP Help Portal 82
10/19/2022

Error Code Description

TWF_MISS_REQUIRE_PARAMETER_ERROR The current step is the Iterative step and innerStepUserId hasn’t
been given.

TWF_INCORRECT_PARAMETER_ERROR You may get this error message due to the following reasons:

Form isn’t found for the given formDataId.

Form is found but the work ow action can't be operated. For


example, form is in the En Route or Completed folder.

Form isn’t at the modify or rejected stage.

The current step is the Iterative step and the innerStepId


value is same as the current user.

The user provides a comment when Disable Ask For


Comment Routing is selected in Form Template Settings.

Related Information
SAP API Business Hub: Continuous Performance Management

sendToPreviousStep
You can use this function import to send Performance Management and 360 Reviews forms to the previous step at the modify
stage.

Permissions
Enable form routing to previous step is selected in Form Template Settings. For more information on permissions, see
Performance Management Form Entities.

Supported Operations

Operation Description

Query To send a speci c form to the previous step. FormDataId is


required for the query operation.

Properties and Navigation Properties

Property Description

formDataId Indicates document ID. This is a mandatory eld.

comment Indicates the comment provided by the user. This is an optional


eld. If Disable Ask For Comment Routing is selected in Form
Template Settings, this property is not allowed.

previousIStepEntryUser If the previous step is the Iterative step, the property indicates the
rst recipient user in the previous step.

Use Case: Send a Form to Previous Step


This is custom documentation. For more information, please visit the SAP Help Portal 83
10/19/2022
The following example shows how to use this function import to send a speci c form to the previous step.

Request

Operation Query

HTTP Method GET

URI http://<Hostname>/odata/v2/sendToPreviousStep?
formDataId=192L &comment='test'

Response

{
"d": {
"CORouteFormStatusBean": {
"status": "Success"
}
}
}

Error Codes

Error Code Description

COE_GENERAL_SERVER_FAILURE General server-side error message.

TWF_INCORRECT_PARAMETER_ERROR You may get this error message due to the following reasons:

Based on form con guration, the form can't be sent to the


previous step at the current stage.

User has no permission to execute this action on the form


at the current step.

rejectForm
You can use this function import to reject Performance Management and 360 Reviews forms.

Permissions
For more information on permissions, see Performance Management Form Entities.

Supported Operations

Operation Description

Query To reject a speci c form when the form is at the signature stage.
FormDataId is required for the query operation.

Properties and Navigation Properties

Property Description

This is custom documentation. For more information, please visit the SAP Help Portal 84
10/19/2022

Property Description

formDataId Indicates document ID. This is a mandatory eld.

comment Indicates the comment for rejecting the form provided by the user.
This is an optional eld. If Disable Ask For Comment Routing is
selected in Form Template Settings, this property is not allowed.

Use Case: Reject a Form


The following example shows how to use this function import to reject a speci c form.

Request

Operation Query

HTTP Method GET

URI https://<hostname>/odata/v2/signForm?
formDataId=1234L &comment='my comment'

Response

<d:CORouteFormStatusBean xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="h


<d:status>Success</d:status>
</d:CORouteFormStatusBean>

Error Codes

Error Code Description

TWF_MISS_REQUIRE_PARAMETER_ERROR FormDataId is not provided in the URL.

TWF_INCORRECT_PARAMETER_ERROR You may get this error message due to the following reasons:

Form is not found for the given formDataId.

Form is found but the work ow action can't be operated. For


example, form is in the En Route or Completed folder.

Form is not at the signature stage.

Form doesn't reach the exit date based on route map


con guration.

The signer provides a comment when Disable Ask For


Comment Routing is selected in Form Template Settings.

createPerformanceReviewForm
You can use this function import to launch Performance Management forms for single users. Before that, the start date, end
date, and due date of performance review should be con gured for the requested form template in Form Template Settings.

Permissions

This is custom documentation. For more information, please visit the SAP Help Portal 85
10/19/2022
Only users who have permission to create forms are allowed to launch forms using this API. If they don't have permission to
create requested forms, the forms are not created and the API returns formDataId as -1. For more information on permissions,
see Performance Management Form Entities.

Supported Operations

Operation Description

Query To create a Performance Management form for a speci c user at a


time. FormSubjectId and formTemplateId are required for the query
operation.

Properties and Navigation Properties

Property Description

formSubjectId Subject user ID for whom the form is launched. This is a mandatory
eld.

formTemplateId ID of the selected form template. This is a mandatory eld.

sendEmail Default value for this eld is false. If the value is true, email
noti cation is sent to form subject.

enRouteCopy Default value for this eld is false. If the value is true, the copy of
the form is created in the En Route folder.

Use Case: Create a Performance Management Form


The following example shows how to use this function import to create a Performance Management form for a user.

Request

Operation Query

HTTP Method GET

URI http://<Hostname>/odata/v2/createPerformanceReviewForm?
formSubjectId='wsown1'& formTemplateId=391L&
sendEmail=true& enRouteCopy=false

Response

Successful Response:

<d:CreatePerformanceReviewFormResponse m:type="SFOData.CreatePerformanceReviewFormResponse" xmlns:d


<d:formDataId m:type="Edm.Int64">7894</d:formDataId>
<d:status>SUCCESS</d:status>
<d:statusCode m:type="Edm.Int64">200</d:statusCode>
</d:CreatePerformanceReviewFormResponse>

Failure Response:

This is custom documentation. For more information, please visit the SAP Help Portal 86
10/19/2022

<d:CreatePerformanceReviewFormResponse m:type="SFOData.CreatePerformanceReviewFormResponse">
<d:formDataId m:type="Edm.Int64">-1</d:formDataId>
<d:status>FAILURE</d:status>
<d:statusCode m:type="Edm.Int64">500</d:statusCode>
</d:CreatePerformanceReviewFormResponse>

Error Codes

Error Code Description

400 SC_BAD_REQUEST/Error code (400) indicates the following:

Requested form template is not a Performance


Management form template.

Form template is associated with an invalid rating scale.

Form template is not associated with a route map.

Overlapping forms exist for the given form template's


review period.

403 SC_FORBIDDEN/Status code (403) indicates that the logged-in


user doesn't have permission to launch forms using the requested
form template.

404 SC_NOT_FOUND/Status code (404) indicates that the


formTemplateId is invalid.

500 SC_INTERNAL_SERVER_ERROR/Status code (500) indicates that


an error inside the server prevents launching the form.

Related Information
SAP API Business Hub: Goal Plan

This is custom documentation. For more information, please visit the SAP Help Portal 87

You might also like