Skip to main content
Solved

Using Startswith para to retrieve project tasks

  • Jun 11, 2024 5:30 PM UTC
  • 1 reply
  • 77 views
  • Translate All

Driss
Jr Varsity III
Forum|alt.badge.img

Hi There

 

Hope you are doing well

 

I’m trying to retrieve project tasks based on some parameters but it throwing the error

 

Endpoint : /ProjectTask?$filter=startswith(ProjectTaskID, '0LED') and ProjectID eq '000407'

 

but the error i’m receiving is : 

 

  "exceptionMessage": "Incorrect syntax near the keyword 'AND'.",

 

 

Thanks

Best answer by Django

Do you have any issues if you remove the startswith and just specify one ProjectTaskID and one ProjectID?

And, just to confirm, you’re making a GET request?

View original

1 reply

Forum|alt.badge.img+8
  • Captain II
  • Answer
  • Jun 12, 2024 2:37 PM UTC

Do you have any issues if you remove the startswith and just specify one ProjectTaskID and one ProjectID?

And, just to confirm, you’re making a GET request?

Translate