Wednesday, March 3, 2021

How to export all Person Image details using REST API from Oracle HCM Cloud environment

 

Steps to export all Person Image details using REST API from Oracle HCM Cloud environment:


Step 1: 

We can use Postman or SOAP UI tool to test the requirement as below. In the "Image" attribute it will return Base64 encoded value of the image.

Operation: GET

URL: https://******************.oraclecloud.com/hcmRestApi/resources/11.13.18.05/emps

Parameter Tab: a> Key = fields 

                                      Value = PersonId,PersonNumber;photo:ImageId,Image

                            b> expand    = photo

                            c> onlyData = true

   Authorization Tab :    Pass Username and Password                     








Step 2: 

Used a decoder to decode Base64 encoded value to an Image as below.














No comments:

Post a Comment

How to get rid of "Exception during RestAction" error from Employee Self Service functionality while submitting Absence

 After RedWood is being applied, while navigating to Add Absence functionality under Me tab, if it is throwing an Rest error, then follow th...