Hello,
heading type in addCrossReference needs a Heading style and doesn't reference a heading number (it does an internal search to get the content based on style name), so it won't be useful for your needs. We always recommend using bookmarks to add cross-references, please check our previous reply.
Regards