Assign PV inside API.