Update recruiting job requisitions media links

patch

/hcmRestApi/resources/11.13.18.05/recruitingJobRequisitions/{recruitingJobRequisitionsUniqID}/child/mediaLinks/{mediaLinksUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Media Links in Recruiting Job Requisitions resource and used to uniquely identify an instance of Media Links in Recruiting Job Requisitions. The client should not generate the hash key value. Instead, the client should query on the Media Links in Recruiting Job Requisitions collection resource in order to navigate to a specific instance of Media Links in Recruiting Job Requisitions to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Recruiting Job Requisitions resource and used to uniquely identify an instance of Recruiting Job Requisitions. The client should not generate the hash key value. Instead, the client should query on the Recruiting Job Requisitions collection resource in order to navigate to a specific instance of Recruiting Job Requisitions to get the hash key.
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.
Supported Media Types
Request Body - application/json ()
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 ()
Back to Top

Examples

The following example shows how to update the media link of a job requisition by submitting a PATCH request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/json" -X PATCH -d payload http://host:port/hcmCoreApi/resources/11.13.18.05/recruitingJobRequisitions/BIREQ00P7-J2child/mediaLinks/00020000000EACED00057708000110F0844B3D060000000EACED00057708000110F0844B3D07

Example of Payload

The following is an example of the payload.

{
"Title": "Video Link REST-Updated"
}

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.

{
    "RequisitionMediaLinkId": 300100174429446,
    "MediaLinkId": "300100174429447",
    "Title": "Video Link REST",
    "Sequence": 1,
    "Type": "ORA_VIDEO",
    "Visibility": "ORA_BOTH",
    "IsShownOnOffers": "Y",
    "URL": "https://www.oreilly.com/library/view/oracle-jet-for/9781787284746/ef00c894-783d-467f-a159-a05f1d98fd1c.xhtml",
    "ThumbnailURL": null,
    "CreatedBy": "TM-MFITZIMMONS",
    "CreationDate": "2019-02-20T19:00:17+00:00",
    "LastUpdatedBy": "TM-MFITZIMMONS",
    "LastUpdateDate": "2019-02-20T19:00:17.052+00:00",
    "links": [4]
        {...
	...}
}
Back to Top