nareshishere | Posts: 74

send selected documents from a template created in Sandbox

0 votes
say i have created 10 documents in an template through sandbox , but i have to send only two documents out of it in run time using Rest API . How we can achieve this functionality through one span.

Duo_Liang | Posts: 3776

Reply to: send selected documents from a template created in Sandbox

0 votes
Hi nareshishere, For a quick workaround, after clone the package, you can delete the extra documents in a bulk:
DELETE /api/packages/{packageId}/documents
with an array of document IDs as the payload:
["01e3e197f2d54b2797cc40787976e1b135353b920c0b76c5","8407dc403dabb4e120a95ddfb385930a57c2586490781c26"]
Or you could create templates for each scenario and only call the appropriate template. Duo

nareshishere | Posts: 74

Reply to: send selected documents from a template created in Sandbox

0 votes
In our case the user will select respective documents out of which we on boarded in sandbox , so we need to send those documents alone . So creating templates in each scenario is difficult since we get those in run time . Do you have any api to select only few documents in a template while sending it . I tried giving certain document ids alone which need to be sent but its not working. "documents": [ { "id": "15657c0c6edb22100d4a0c632c722a2d9b35ca89dae3aa60", }, { "id": "75657c0c6edb22100d4a0c632c722a2d9b35ca89dae3aa61", }, ]

Duo_Liang | Posts: 3776

Reply to: send selected documents from a template created in Sandbox

0 votes
Hi nareshishere, This function "choose a subset of the documents" was used to work in previous version, however it's no longer the case in current implementation. I have already created a support ticket asking for a confirmation with Project Management team whether the function was removed by design and if it's possible to revert it. I will update this thread once I received any update. Duo

nareshishere | Posts: 74

Reply to: send selected documents from a template created in Sandbox

0 votes
Any updates

nareshishere | Posts: 74

Reply to: send selected documents from a template created in Sandbox

0 votes

Any updates 


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off