localvariables

Hi, i tried to use process variable in UI Form. To do this i used Bonita REST API for:
localVar ../API/bpm/activityVariable/{{task.id}}/localVar
processVar ../API/bpm/caseVariable/{{task.rootContainerId}}/processVar