I see the code to add member to team using the class AddMembersTeamRequest. But how to add member to a team HTTPClient in web API C#.
I have tried using the uri
/api/data/v9.2/teams('{teamid}')/Microsoft.Dynamics.CRM.AddMembersTeam
but I get the error 'error in query syntax'.
how to pass the userids in the content?
Pleas look at this question: https://stackoverflow.com/a/65746179/5616374
Besides, you can perform the
AddTeamMemberwithAddMembersTeamRequestwhich should look like this:Hope it will be helpful.