How to get tasks based on particular authorid/accountid

Hello, I am using a permanent access token to access Wrike API and fetching a particular task using the title parameter.
Example: https://www.wrike.com/api/v4/tasks/?title=XYZ Consulting Services

But in response to the above API Endpoint, I am getting 3 results that have the same title. However, all returned results have different unique accountId, So instead of fetching all 3 tasks, How can I get 1 task which has the title XYZ Consulting Services with a particular authorid/accountid ?



{
"kind": "tasks",
"data": [
{
"id": "IEADBSMNKSNKER",
"accountId": "IEBSMN",
"title": "XYZ Consulting Services",
"status": "Active",
"importance": "Normal",
"createdDate": "2020-11-05T10:19:06Z",
"updatedDate": "2021-12-08T08:35:44Z",
"dates": {
"type": "Planned",
"duration": 480,
"start": "2020-11-05T09:00:00",
"due": "2020-11-05T17:00:00"
},
"scope": "WsTask",
"customStatusId": "IEADBSMAAAAAA",
"priority": "1a77c8007fffffffffff9400"
},
{
"id": "IEAMNKQUISOYT",
"accountId": "IEADSMN",
"title": "XYZ Consulting Services",
"status": "Active",
"importance": "Normal",
"createdDate": "2021-04-25T16:23:23Z",
"updatedDate": "2021-12-07T00:33:34Z",
"dates": {
"type": "Planned",
"duration": 94560,
"start": "2021-04-01T09:00:00",
"due": "2021-12-31T17:00:00"
},
"scope": "WsTask",
"customStatusId": "IEADBSMNJMBB6D4E",
"priority": "22a3448000000000009400"
},
{
"id": "IEADKQUISO4Y",
"accountId": "IEDSMN",
"title": "XYZ Consulting Services",
"status": "Completed",
"importance": "Normal",
"createdDate": "2021-04-25T16:23:23Z",
"updatedDate": "2021-12-07T00:33:34Z",
"dates": {
"type": "Planned",
"duration": 94560,
"start": "2021-04-01T09:00:00",
"due": "2021-12-31T17:00:00"
},
"scope": "WsTask",
"customStatusId": "IEADBSMNJMBB6D4E",
"priority": "22a8000000000009400"
}
]
}


 

1
1 commentaire
Spot On Innovative Approach Stellar Advice
Avatar

Hi Vikas Jagdale, welcome to the Community!

Thank you for posting, I see that you're also in touch with our Support team. Please don't hesitate to let us know if you have any further questions. If you'd like to know more about Wrike's Community please check out our New to Community forum 🙋🏻‍♀️

Cansu Community Team at Wrike Wrike Product Manager En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

Cansu Wrike Team member En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

0
Actions pour les commentaires Permalien

Folllowing List for Post: How to get tasks based on particular authorid/accountid
[this list is visible for admins and agents only]

Haut de la page
Didn’t find what you were looking for? Write new post