Forum Discussion
shun888
2 years agoFrequent Visitor
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...
- Anonymous2 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.1Best Regards
Anonymous
2 years agoNot applicable
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
shun888
2 years agoFrequent Visitor
That worked thanks for the help!