Create a goal plan

post

/hcmRestApi/resources/11.13.18.05/goalPlans

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Associated Performance Document Types
Type: array
Title: Associated Performance Document Types
The associatedPerfDocumentTypes resource provides all performance document types associated with a goal plan.
Show Source
Nested Schema : Performance Goal Eligibility Profiles
Type: array
Title: Performance Goal Eligibility Profiles
The perfGoalEligibilityProfiles resource provides all eligibility profiles associated with a goal plan.
Show Source
Nested Schema : Performance Goal Excluded Workers
Type: array
Title: Performance Goal Excluded Workers
The perfGoalExcludedWorkers resource is a child of the goalPlans resource and provides all workers excluded from the goal plan.
Show Source
Nested Schema : Performance Goal Included Workers
Type: array
Title: Performance Goal Included Workers
The perfGoalInccludedWorkers resource provides all workers included in a goal plan.
Show Source
Nested Schema : Performance Goals
Type: array
Title: Performance Goals
The performanceGoalsV2 resource provides performance goals of workers.
Show Source
Nested Schema : goalPlans-associatedPerfDocumentTypes-item-post-request
Type: object
Show Source
Nested Schema : goalPlans-perfGoalEligibilityProfiles-item-post-request
Type: object
Show Source
Nested Schema : goalPlans-perfGoalExcludedWorkers-item-post-request
Type: object
Show Source
Nested Schema : goalPlans-perfGoalIncludedWorkers-item-post-request
Type: object
Show Source
Nested Schema : goalPlans-performanceGoals-item-post-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : goalPlans-item-response
Type: object
Show Source
Nested Schema : Associated Performance Document Types
Type: array
Title: Associated Performance Document Types
The associatedPerfDocumentTypes resource provides all performance document types associated with a goal plan.
Show Source
Nested Schema : Performance Goal Eligibility Profiles
Type: array
Title: Performance Goal Eligibility Profiles
The perfGoalEligibilityProfiles resource provides all eligibility profiles associated with a goal plan.
Show Source
Nested Schema : Performance Goal Excluded Workers
Type: array
Title: Performance Goal Excluded Workers
The perfGoalExcludedWorkers resource is a child of the goalPlans resource and provides all workers excluded from the goal plan.
Show Source
Nested Schema : Performance Goal Included Workers
Type: array
Title: Performance Goal Included Workers
The perfGoalInccludedWorkers resource provides all workers included in a goal plan.
Show Source
Nested Schema : Performance Goals
Type: array
Title: Performance Goals
The performanceGoalsV2 resource provides performance goals of workers.
Show Source
Nested Schema : goalPlans-associatedPerfDocumentTypes-item-response
Type: object
Show Source
Nested Schema : goalPlans-perfGoalEligibilityProfiles-item-response
Type: object
Show Source
Nested Schema : goalPlans-perfGoalExcludedWorkers-item-response
Type: object
Show Source
Nested Schema : goalPlans-perfGoalIncludedWorkers-item-response
Type: object
Show Source
Nested Schema : goalPlans-performanceGoals-item-response
Type: object
Show Source
Back to Top