> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFLeaderboardsGetLeaderboardForEntitiesRequest

> Reference for the PFLeaderboardsGetLeaderboardForEntitiesRequest struct in the PlayFab Services C API, used to request rankings for a set of entity IDs.

PFLeaderboardsGetLeaderboardForEntitiesRequest data model. Request a leaderboard limited to a collection of entities.

## Syntax

```cpp theme={null}
typedef struct PFLeaderboardsGetLeaderboardForEntitiesRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* const* entityIds;  
    uint32_t entityIdsCount;  
    const char* leaderboardName;  
    uint32_t const* version;  
} PFLeaderboardsGetLeaderboardForEntitiesRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`entityIds`**   const char\* const\*

Collection of Entity IDs to include in the leaderboard.

**`entityIdsCount`**   uint32\_t

Count of entityIds

**`leaderboardName`**   const char\*<br />*is null-terminated*

Name of the leaderboard.

**`version`**   uint32\_t const\*<br />*may be nullptr*

(Optional) Optional version of the leaderboard, defaults to current.

## Requirements

**Header:** PFLeaderboardsTypes.h

## See also

[PFLeaderboardsTypes members](/services/playfab/api-references/c/pfleaderboardstypes/pfleaderboardstypes_members)


## Related topics

- [PFLeaderboardsGetLeaderboardForEntitiesAsync](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesasync.md)
- [Services C API overview - PFLeaderboardsTypes.h](/services/playfab/api-references/c/pfleaderboardstypes/pfleaderboardstypes_members.md)
- [PFLeaderboardsGetEntityLeaderboardRequest](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsgetentityleaderboardrequest.md)
- [PFLeaderboardsGetLeaderboardAroundEntityRequest](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsgetleaderboardaroundentityrequest.md)
- [PFLeaderboardsGetFriendLeaderboardForEntityRequest](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsgetfriendleaderboardforentityrequest.md)
