Identifier of the user whose resource is being accessed. Must match the authenticated user. The possible values are “me”, xuid(), or gt().
targetid
string
Identifier of the user whose data is being retrieved from the owner’s People list, either an XBOX User ID (XUID) or a gamertag. Example values: xuid(2603643534573581), gt(SomeGamertag).
| Header| Description|
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| X-RequestedServiceVersion| Build name/number of the XBOX LIVE service to which this request should be directed. The request will only be routed to that service after verifying the validity of the header, the claims in the auth token, etc. Default value: 1.|
| Accept| String. Content-Types that the caller accepts in the response. All responses are application/json.|
The service returns one of the status codes in this section in response to a request made with this method on this resource. For a complete list of standard HTTP status codes used with XBOX Live Services, see Standard HTTP status codes.| Code| Reason phrase| Description|
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 200| OK| Success.|
| 400| Bad Request| User IDs were malformed.|
| 403| Forbidden| XUID claim could not be parsed from the authorization header.|
| 404| Not Found| Target user was not found in the owner’s People list.|