public IHttpActionResult GetEquipmentById(string equipmentId)
        {
            try
            {
                int companyId = GetCompanyIdFromToken();
                if (!General.IsEquipmentUnderCompany(equipmentId, companyId))
                {
                    return(Unauthorized());
                }

                EquipmentModels equipmentModel = new EquipmentModels();
                return(Ok(equipmentModel.getEquipmentByIdReadonly(equipmentId)));
            }
            catch (Exception ex)
            {
                StringBuilder logMessage = LogUtility.BuildExceptionMessage(ex);
                string        logAPI     = "[Get] " + Request.RequestUri.ToString();
                Startup._sfAppLogger.Error(logAPI + logMessage);

                return(InternalServerError());
            }
        }