Workday SOAP API - Download event document

290 views Asked by At

I'm using Launch Integration which produces a PDF. When I used Get Event Documents, I can see a reference to the PDF that's created (including the file name, type, WID, and Document_ID), but it does not include the file itself (in Base64).

I expected to receive a Base64 stream of the document that I can save as the file. Is there another API call I should be making instead to access the file stream?

Edit: I do not have access to Workday Studio, only the API endpoints.

2

There are 2 answers

0
delta On BEST ANSWER

We were able to achieve this by using the following REST API endpoint: {{base_url}}/ccx/cc-blobitory/{{tenant}}/{{DocumentID}}, where the DocumentID was formatted cloud/ABC...123. Hope this is useful for others!

1
Wyatt Shipman On

If you are doing this in Workday Studio, you can use the Repository Document Document_ID field to retrieve the document.

Split the Document_ID on the "/" character like this:

Then, you can use the Retrieve mediation step to get the document from the repository. retrieve