Robotic Process Automation (RPA)

 View Only

upload file to opentext issue

  • 1.  upload file to opentext issue

    Posted Mon July 24, 2023 07:45 PM
    Edited by khaled abed Mon July 24, 2023 07:47 PM

    i use the below request to upload file to opentext  from rpa 

    the file got uploaded but corrupted and the size always 1kb

    POST /cs/cs.exe/api/v1/nodes HTTP/1.1
     
    Host: hq-edmsotweb-01.kufpec.com
     
    otcsTicket: 182199c561dfcba8b3e85f36312df56a2cbfcb48f0c831d8beb93d40e8a482357eba79e3d1270f5fdf18f894270f695b9628847791d8d61f0a98b7af72288e13
     
    Content-Length: 556
     
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
     
     
     
    ------WebKitFormBoundary7MA4YWxkTrZu0gW
     
    Content-Disposition: form-data; name="file"; filename="/C:/Users/ho-smartetladmin/Downloads/Zamzama_daily_Report_July 08,2023.pdf"
     
    Content-Type: application/pdf
     
     
     
    (data)
     
    ------WebKitFormBoundary7MA4YWxkTrZu0gW
     
    Content-Disposition: form-data; name="body"
     
     
     
    { "name":"egeypt Workd Main report july 1463 test", "parent_id":3757851, "type":144, "roles":{ "categories": { "3760348":{ "3760348_12":"ORIENT PETROLEUM","3760348_10":"Geisum","3760348_3":"2023-07-08T13:30:00" } } } }
     
     
     
    ------WebKitFormBoundary7MA4YWxkTrZu0gW--



    ------------------------------
    khaled abed
    ------------------------------