Description:
Gets record of given instance id.
Input Variables:
$session_id, $primary_id
Parameters (in $params):
None
Output:
Returns record of APS instance.