Azure / Azure/azure-rest-api-specs

[BUG] Reservation Transactions - List By Billing Profile API required `EventDate` in `$filter`

Open
#29,544 1 comment 0 reactions 1 assignee Claimed by @bradenwatkins View on GitHub
bug customer-reported Mgmt question
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

### API Spec link

https://learn.microsoft.com/en-us/rest/api/consumption/reservation-transactions/list-by-billing-profile?view=rest-consumption-2023-05-01&tabs=HTTP

### API Spec version

2023-05-01

### Describe the bug

- REST API required `EventDate` but the document doesn't require the `$filter`

### Expected behavior

- Don't require the `EventDate` in `$filter`
- Or Update the document that requires the `EventDate` in `$filter`

### Actual behavior

- `$filter` required `EventDate`. When I don't pass the `$filter` the response raises error
- Response:
```{
"error": {
"code": "400",
"message": "EventDate should have beginning range value. (Request ID: 6eb6cf24-ea0b-4eaa-a426-4e7c161dab7e)"
}
}
```

### Reproduction Steps

1. Go `https://learn.microsoft.com/en-us/rest/api/consumption/reservation-transactions/list-by-billing-profile?view=rest-consumption-2023-05-01&tabs=HTTP`
2. `Sign in` with your Azure account
3. Input the `billingAccountId`, `billingProfileId`, `api-version`: `2023-05-01`
4. Click `Run` button

### Environment

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.