REST API PUT to a bp record line item does not add an attachment to existing line item
Oracle Primavera Unifer
Version: 25.2 b-01302025-22
The exact same call with "LineItemIdentifier": null will create a line item and add the attachment but if you specify the identifier and put a line item for it to update only the data gets updated. the attachment is not added. returns 200 success and no errors in the audit. any help would be really appreciated.
sample payload
{ "options": { "project_number": "ProjectNumber", "bpname": "bp", "LineItemIdentifier": null }, "data": [ { "record_no": "REC", "_bp_lineitems": [ { "uuu_tab_id": "tab", "uuu_name": "name", "_attachment": [ { "file_name": "test.txt", "title": "test", "issue_date": "05/10/2025", "revision_no": "1" } ] } ] } ], "_attachment": { "zipped_file_name": "test.zip", "zipped_file_size": "126", "zipped_file_content": "UEsDBBQAAAAAALR1iloMfn/YBAAAAAQAAAAMAAAAUmVjb3ZlcnkudHh0dGVzdFBLAQIUABQAAAAAALR1iloMfn/YBAAAAAQAAAAMAAAAAAAAAAEAIAAAAAAAAABSZWNvdmVyeS50eHRQSwUGAAAAAAEAAQA6AAAALgAAAAAA" }}