AleksandarLazic
3 years agoQrew Member
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
Thanks in advance
Alex
------------------------------
Aleksandar Lazic
------------------------------
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?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
Thanks in advance
Alex
------------------------------
Aleksandar Lazic
------------------------------