Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Document record REST API

Sree29Sep 27 2022

I am trying to upload the document record by using the REST API
/hcmRestApi/resources/11.13.18.05/documentRecords

{"PersonNumber": "10827",
  "DocumentCode": "GLB_BIRTH_2019-5-20-8-17-27",
  "DocumentName": "GLB_BIRTH_2019-5-20-8-17-27",
  "DocumentType": "Birth"
}

Then i am attaching the pdf
/hcmRestApi/resources/11.13.18.05/documentRecords/300002132767071/child/attachments

{
  "FileName": "Birth_Certificate.pdf"
}

This is creating the document of records in the system but it is getting loaded as empty.
Is there is any field that I need to pass during the payload to load the ocntent of the attachment ?
Also, I have tried both Postman and SOAPUI

Comments

Hiroshi Tonegawa May 31 2024

追加情報です。

リスナーからエラーメッセージでておりました。ただどうしたら良いのかわかりません。

そのlog(TNSLSNR.log)を添付しました。ここから原因、また対処法など解析できませんでしょうか?

大変困っております。よろしくお願いいたします。

TNSLSNR_496.log

1 - 1

Post Details

Added on Sep 27 2022
2 comments
504 views