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: string
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: string
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 TeachMaximum Length:30Able to teach indicator in recruiting candidate languages. -
AbleToTranslateFlag: boolean
Title:
Able to TranslateMaximum Length:30Able to translate indicator in recruiting candidate languages. -
Comments: string
(byte)
Title:
CommentsComments in recruiting candidate languages. -
ContentItemId: integer
(int64)
Title:
LanguageContent item ID in recruiting candidate languages. -
EvaluatedOn: string
(date)
Title:
Evaluated OnEvaluated on in recruiting candidate languages. -
EvaluationLocation: string
Title:
Evaluation LocationMaximum Length:240Evaluation location in recruiting candidate languages. -
Language: string
Maximum Length:
240Language in recruiting candidate languages. -
NativeSpeakerFlag: boolean
Title:
NativeMaximum Length:30Native speaker indicator in recruiting candidate languages. -
ReadingLevelId: integer
(int64)
Title:
ReadingReading level ID in recruiting candidate languages. -
ReadingModelId: integer
(int64)
Title:
Reading Rating ModelReading model ID in recruiting candidate languages. -
SectionId: integer
(int64)
Section ID in recruiting candidate languages.
-
SpeakingLevelId: integer
(int64)
Title:
SpeakingSpeaking level ID in recruiting candidate languages. -
SpeakingModelId: integer
(int64)
Title:
Speaking Rating ModelSpeaking model ID in recruiting candidate languages. -
WritingLevelId: integer
(int64)
Title:
WritingWriting level ID in recruiting candidate languages. -
WritingModelId: integer
(int64)
Title:
Writing Rating ModelWriting 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 TeachMaximum Length:30Able to teach indicator in recruiting candidate languages. -
AbleToTranslateFlag: boolean
Title:
Able to TranslateMaximum Length:30Able to translate indicator in recruiting candidate languages. -
Comments: string
(byte)
Title:
CommentsComments in recruiting candidate languages. -
ContentItemId: integer
(int64)
Title:
LanguageContent item ID in recruiting candidate languages. -
EvaluatedOn: string
(date)
Title:
Evaluated OnEvaluated on in recruiting candidate languages. -
EvaluationLocation: string
Title:
Evaluation LocationMaximum Length:240Evaluation location in recruiting candidate languages. -
Language: string
Maximum Length:
240Language in recruiting candidate languages. -
LanguageId: integer
(int64)
Language ID in recruiting candidate languages.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NativeSpeakerFlag: boolean
Title:
NativeMaximum Length:30Native speaker indicator in recruiting candidate languages. -
ReadingLevelId: integer
(int64)
Title:
ReadingReading level ID in recruiting candidate languages. -
ReadingModelId: integer
(int64)
Title:
Reading Rating ModelReading model ID in recruiting candidate languages. -
SectionId: integer
(int64)
Section ID in recruiting candidate languages.
-
SpeakingLevelId: integer
(int64)
Title:
SpeakingSpeaking level ID in recruiting candidate languages. -
SpeakingModelId: integer
(int64)
Title:
Speaking Rating ModelSpeaking model ID in recruiting candidate languages. -
WritingLevelId: integer
(int64)
Title:
WritingWriting level ID in recruiting candidate languages. -
WritingModelId: integer
(int64)
Title:
Writing Rating ModelWriting model ID in recruiting candidate languages.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
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.
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": [
{...}
]
}