What is the Workflow Tasks Submit API?
The API is used to submit workflow tasks.
API Calling
The API is used to submit workflow tasks.
Request URL: https://api.jodoo.com/api/v1/workflow/task/approve
Request Frequency: 20 times per second
Request Method: POST
Request Parameters:
Parameter | Required | Type | Description |
username | Yes | String | It refers to the User No. in Contacts. |
instance_id | Yes | String | Instance ID, the same as data_id |
task_id | Yes | String | Task ID (should correspond with the username) |
comment | No | String | Approval comment |
Sample Request:
{ "username": "david", "instance_id": "6358a65878b1fb0007aba61b", "task_id": "6358a65878b1fb0007aba63c" }
Response Parameters:
Parameter | Type | Description |
status | String | success: indicating that the API call is successful
failure: Indicating that the API call failed (with the error code and its description) |
code | Number | Error code |
message | String | Description of return code |
Sample Responses:
Success Response Sample
{ "status": "success" }
Failure Response Sample
{ "code": 1010, "message": "User Not Found", "status": "failure" }
I have finished reading. 🏆
👉I can't wait to SET THE API.
👉I need more HELP in Discord Forum.