REST

Connector wont execute on REST call

Hello, i'm currently developing a C# client where I need to instance some process via REST API. I have no problem executing any task with contracts, but when any userTask has a connector (specifically a rest connector to another server of mine), this won't execute and its skipped while the task is completed sending me a success response (Code: 204). However, if I perform the tasks on the portal every connector works perfectly.
The method i'm expecting to execute both the task and connector is {API/bpm/userTask/:taskId/execution} sending the correspondent json with the contract.

Is it safe to use REST API Login with password in the URL

Hi guys,

The title is pretty clear : we have a doubt concerning security when we see that the Login REST API sends the user's password in the URL.

instantiation form data

is there a way to retrieve the caseId from an instantiation form?

I'm building the following URL:

/portal/resource/process/:processName/:processVersion/content/?id=:processID

with it, I open a browser that shows me the instantiation form for that process. I can complete the form and start a new case.
What I want is to be able to, through a REST GET request in my code, or something like that, be able to retrieve the newly created caseID. Is this even possibel?

Search task by date

Hi.

I need to search tasks where reached_state_date > "xyz" using REST API
Can't find it in documentation
http://documentation.bonitasoft.com/6.x-7.2/bpm-api-849#humantask

version 7.2

Can anyone help me please?!

Bonita REST Connector PUT errors

Hi guys,

I'm trying to use the REST connector (Bonita 7.4.1) to call a PUT method.

I created a mock with SoapUI that just returns a Code200 response.

Connector config :
PUT URL : http://localhost:9080/ClientRequest/123
Type : application/json
Charset : UTF-8
Payload : {"status" : "TO_VALIDATE", "tadkId" : "123"}

Get connectors of a process Instance through REST

I want to retrieve the connectors attached to a process Instance. I'm trying with this: /bonita/API/bpm/connectorInstance?p=0&f=caseId={caseID}

but the filter does not work. I know the documentation doesn't refer to this filter (http://documentation.bonitasoft.com/?page=bpm-api#toc33), but I can't seem to be able to get the connectors of only that process instance any other way. I have tried /API/bpm/connectorInstance?p=0&c=10&f=id%3d{caseId}, as suggested in the docs, but with no luck.

Know all the inputs in a form

Hi all,
Is there a way to know all the inputs in a form, either mandatory or not, through the REST API? Bare in mind that I know how I can obtain the mandatory inputs (using the task contract), but I want the the not mandatory ones aswell.
Thanks in advance

Rest api Start a process using an instantiation contract gives 415 Unsupported Media Type

Hi...

I am trying to use REST for start process but bonita returns error 415 Unsupported Media Type. I am using jquery for do it

Retrieve a comment on a case by REST API

Hi,

How can I get/post process comments by rest api.
I could not find anything in the document v7.2, But I found this page (v6.0)

bpm >
comment: A comment attached to an active instance of a process.
archivedComment: A comment attached to an archived instance of a process.

How to use bonita forms in external app

Hi,

I want to create custom application with use of bonita software, I already know that I can communicate with bonita via Rest API but I need to know how to display forms created in UI Designer in my application (via Rest API method ?). I wander whether it is possible to create application outside bonita world which will use all bonita features.

Notifications