# \[API V2\]What is mapping relation between character and event sourceID

**URL:** <https://forums.combatlogforums.com/t/api-v2-what-is-mapping-relation-between-character-and-event-sourceid/12277>\
**Category:** Warcraft Logs\
**Created:** [November 4, 2021, 2:31pm UTC](https://forums.combatlogforums.com/t/api-v2-what-is-mapping-relation-between-character-and-event-sourceid/12277 "2021-11-04T14:31:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xpdable](https://avatars.discourse-cdn.com/v4/letter/x/e495f1/32.png) [@xpdable](https://forums.combatlogforums.com/u/xpdable)\
**Post date:** [November 4, 2021, 2:31pm UTC](https://forums.combatlogforums.com/t/api-v2-what-is-mapping-relation-between-character-and-event-sourceid/12277/1 "2021-11-04T14:31:54Z")

</div>

[API V2]What is mapping relation between character and event sourceID

I used below graphql query to parse my raid performance. e.g.

```auto
query{
  reportData{
    report(code:"rwG81bzxZvg3mDN9"){
      rankings
      events(startTime:14089632,endTime:14920070,fightIDs:[84],dataType:Casts,limit:10000,abilityID:28499){
        nextPageTimestamp
        data
      }
    }
  }
}

```

There are sourceID from events but it is obviously not mapping to rankings character id.  
So how could I find which character cast something according to event sourceId?  
How is the event source ID created?

Thanks

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [November 4, 2021, 2:34pm UTC](https://forums.combatlogforums.com/t/api-v2-what-is-mapping-relation-between-character-and-event-sourceid/12277/2 "2021-11-04T14:34:02Z")

</div>

Get the masterData for the report.

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [November 4, 2021, 3:37pm UTC](https://forums.combatlogforums.com/t/api-v2-what-is-mapping-relation-between-character-and-event-sourceid/12277/3 "2021-11-04T15:37:32Z")

</div>

You can also set useActorIDs to false if you just want to get the detailed actor info without having to fetch the master data.
