return companyid on get