Answered

Services index

Hello

I want to use your web service to run the process from the outside

But I had a problem filling in the parameters and I do not know how to fill it

​/odata​/data​/processes({processId})​/start

{

"startParameters": [

{

"xpath": "string",

"type": "string",

"searchType": "string",

"value": "string",

"rows": [

{

"columns": [

{

"xpath": "FullName",

"type": "VarChar",

"value": "ali"

},

{

"xpath": "UserName",

"type": "VarChar",

"value": "ali"

},

{

"xpath": "ContactMail",

"type": "VarChar",

"value": "a@yahoo.com"

},

{

"xpath": "MyPassword",

"type": "VarChar",

"value": "1111"

}

]

}

]

}

]

}

Unfortunately, I did not understand anything from the swagger example

curl --location --request POST 'http://afshari-l/INSURANCE/odata/data/processes(74eef8ec-74fc-474d-968b-d9a1b26273ad)/start' \

--header 'accept: application/json' \

--header 'Content-Type: application/json' \

--header 'Authorization: Bearer 701dc2c0a94ba3745cec2be2bccafca7bd60d86b' \

--header 'Cookie: loginOptions=loginOption=alwaysAsk&userName=admon&domain=domain&expires=6/28/2022%208:40:20%20AM' \

--data-raw '{

"startParameters": [

{

"xpath": "CreateUser",

"type": "varchar",

"searchType": "string",

"value": "string",

"rows": [

{

"columns": [

{

"xpath": "FullName",

"type": "VarChar",

"value": "ali"

},

{

"xpath": "UserName",

"type": "VarChar",

"value": "ali"

},

{

"xpath": "ContactMail",

"type": "VarChar",

"value": "a@yahoo.com"

},

{

"xpath": "MyPassword",

"type": "VarChar",

"value": "1111"

}

]

}

]

}

]

}'

Comments (1)

photo
1

Dear Yousef,

Thank you for letting us know your questions. If you need help to understand what the values you need to change are, please look at the attached example and compare it with the example you find. Usually, you will need to change parameters such as "xpath" and "value;" and, while the example you are including in your question refers to possible parameters that your process might include, it is not set in stone.

For more information on sending json objects and connecting with Bizagi through web services, we recommend looking into the following articles that explain different connection services using Postman.

https://help.bizagi.com/bpm-suite/en/index.html?api_odata_start.htm

https://help.bizagi.com/bpm-suite/en/index.html?using-odata-with-openapi.htm

https://help.bizagi.com/bpm-suite/en/index.html?scim_update.htm

Kind regards,

Laura G