Reputation: 77
Iam creating one monitoring tool in C# winforms to get workflow run details(Success and failure count of runs) of Logic App. When iam using the below API call in httpclient i could get only 30 workflow run details.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs?api-version=2016-06-01
using postman tool also retrieves the same data.
Could you please let us know how to get all the run details for the specific workflow
Upvotes: 0
Views: 189
Reputation: 42123
You could not list all the data via this rest api, if it is acceptable, you could pass the $top
parameter(it has a PageSizeLimit
of 250
), the parameter decides the number of items to be included in the result. E.g 50
, then it will return 50
items in the result.
More details see this link,
Sample:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs?api-version=2016-06-01&$top=50
Upvotes: 1