folderId from permalink

Wrike:

I know there is a way to call the API (v4), pass the parameter "permalink" along with a valid permalink string, and obtain some permalink data:

1) Where is the documentation for this? I looked under https://developers.wrike.com/ (under "methods") and could not find this information, although I know that this does work.

2) Is there a way to obtain the folderID for the corresponding permalink?

Thank you!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
3 comentarios

Hi Juan Villegas, thanks for reaching out with this 🙂

Indeed, there is no GET call to the "Permalink" endpoint, but the permalink parameter can be used with the "[GET] /folders" call in the "Get Folder Tree" method.

Therefore, it's possible to get folder/project details using permalink with an API query like this: GET /folders?permalink=https://www.wrike.com/open.htm?id=xxxxxxxxx. It returns the information about individual folder/project details (Folder ID, createdDate, title, etc):


Please let me know if you have any additional questions!

Lisa K. Community Team at Wrike Wrike Product Manager Conviértete en un experto de Wrike con Wrike Discover

Lisa K. Wrike Team member Conviértete en un experto de Wrike con Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hello Laura,

I went to the "Get Folder tree" method and I saw no reference anywhere about the "permalink" parameter or for that matter, any parameter of any method. 

  1. Could you please provide a link with complete documentation?
  2. It's my understanding that the ID pointed by the pink arrow above is really a "task ID", not a "folder ID". Could you please confirm? We are only using permalinks that point to "tasks", not "projects", or "folders", etc. I need to obtain the folder ID of the task so I can programmatically add subtasks to the task in question.

Thanks again for your help!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi Juan Villegas, thank you for elaborating on your use-case.

By clicking on each particular call you will expand the menu depicting the request which outlines all the parameters that you can use for the call, including "permalink": 

For the "Get Folder Tree" method, the ID that is returned is a folder ID. You can find the description of each response parameter on our Developers portal:​If you'd looking for a method to get a parent folder ID by a task permalink, you can use a "GET /tasks" call:
GET /tasks?permalink=https://www.wrike.com/open.htm?id=xxxxxxxxx&fields=[parentIds]

The parent folder ID is returned like this:

Hope it helps!

Lisa K. Community Team at Wrike Wrike Product Manager Conviértete en un experto de Wrike con Wrike Discover

Lisa K. Wrike Team member Conviértete en un experto de Wrike con Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: folderId from permalink
[this list is visible for admins and agents only]

Superior

Próximas sesiones en vivo

¿No encontraste lo que buscabas? Escribir nueva publicación