Calling the "Update BP with Attachment" API in Oracle Primavera Unifier, receiving a 200 OK response with "success", but the attachment is not visible in the front-end. Below is the request and response:
Request:
{ "options": { "bpname": "Change Order", "project_number": “999” }, "data": [ {
"record_no": “CON-00001.014” } ],
"_attachment": { "zipped_file_name": "abc.zip", "zipped_file_size": "7677", "zipped_file_content": “encoded base64 string of abc.zip file” } }
Response:
{
"data": [], "message": [ { "_record_status": "success", "record_no": “CON-00001.014” } ], "status": 200,
"rest_audit_id": 6375
}
Please let me know if you need anymore details.
Thanks
Sukrut