Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Outlook - Large file/attachment upload response contains pascal cased property while camel case is expected. #39

Open
nikithauc opened this issue Dec 11, 2020 · 1 comment
Assignees

Comments

@nikithauc
Copy link

https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=javascript

Example from the documentation -
`HTTP/1.1 200 OK
Content-type: application/json

{
"@odata.context":"https://outlook.office.com/api/v2.0/$metadata#Users('a8e8e219-4931-95c1-b73d-62626fd79c32%4072aa88bf-76f0-494f-91ab-2d7cd730db47')/Messages('AAMkADI5MAAIT3drCAAA%3D')/AttachmentSessions/$entity",
"ExpirationDateTime":"2019-09-25T01:09:30.7671707Z",
"NextExpectedRanges":["2097152"]
}

There are cases when responses with camel-case properties could be returned but this is not a consistent behavior.

The documentation needs update as well and the inconsistent pattern should be indicated in the documentation.

@petrhollayms
Copy link
Collaborator

Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage:

https://aka.ms/msgraphsupport or directly https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK.
Please let us know if this helps!

Note: We will close this repository on April 19, 2024.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants