XRefs, XRefs

I think change the Reference of Solidworks into EPDM .

But I can't find the API.

 Now I Execute SQL :

update XRefs
set XRefProjectID= 3 ,XRefDocument=3169
where DocumentID = 4202
and XRefProjectID=3009 
and XRefDocument=4201;

 how to use API?

My WeChat is 13616902256

SolidworksApi/macros