Source

This page was generated with Wiki Builder. Do not change the format!

Info

Returns a list of Destiny memberships given a full Gamertag or PSN ID.

Parameters

Path Parameters

Name Schema Required Description
displayName string Yes The full gamertag or PSN id of the player. Spaces and case are ignored.
membershipType BungieMembershipType:Enum Yes A valid non-BungieNet membership type, or All.

Query String Parameters

None

Example

Request

GET https://www.bungie.net/Platform/Destiny2/SearchDestinyPlayer/{membershipType}/{displayName}/

Response

PlatformErrorCode: 200

{
    // Type: UserInfoCard[]
    "Response": [
       // Type: UserInfoCard
        {
            // Type: string
            "supplementalDisplayName": "",
            // Type: string
            "iconPath": "",
            // Type: BungieMembershipType:Enum
            "membershipType": {},
            // Type: integer:int64
            "membershipId": 0,
            // Type: string
            "displayName": ""
        }
    ],
    // Type: PlatformErrorCodes:Enum
    "ErrorCode": 0,
    // Type: integer:int32
    "ThrottleSeconds": 0,
    // Type: string
    "ErrorStatus": "",
    // Type: string
    "Message": "",
    // Type: Dictionary<string,string>
    "MessageData": {
        "{string}": ""
    },
    // Type: object
}

References

  1. https://bungie-net.github.io/multi/operation_get_Destiny2-SearchDestinyPlayer.html#operation_get_Destiny2-SearchDestinyPlayer