I am trying to generate attachment with JSON file using REST API
Summary: How to add multiple rows in the excel file being attached to the request
Content (please ensure you mask any confidential information):
I am new to REST API and JSON, trying to use api "Generate a request attachment" (/epm/rest/v1/requests/{requestId}/attachments/generate)
the example body provided by oracle below, creates 1 single, record 1 header and 1 value, how to append more records/values in the file? As I want to have more than 1 rows in the column Name.
{
"fileName": "Request101.xlsx",
"items": [
{
"viewpoint": "All Depts",
"data": [
{
"header": "Name",
"value": "New name"
}
]
}
]
}
Version (include the version you are using, if applicable):
Tagged:
0