For hotels just add you loyalty number on the reservation. If the stay is paid directly by the company, ie masterbilled, then chances are you won't get any points but you may get stay credit.
I once did 4 months at a Residence Inn that was masterbilled. I didn't get any points but did get stay credit that made me Platinum.