You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Graph SDK. After upgrading Graph Api to the latest version (5.3.0), I can no longer use QueryOptions to include more specific behavior during a request that is not supported by the library (e.g., add payment model /Model A/ to the request).
What can I use instead?
The text was updated successfully, but these errors were encountered:
This looks to be an issue with the metadata that needs to be fixed. In the meantime, the call can be made with the SDK as follows.
varrequestInformation=graphClient.Teams["{team-id}"].Channels.GetAllMessages.ToGetRequestInformation();requestInformation.UrlTemplate=requestInformation.UrlTemplate.Insert(requestInformation.UrlTemplate.Length-1,",model");requestInformation.QueryParameters.Add("model","A");//set the model parametervarresult=awaitgraphClient.RequestAdapter.SendAsync<GetAllMessagesResponse>(requestInformation,GetAllMessagesResponse.CreateFromDiscriminatorValue);
I am using Graph SDK. After upgrading Graph Api to the latest version (5.3.0), I can no longer use QueryOptions to include more specific behavior during a request that is not supported by the library (e.g., add payment model /Model A/ to the request).
What can I use instead?
The text was updated successfully, but these errors were encountered: