Query TN for bizdoc - Elements of bizdoc

How to query TN to obtain bizdoc information?

documentQuery and CreatedocumentQuery services to be used in conjunction