call Rest API with python


I'm trying to call the rest REST API with python. Here is the code:

Bonita API

Dear All
How can I dominate the bonita API? I want to use the bonita APIs but I don't know how to use them in REST or anywhere else. is there any documentation or examples for using APIs?
Who has experience in this subject?


Delete a case from the Portal

I would Like to implement a scenario where a User is able to delete a case from the Portal.

I would like to use API to delete a case.
From the List of BPM Api's, There is a example as http://../API/bpm/case/ .

Now its mentioned that the Method is Delete. I assume that we need to change the action type of a button to Delete.

But What do I pass to the data sent on click . Do i send the API as data with correct case number.

Would a user have permission to execute the function ?

Upload document to instantiation form with other data as well,using api

how do i upload a document to my instantiation form,where i have other data as well like name,address etc. .I want to start a new case using an api call and for that i am using "/API/bpm/process/processDefID/instantiation" and sending the name and address as payload. i want to know how do i send the document data to instantiation form(in payload or call another api to upload document to instantiation form) as its mandatory to upload document in the instantiation form.

creating REST API in community Edition

Is it possible to create custom REST web service in community edition?

Alternative access to activity variable

I have a form that need to access an activity variable that store a result from a SQL query to populate a select widget, but using ../API/bpm/activityVariable/{{taskId}}/varname i'm getting 403 status result and the select widget stay empty.
Using ../API/bpm/caseVariable/{{taskId}}/varname i'm obtaining a string that need to be formatted in javascript for the select widget

There's a clean way to do this? the first form I describe works very well but i need to be administrator... any suggestions?


REST file upload not working on Bonitasoft 7.3 on JBOSS

I am able to upload a file in the studio version using the the REST API .../bonita/API/bpm/caseDocument

and then
"name": "Doc 1",
"fileName": "document_1.html",
"description": "draft"

[HTTP-POST] How to send data to the BDM using (Web-)REST-API?

Hello there dear Bonita-Community

My question regarding the implementation is whether it is possible to update a form, without explicitly fill out
the particular form. As described in the documentation, it is possible to access the Business Process
Model (bpm) and the Business Data Model (bdm) with the (Web-)REST-API. But i don't get how to update the specifically defined "attributes" in the bdm.

Is this possible?

Acceder a variables de casos archivados API REST (v6.2.3)

estoy intentando acceder a las variables de un caso archivado a traves de la API Rest, pero no logro encontrar la manera de hacerlo... estoy utlizando la version 6.2.3 de Bonita... alguien sabe si existe algun metodo para obtener ese dato??

Muchas gracias!

How to redirect to different URL using bonita

Currently, I am looking for a Bonita server side solution to redirect to different URL.

There is a middleware(web) developed by our company. As a requirement, I need to call this middleware from my app. Then based on the response of that, I need to redirect to application home page.

How can I achieve this using Bonita?
Can I do this using REST API extension(Like in JPS redirect)?