question

averroes avatar image
0 Votes"
averroes asked PramodValavala-MSFT answered

Problem with query for Azure API Management REST Report listing by SubscriptionID

My query on REST is: reports/bySubscription?$filter=subscriptionId eq '6050d0ee65c2fd148480d83a'&api-version=2019-12-01

This results in:

"error": {
"code": "ValidationError",
"message": "At least lower bound for timestamp field should be specified.",
"details": null
}

azure-api-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@averroes Based on error message, adding a lower limit by adding timestamp ge datetime'2021-03-18T00:00:00' to $filter should work

The final request would be reports/bySubscription?$filter=subscriptionId eq '6050d0ee65c2fd148480d83a' and timestamp ge datetime'2021-03-18T00:00:00'&api-version=2019-12-01

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.