Forum Discussion

shun888's avatar
shun888
Frequent Visitor
2 years ago
Solved

Syntax help for ADO API request

Hi,    I am trying to use the following GET command with a creation date range parameter but I am not too sure what the syntax is.   The naked GET request is: GET https://dev.azure.com/{organiza...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi shun888 ,

    Please update the codes as below and check if it can return the expected result...

    GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/pullrequests?minTime=2024-08-01T00:00:00Z&maxTime=2024-10-01T00:00:00Z&api-version=7.1-preview.1

    Best Regards