We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to specify the "Select" QueryParameters in the GetAsync, but since it is using the DefaultQueryParamters, I can not use it.
In the Graph Explorer, I used the following query: https://graph.microsoft.com/v1.0/me/drive/items/{drive-item-id}/workbook/worksheets('Sheet1')/usedrange?$select=address
In the Code snippets, it generates the following code:
var result = await graphClient.Drives["{drive-id}"].Items["{driveItem-id}"].Workbook.Worksheets["{workbookWorksheet-id}"].UsedRange.GetAsync((requestConfiguration) => { requestConfiguration.QueryParameters.Select = new string []{ "address" }; });
But this is not available in the SDK.
The text was updated successfully, but these errors were encountered:
Thanks for raising this @kevinib
This looks to be an issue with the API metadata used to generate the SDK that lacks the information to generate the $select parameter.
$select
You can however work around this using the WithUrl as below.
WithUrl
var result = await graphClient.Drives["{drive-id}"].Items["{driveItem-id}"].Workbook.Worksheets["{workbookWorksheet-id}"].UsedRange .WithUrl("https://graph.microsoft.com/v1.0/me/drive/items/{drive-item-id}/workbook/worksheets('Sheet1')/usedrange?$select=address") .GetAsync();
Sorry, something went wrong.
No branches or pull requests
I'm trying to specify the "Select" QueryParameters in the GetAsync, but since it is using the DefaultQueryParamters, I can not use it.
In the Graph Explorer, I used the following query:
https://graph.microsoft.com/v1.0/me/drive/items/{drive-item-id}/workbook/worksheets('Sheet1')/usedrange?$select=address
In the Code snippets, it generates the following code:
But this is not available in the SDK.
The text was updated successfully, but these errors were encountered: