Hello,
there's no real list where you can find easily those IDs.
@m_adam came with this idea :
open the Script log (menu script > script log) and click the button you want to call.
in the console you will see something like
c4d.CallButton(tool(), c4d.MDATA_NEWTRANSFORM)
so you know that the ID is c4d.MDATA_NEWTRANSFORM
Another place to look for, is the folder ressource/modules where you can find the files .res that build the ui. (using your OS search function will help a lot) Openning those file you will find the information
BUTTON MDATA_NEWTRANSFORM { FIT_H; }
and you can maybe open the file with the same name with the extention .h where you will find the id
MDATA_NEWTRANSFORM = 701, // Button
Other than that, there are the enums on the documentation like this page but it's not really "user friendly"
Let me know.
Cheers
Manuel