Hi,
I'm trying to use CustomRequest to create a team from an already existing group (an education class, really), as there is still no teams implementation in the SDK.
The problem is that the CustomRequest class does not provide a put method. And setting the httpMethod in the GraphClient is useless, as far as I'm concerned.
I have modified the CustomRequest class including the put method, and it works fine, but it would be great if it where included in the project.
Expected behavior
CustomRequest teamRequest = graphClient.customRequest("/groups/" + educationClass.id + "/team").buildRequest();
JsonObject jsonRequestBody...
JsonObject result = teamRequest.put(jsonRequestBody);
Actual behavior
CustomRequest teamRequest = graphClient.customRequest("/groups/" + educationClass.id + "/team").buildRequest();
JsonObject jsonRequestBody...
JsonObject result = teamRequest.???(jsonRequestBody); --> No PUT method available
Hi,
I'm trying to use CustomRequest to create a team from an already existing group (an education class, really), as there is still no teams implementation in the SDK.
The problem is that the CustomRequest class does not provide a put method. And setting the httpMethod in the GraphClient is useless, as far as I'm concerned.
I have modified the CustomRequest class including the put method, and it works fine, but it would be great if it where included in the project.
Expected behavior
CustomRequest teamRequest = graphClient.customRequest("/groups/" + educationClass.id + "/team").buildRequest();
JsonObject jsonRequestBody...
JsonObject result = teamRequest.put(jsonRequestBody);
Actual behavior
CustomRequest teamRequest = graphClient.customRequest("/groups/" + educationClass.id + "/team").buildRequest();
JsonObject jsonRequestBody...
JsonObject result = teamRequest.???(jsonRequestBody); --> No PUT method available