Active contraction of smooth muscle results in the myogenic response and vasomotion of arteries, which adjusts the blood flow and nutrient supply of the organism. It involves coupled electrobiochemical and chemomechanical processes. This paper presents a new constitutive model to describe the myogenic response of the artery wall under different transmural pressures. The model includes two major components: a cell-level model for the electrobiochemical process, and a tissue-level model for the chemomechanical coupling. The electrochemical model is a lumped Hodgkin-Huxley-type cell membrane model for the nanoscopic ionic currents: calcium, sodium, and potassium. The calculated calcium concentration serves as input for the chemomechanical portion of the model; its molecular binding and the reactions with other enzymes cause the relative sliding of thin and thick filaments of the contractile unit. In the chemomechanical model, a new nonlinear viscoelastic model is introduced to describe the time varying behavior of the smooth muscle. Specifically, this model captures the filament overlap effect, active stress evolution, initial velocity, and elastic recoil in the media layer. Using the proposed constitutive model and a thin-walled equilibrium equation, the myogenic response is calculated for different transmural pressures. The integrated model is able to capture the pressure-diameter relationship incorporating fewer parameters than previous work and with clear physical meanings.