function <getContactDetails> is static now
function <getContactDetails> return a DataRecord instead of an array