You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche API - Configuring a DELETE Task Call in Laserfiche Cloud Web Request Rules

asked on September 23, 2024 Show version history

I am trying to make this DELETE call from the Laserfiche API using a Web Request Rule. However, I am not sure how to send the array of taskIds? When making a POST call, a new "Content Body" field pops up where you can add data but DELETE does not have this option.

0 0

Answer

SELECTED ANSWER
replied on September 24, 2024 Show version history

Thank you this led me down the right path! I played around with it and the exact format for multiple taskIds ("a" and "b") would look like:

https://api.laserfiche.ca/repository/v2/Repositories/r-00010e01c820/Tasks?taskIds=a&taskIds=b 
0 0

Replies

replied on September 24, 2024

TaskIds are sent using query params, not in a request body, so you should be able to add them to the URL directly

https://api.laserfiche.com/repository/v2/Repositories/{repoId}/Tasks?taskIds={taskId}

1 0
SELECTED ANSWER
replied on September 24, 2024 Show version history

Thank you this led me down the right path! I played around with it and the exact format for multiple taskIds ("a" and "b") would look like:

https://api.laserfiche.ca/repository/v2/Repositories/r-00010e01c820/Tasks?taskIds=a&taskIds=b 
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.