List all methods of REST API and explain the API functionality
Execute Flow
This API is used to start the microflow. User invokes this function to execute a microflow
URL: http://[SERVER]:[PORT]/MicroflowRest/DoAction
HTTP Method: POST
HTTP Request Header: Content-Type: application/json
HTTP Request Body: {
"flowName":"[String : The microflow name]",
"appName":"[String: The application name]",
"uniqueId":"[String: The unique flow id]",
"snapVersion":"[String: snap version e.g."v.0.2.0"]",
"object":{ // pass the input BO of the flow
"RequestBO":
{
"requestData":"[String: data]"
}
}
}
HTTP Response Body: {
"exception":"[String: error message if not success]",
"responseStatus":"SUCCESS",
"responseObjectsMap":{
"ResponseBO":
{
"responseData":31.184504
}
},
"flowName":"ExchangeRate",
"flowId":"",
"tId":""
} Refresh Cache All
This API is used to refresh all the cached Business Objects. Users can use this service when the BO structure has changed to update the new BO on runtime.
Execute class action for specific flow
When user wants to execute some action for only a specific flow.
Last updated
