Update a candidate language
patch
/hcmRestApi/resources/11.13.18.05/recruitingCandidates/{CandidateNumber}/child/languages/{LanguageId}
Request
Path Parameters
-
CandidateNumber(required): string
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
LanguageId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
AbleToTeachFlag: boolean
Title:
Able to Teach
Maximum Length:30
Able to teach indicator in recruiting candidate languages. -
AbleToTranslateFlag: boolean
Title:
Able to Translate
Maximum Length:30
Able to translate indicator in recruiting candidate languages. -
Comments: string
(byte)
Title:
Comments
Comments in recruiting candidate languages. -
ContentItemId: integer
(int64)
Title:
Language
Content item ID in recruiting candidate languages. -
EvaluatedOn: string
(date)
Title:
Evaluated On
Evaluated on in recruiting candidate languages. -
EvaluationLocation: string
Title:
Evaluation Location
Maximum Length:240
Evaluation location in recruiting candidate languages. -
Language: string
Maximum Length:
240
Language in recruiting candidate languages. -
NativeSpeakerFlag: boolean
Title:
Native
Maximum Length:30
Native speaker indicator in recruiting candidate languages. -
ReadingLevelId: integer
(int64)
Title:
Reading
Reading level ID in recruiting candidate languages. -
ReadingModelId: integer
(int64)
Title:
Reading Rating Model
Reading model ID in recruiting candidate languages. -
SectionId: integer
(int64)
Section ID in recruiting candidate languages.
-
SpeakingLevelId: integer
(int64)
Title:
Speaking
Speaking level ID in recruiting candidate languages. -
SpeakingModelId: integer
(int64)
Title:
Speaking Rating Model
Speaking model ID in recruiting candidate languages. -
WritingLevelId: integer
(int64)
Title:
Writing
Writing level ID in recruiting candidate languages. -
WritingModelId: integer
(int64)
Title:
Writing Rating Model
Writing model ID in recruiting candidate languages.
Response
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 : recruitingCandidates-languages-item-response
Type:
Show Source
object
-
AbleToTeachFlag: boolean
Title:
Able to Teach
Maximum Length:30
Able to teach indicator in recruiting candidate languages. -
AbleToTranslateFlag: boolean
Title:
Able to Translate
Maximum Length:30
Able to translate indicator in recruiting candidate languages. -
Comments: string
(byte)
Title:
Comments
Comments in recruiting candidate languages. -
ContentItemId: integer
(int64)
Title:
Language
Content item ID in recruiting candidate languages. -
EvaluatedOn: string
(date)
Title:
Evaluated On
Evaluated on in recruiting candidate languages. -
EvaluationLocation: string
Title:
Evaluation Location
Maximum Length:240
Evaluation location in recruiting candidate languages. -
Language: string
Maximum Length:
240
Language in recruiting candidate languages. -
LanguageId: integer
(int64)
Language ID in recruiting candidate languages.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NativeSpeakerFlag: boolean
Title:
Native
Maximum Length:30
Native speaker indicator in recruiting candidate languages. -
ReadingLevelId: integer
(int64)
Title:
Reading
Reading level ID in recruiting candidate languages. -
ReadingModelId: integer
(int64)
Title:
Reading Rating Model
Reading model ID in recruiting candidate languages. -
SectionId: integer
(int64)
Section ID in recruiting candidate languages.
-
SpeakingLevelId: integer
(int64)
Title:
Speaking
Speaking level ID in recruiting candidate languages. -
SpeakingModelId: integer
(int64)
Title:
Speaking Rating Model
Speaking model ID in recruiting candidate languages. -
WritingLevelId: integer
(int64)
Title:
Writing
Writing level ID in recruiting candidate languages. -
WritingModelId: integer
(int64)
Title:
Writing Rating Model
Writing model ID in recruiting candidate languages.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.
Examples
The following example shows how to update a candidate language by submitting a PATCH request on the REST resource using cURL.
curl -i -u "<username>:<password>" -X POST -d <payload> http://<host>:<port>/hcmRestApi/resources/11.13.18.05/recruitingCandidates/187477/child/languages
Example of Payload
The following is an example of the payload.
{ "ReadingModelId": 12356, "SpeakingModelId": 235, "WritingLevelId": 404 }
Example of Response Header
The following is an example of the response header.
HTTP/1.1 200 OK Content-Type : application/vnd.oracle.adf.resourceitem+json
Example of Response Body
The following example shows the contents of the response body in JSON format.
{ "LanguageId": 300100176567885, "AbleToTeachFlag": true, "ReadingModelId": 12356, "SpeakingModelId": 235, "WritingLevelId": 404, "EvaluatedOn": "2018-12-12", "Language": "French", "NativeSpeakerFlag": false, "ReadingLevelId": 87, "SpeakingLevelId": 44, "AbleToTranslateFlag": false, "WritingModelId": 982, "ContentItemId": 1091, "SectionId": 6898, "EvaluationLocation": "Milpitas", "links": [ {...} ] }