Skip to main content
Solved

Using Startswith para to retrieve project tasks

  • June 11, 2024
  • 1 reply
  • 41 views

Driss
Jr Varsity III
Forum|alt.badge.img
  • Jr Varsity III
  • 29 replies

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
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+6
  • Captain II
  • 551 replies
  • Answer
  • June 12, 2024

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?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings