You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

Document of Records payload fails if Attachment required.

Summary:

Hello

We are able to successfully create Document of Record and attachment using API (JSON).

But the issue is if the Document Type has Attachment required (Minimum Attachment > 0) in the setup, out APIs are failing. Looks like the Document of record is getting created first without attachment and it is failing.

Do you have a sample payload which works to create document of record with attachment.

Sample Payload. It works fine if Attachment is not required. We are using Base64coded for Attachment.

{
  "PersonNumber": "123456",
  "DocumentCode": "US_ADDRUS_Test",
  "DocumentName": "US_ADDRUS_Test",
  "DocumentType": "ADDRESSCHANGEUS",
  "links": [
    {
      "href": "child/attachments",
      "FileName": "Sample_TEST1231.pdf",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!