Attaching files in BP through BP Update using REST API
Hi,
I am trying to update a BP record with attachments using the
syntax as given in the Unifier_Integration_Interface guide (Version 22 Feb 2023, Page 587-88)
in our server using PUT at URL
https://<servername>/ws/rest/service/v1/bp/record/file
{
"options": {
"bpname": "Agreements"
},
"data": [
{
"record_no": "AGMT-006041",
"status": "Open",
"attachment": [
{
"revision_no": null,
"issue_date": null,
"file_name": "EM210910-0283.jpg",
"title": "Test File 1"
},
{
"revision_no": null,
"issue_date": null,
"file_name": "EM210910-0278.jpg",
"title": "Test File 1"
},
{
"revision_no": null,
"issue_date": null,
"file_name": "EM210910-0284.jpg",
"title": "Test File 1"
}
]
}
]
}
Has anyone tried attaching the files using REST call and have been successful?