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
Note: Currently the base URL returned in $ref results are incorrect. In order to process these URLs the client will need to convert the URL to a Graph URL.
72
89
73
90
### Retrieving an entity with a related entity included
74
91
75
92
```http
76
-
GET /users/{id}?expand=manager
93
+
GET /users/{id}?select=id,displayName&expand=manager(select=id,displayName)
94
+
95
+
200 OK
96
+
Content-Type: application/json
97
+
98
+
{
99
+
"id": "3f057904-f936-4bf0-9fcc-c1e6f84289d8",
100
+
"displayName": "Jim James",
101
+
"manager": {
102
+
"@odata.type": "#microsoft.graph.user",
103
+
"id": "6b3ee805-c449-46a8-aac8-8ff9cff5d213",
104
+
"displayName": "Bob Boyce"
105
+
}
106
+
}
77
107
```
78
108
79
109
### Creating an entity with a reference to a related entity
80
110
111
+
Create a new user that references an existing manager
0 commit comments