Creating an Attachment to an Expense Item via Rest API
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):
Tagged:
0