Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Creating an Attachment to an Expense Item via Rest API — Cloud Customer Connect
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

Creating an Attachment to an Expense Item via Rest API

Received Response
1
Views
1
Comments
edited Oct 4, 2021 8:30PM in Expenses 1 comment

Summary:


Content (required):

Has anyone had success posting a payload for this rest api?


"Create an attachment record for a specific attachment identifier"

/fscmRestApi/resources/11.13.18.05/expenseReports/{expenseReportsUniqID}/child/Expense/{ExpenseUniqID}/child/Attachments



We're getting a 400 Bad Request "Unable to Parse Payload" when we attempt to send the response.


This is our payload


"Expense": [

{:

"Attachments":[

{:

"DatatypeCode":"Text",

"CategoryName":"Receipts",

"FileName":"test"

"FileContents":"test",

"Title":"test",

"Description":"test"

}:

]:

}:

]:

}:


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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