Forum Discussion

AleksandarLazic's avatar
AleksandarLazic
Qrew Member
3 years ago

How to upload a PDF sent by 3rd party app

Hi,
I need to upload a submission (service report) pdf file from FastField to an attachment field in QB.
FastField doesn't enable using URL in this case, so I cannot use Upload File from the QB Channel.
Instead of that, FF provides a Create PDF Report API (POST). I used both Fetch JSON and Webhook (Make Request) to call that API. In the response I really got the pdf file 

... Access-Control-Allow-Headers:"Content-Type"
Content-Type:"application/pdf" ...

but I don't know how to "pick it up" to QB.
Iterate over JSON Records doesn't work (because it is not JSON?): Validation error: Invalid JSON received

Do you have any hint?

Thanks in advance
Alex

------------------------------
Aleksandar Lazic
------------------------------
No RepliesBe the first to reply