รายการ Method ทั้งหมดของ REST API และคำอธิบายการทำงานของฟังก์ชันการทำงานของ API

Execute Flow

API สำหรับการเริ่ม microflow ผู้ใช้งานจะเรียกใช้ API ชุดนี้สำหรับ execute 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

API สำหรับการรีเฟรชแคช Business Objects ผู้ใช้งานสามารถใช้ service นี้เมื่อ BO structure มีการเปลี่ยนแปลง การรัน API ชุดนี้จะเป็นการอัปเดต BO บน runtime.

Execute class action for specific flow

API ชุดนี้ใช้เมื่อผู้ใช้งานต้องการที่ execute action บางอย่างสำหรับ flow ที่เฉพาะเจาะจง

Last updated