API access to Branch and Merge function in PDM

Hi guys, 

I'm currently straggling to find any documentation or examples how to use branch and merge via API. Unfortunately without any luck so far..

Has anyone seen  anything? Please share

SolidworksApi/macros