how to start a case with PHP CURL and API REST?

Hi every body! i would like to control workflow of bonita , so i don’t know what i have to do for do it?

regards

Hello,

i am interested in this question but have not answer. Someone can help?

I think you need a bit more explanation of what you are trying to to,

there are examples of how to use REST in the documentation here:

http://documentation.bonitasoft.com/product-bos-sp/rest-api

regards

I think you need a bit more explanation of what you are trying to to,

there are examples of how to use REST in the documentation here:

http://documentation.bonitasoft.com/product-bos-sp/rest-api

regards

Hi Sean McP!,

i will explain you what i’m doing now.

My main objective now is create a web page , that allow me to control a bonita process." control a bonita process" it means , that could me for example :

  • start a process from web page
    -receive the token in every moment and put this information in my web page
    -receive the information from de process in course.

the idea is to create a personal web page that is similar to bonita portal.

Now i’m using library PHP_CURL and a bonita documentation ,and i created a login system that allowed me to start a sesion in bonit API, the login system work well.

Now i have some questions:

-How i start a bonita process from my personal web page ?
I’m searched , how i can do this from the bonita documentation , but i didn’t have any response.

-now i’m using this sintax for obtain all information from user :

curl_setopt($conexio,CURLOPT_URL,$baseURL.‘/API/identity/user/1’);

i don’t like obtain the all information from user that he have id 1 , but i would like to obtain the all information from the user that is logged, so how i can do this .

Thanks for advanced ,

try to create a class and throught php curl library +API REST you can retrieve some information about users, process, cases and so on , you should review the documentation of API REST!