Source
This page was generated with Wiki Builder. Do not change the format!
Info
Returns the numerical id of a player based on their display name, zero if not found.
- URI: /Destiny/{membershipType}/Stats/GetMembershipIdByDisplayName/{displayName}/
- Basepath: https://bungie.net/d1/Platform
- Method: GET
- Service: Destiny
- Permissions: None
- Officially Supported: No
Parameters
Path Parameters
Name | Schema | Required | Description |
---|---|---|---|
membershipType | BungieMembershipType:Enum | Yes | The type of account for which info will be extracted. |
displayName | string | Yes | A valid PSN Id or Gamertag display name. |
Query String Parameters
Name | Schema | Required | Description |
---|---|---|---|
ignorecase | boolean | No | Default is false when not specified. True to cause a caseless search to be used. |
Example
Request
Response
PlatformErrorCode: 200
{
// Type: [#/components/schemas/Destiny.GetMembershipIdByDisplayName]
"Response": null,
// Type: PlatformErrorCodes:Enum
"ErrorCode": 0,
// Type: integer:int32
"ThrottleSeconds": 0,
// Type: string
"ErrorStatus": "",
// Type: string
"Message": "",
// Type: Dictionary<string,string>
"MessageData": {
"{string}": ""
},
// Type: object
}