Page 1 of 1

How to show dynaform in my web?

Posted: Thu Jan 10, 2019 2:42 am
by alireza
Hello.
I want to create an interface with rest api.
I can create new case. But how to get steps? How to show dynaform to user?
Thanks.

Re: How to show dynaform in my web?

Posted: Thu Jan 10, 2019 11:41 pm
by amosbatto
You can use this REST endpoint to get the steps in a task:
Get Steps for Task: GET /project/{prj_uid}/activity/{act_uid}/steps

As for getting the content of a dynaform, I'll add an endpoint to my extraRest plugin for that. Check back tomorrow.

Re: How to show dynaform in my web?

Posted: Wed Jan 16, 2019 7:37 am
by amosbatto
I haven't had a chance to document this yet, but if you download version 1.9 of my extraRest plugin, I have added an endpoint to get the fields of a Dynaform.

You can call it as:
http://{domain-or-ip}/api/1.0/{workspace}/extrarest/dynaform/{dyn_uid}
or
http://{domain-or-ip}/api/1.0/{workspace}/extrarest/dynaform/{dyn_uid}?app_uid={app_uid}&del_index={del_index}

I will try to document this tomorrow.

Re: How to show dynaform in my web?

Posted: Thu Jan 17, 2019 1:49 am
by amosbatto