// v1.x
$response = $graphClient->createRequest('GET', '/users/userId/messages')
->setReturnType(Model\User::class)
->execute();
// v2.0-RC
$response = $graphServiceClient->usersById('userId')->messages()->get()->wait();
Created
July 6, 2022 19:51
-
-
Save sebastienlevert/d74f2a99ec6093669f905b5007e6cfdf to your computer and use it in GitHub Desktop.
Request Builder sample for Microsoft Graph PHP SDK 2.0.0-RC5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment