how to add expense items via API
Hello everyone, i've been checking oracle API Documentation for creating expenses and ive seen that i can add expense records for an existing expense report via PI, but the example the documentation gives is not working
the sevice is:
https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseReports/{expensereportID}/child/Expense
when i use the example format
{
"Expense": [
{
"ExpenseTemplate": "Travel",
"ExpenseType": "Car Rental",
"ReceiptAmount": 134,
"ReceiptCurrencyCode": "USD",
"ReimbursableAmount": 134,
"Location": "United States",
"Description":"JKK",
"ReimbursementCurrencyCode": "USD"
}
]
}
i get Invalid attribute "Expense" in the payload. error
is there a way to add many expenses records to an existing expense book in a single request?