Pulling of objects referring to a given object type with a given id

Hi I hope you are fine,

I would like to pull object linked to a document object via any property as shown in this image via COM API. So, I want to get projects, owner, customers and contact person