Create a rating
post
/hcmRestApi/resources/11.13.18.05/learnerLearningRecords/{learnerLearningRecordsUniqID}/child/completionDetails/{completionDetailsUniqID}/child/primarySelectedCourseOffering/{otherSelectedCourseOfferingsUniqID}/child/learningItemRatingDetails
Request
Path Parameters
-
completionDetailsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Completion Details resource and used to uniquely identify an instance of Completion Details. The client should not generate the hash key value. Instead, the client should query on the Completion Details collection resource in order to navigate to a specific instance of Completion Details to get the hash key.
-
learnerLearningRecordsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Learner Learning Records resource and used to uniquely identify an instance of Learner Learning Records. The client should not generate the hash key value. Instead, the client should query on the Learner Learning Records collection resource in order to navigate to a specific instance of Learner Learning Records to get the hash key.
-
otherSelectedCourseOfferingsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Other Selected Course Offerings resource and used to uniquely identify an instance of Other Selected Course Offerings. The client should not generate the hash key value. Instead, the client should query on the Other Selected Course Offerings collection resource in order to navigate to a specific instance of Other Selected Course Offerings to get the hash key.
Header Parameters
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
-
Upsert-Mode:
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
- application/json
Root Schema : schema
Type:
Show Source
object-
ratedByPersonDetails: array
User Access Person Details
Title:
User Access Person DetailsThe personDetalis resource provides details about the person associated with the learning item. -
rating: number
Title:
RatingThe rating given on the learning item. -
ratingByPersonId: integer
(int64)
Title:
Rated by Person IDIdentifier of the person who rated the learning item. -
ratingByPersonImageURL: string
Title:
Rated by Person Image URLImage URL of the person who rated the learning item. -
ratingComment: string
Title:
Rating CommentMaximum Length:4000Comment made by the learner while rating the learning item. -
ratingId: integer
(int64)
Title:
Rating IDUnique identifier for the rating on the learning item. -
ratingNumber: string
Title:
Rating NumberMaximum Length:30Friendly number identifying the learning item rating. -
ratingStatus: string
Title:
Rating StatusMaximum Length:30Status of the rating on the learning item.
Nested Schema : User Access Person Details
Type:
arrayTitle:
User Access Person DetailsThe personDetalis resource provides details about the person associated with the learning item.
Show Source
Nested Schema : learnerLearningRecords-completionDetails-primarySelectedCourseOffering-learningItemRatingDetails-ratedByPersonDetails-item-post-request
Type:
Show Source
objectResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : learnerLearningRecords-completionDetails-primarySelectedCourseOffering-learningItemRatingDetails-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ratedByPersonDetails: array
User Access Person Details
Title:
User Access Person DetailsThe personDetalis resource provides details about the person associated with the learning item. -
rating: number
Title:
RatingThe rating given on the learning item. -
ratingByPersonDisplayName: string
Title:
Rated ByRead Only:trueMaximum Length:240Display name for the person who rated the learning item. -
ratingByPersonId: integer
(int64)
Title:
Rated by Person IDIdentifier of the person who rated the learning item. -
ratingByPersonImageURL: string
Title:
Rated by Person Image URLImage URL of the person who rated the learning item. -
ratingByPersonNumber: string
Title:
Rated by Person NumberRead Only:trueMaximum Length:30Person number of the person who rated the learning item. -
ratingComment: string
Title:
Rating CommentMaximum Length:4000Comment made by the learner while rating the learning item. -
ratingDate: string
(date-time)
Title:
Rated on DateRead Only:trueDate the rating was made on the learning item. -
ratingId: integer
(int64)
Title:
Rating IDUnique identifier for the rating on the learning item. -
ratingNumber: string
Title:
Rating NumberMaximum Length:30Friendly number identifying the learning item rating. -
ratingStatus: string
Title:
Rating StatusMaximum Length:30Status of the rating on the learning item.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : User Access Person Details
Type:
arrayTitle:
User Access Person DetailsThe personDetalis resource provides details about the person associated with the learning item.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : learnerLearningRecords-completionDetails-primarySelectedCourseOffering-learningItemRatingDetails-ratedByPersonDetails-item-response
Type:
Show Source
object-
assignmentName: string
Read Only:
trueMaximum Length:80Person's work assignment name. -
businessUnitId: integer
(int64)
Title:
Business Unit IDRead Only:trueUnique identifier for the person's business unit. -
businessUnitName: string
Title:
Business UnitRead Only:trueMaximum Length:240Name of the person's business unit. -
departmentId: integer
(int64)
Title:
Department IDRead Only:truePerson's department. -
departmentName: string
Title:
DepartmentRead Only:trueMaximum Length:240Person's department name. -
jobId: integer
(int64)
Title:
Job IDRead Only:truePerson's job identifier. -
jobName: string
Title:
JobRead Only:trueMaximum Length:240Person's job name. -
legalEmployerId: integer
(int64)
Title:
Legal Employer IDRead Only:trueIdentifier for the person's legal employer. -
legalEmployerName: string
Title:
Legal EmployerRead Only:trueMaximum Length:240Name of the person's legal employer. -
lineManagerDisplayName: string
Title:
Line ManagerRead Only:trueMaximum Length:240Display name for the person's line manager. -
lineManagerId: integer
(int64)
Title:
Line Manager IDRead Only:trueIdentifier for the person's line manager. -
lineManagerNumber: string
Title:
Line Manager NumberRead Only:trueMaximum Length:30Number for the person's line manager. -
lineManagerPrimaryEmailAddress: string
Title:
Line Manager Primary Email AddressRead Only:trueMaximum Length:240Primary email address for the person's line manager. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
locationId: integer
(int64)
Title:
Location IDRead Only:truePerson's location identifier. -
locationName: string
Title:
Location NameRead Only:trueMaximum Length:240Person's location name. -
personId: integer
(int64)
Read Only:
trueIdentifier of the person who's the publisher. -
positionId: integer
(int64)
Title:
Position IDRead Only:trueUnique identifier for the person's position. -
positionName: string
Title:
PositionRead Only:trueMaximum Length:240Person's position name. -
primaryEmailAddress: string
Read Only:
trueMaximum Length:240Person's primary email address. -
primaryPhoneNumber: string
Read Only:
trueMaximum Length:60Person's primary phone number.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- ratedByPersonDetails
-
Parameters:
- completionDetailsUniqID:
$request.path.completionDetailsUniqID - learnerLearningRecordsUniqID:
$request.path.learnerLearningRecordsUniqID - learningItemRatingDetailsUniqID100:
$request.path.learningItemRatingDetailsUniqID100 - otherSelectedCourseOfferingsUniqID102:
$request.path.otherSelectedCourseOfferingsUniqID102
- completionDetailsUniqID: