Calling workers image upload api obtain 400 (Unable to parse)
Summary:
Using POSTMAN to test the API https://docs.oracle.com/en/cloud/saas/human-resources/25a/farws/api-workers-photos.html
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/photos
Obtain
Unable to parse the provided payload
With simplest json possible:
{ "PhotoType": "PROFILE", "Photo": "/9j/4AAQSkZJRgABAoEJRTJP/2Q=="}
I use workersUniqId for parameter:
/hcmRestApi/resources/11.13.18.05/workers/00020000000EACED00057708000110D931D0E74E0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000195A166700078/child/photos
And
application/vnd.oracle.adf.resourceitem+json
as content type
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):