Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] startDate&endDate returned by service should be in ISO 8601 format #33009

Open
ChenxiJiang333 opened this issue Mar 5, 2025 · 0 comments
Labels
Billing bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@ChenxiJiang333
Copy link
Member

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/billingAccount.json#L895

API Spec version

2024-04-01

Describe the bug

By the swagger definition, startDate&endDate of EnrollmentDetails were defined as date-time which should follow the iso-8601 protocol, or it would cause deserialization error in the SDK.

Expected behavior

All properties which defined as date-time should follow iso-8601 format in service response.

Actual behavior

It returns in format like {'startDate': '3/31/2015 12:00:00 AM +00:00', 'endDate': '3/31/2018 12:00:00 AM +00:00'} which would cause deserialization error.

Reproduction Steps

Call api: https://learn.microsoft.com/en-us/rest/api/billing/billing-accounts/list?view=rest-billing-2024-04-01&tabs=HTTP

Environment

No response

@ChenxiJiang333 ChenxiJiang333 added bug This issue requires a change to an existing behavior in the product in order to be resolved. Billing Service Attention Workflow: This issue is responsible by Azure service team. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Billing bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

1 participant