Find Task by Permalink ID

Is it possible or is there any way to find a Task by the Permalink ID?

 

When you create a task in Wrike you are given the number of the task which is effectively the Perma ID, but the API requires the Actual Task ID.

 

Help is appreciated

0
9 commenti
Spot On Innovative Approach Stellar Advice
Avatar

Hey Doug, thanks for reaching out with this 🙂

You can enable job numbers in Wrike - that way, you'll be able to see task IDs (not permalinks) in the Table View, Task View, and can be used in the Search field. Here's the Help Center article on how to do it. 

Hope it helps and let me know if you have further questions 👐

Lisa Community Team at Wrike Become a Wrike expert with Wrike Discover

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

That did not help. Seems to be wayyyyy more characters on the example folder id from the APIv4 documentation.

{'errorDescription': 'Invalid Folder ID', 'error': 'invalid_request'}
0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

@Garrett Hi, thanks for reaching out and sorry for the long response!

I can see that you've already discussed this with our Support - please let me know if you have any further questions! 

Lisa Community Team at Wrike Become a Wrike expert with Wrike Discover

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Seems like what you're looking for is this: https://www.wrike.com/api/v4/tasks?permalink=https://www.wrike.com/open.htm?id=123456789... This will return the task in question (and the REAL id in the json response)

1
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi, I've tried to exactly do this, but only get an empty response with HTTP code 400 back

In case I enter some random string as permalink it correctly gives me an error message, but with a proper permalink I don't receive anything + the 400.

curl -i -H 'Authorization: bearer xxx' 'https://www.wrike.com/api/v4/tasks?permalink=https://www.wrike.com/open.htm\?id\=502053333'
HTTP/2 400
server: nginx
date: Tue, 01 Sep 2020 12:10:09 GMT

 

Is this no longer possible? Or am I doing something wrong?

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Jens Wübbenhorst, welcome to the Community!

I'm going to raise a ticket with our Advanced Support for you, they should be able to advise.

You'll receive a notification soon 👍

mdr

Lisa Community Team at Wrike Become a Wrike expert with Wrike Discover

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Jens Wübbenhorst, thanks for reaching out! This is Lisa from Wrike Support. I hope you don't mind if we handle the case in this thread - it might be helpful for other members in the future.

I have noticed that there are some backslashes in your call that are not included in the permalink format. Here is how the permalink looks like when you copy it from the Workspace: https://www.wrike.com/open.htm?id=xxxxxxxxx.

Please make sure the 9-digits match the ones in the existing task, remove the backslashed, and send the call once again.
You can use Postman to check your API syntax - please check out the call I made during my tests:


Let us know how it goes! 😉

mdrmdr

Lisa K. Community Team at Wrike Conosci le straordinarie funzionalità di Wrike e le best practices

1
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Lisa, thanks a lot. That was the issue. Not getting any error response was a bit confusing. There was no indication in which direction to debug.

But it's working now. Thanks again.

mdr

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi again Jens Wübbenhorst, we're happy to hear it helped! Please let us know if you have any other questions 👍

mdr

Lisa Community Team at Wrike Become a Wrike expert with Wrike Discover

0
Azioni per commenti Permalink

Folllowing List for Post: Find Task by Permalink ID
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post