get https://sandbox.link.kiban.com/api/v1/workfloo/status/
API to get the status of a workfloo
Intro
With this API you can retrieve the specific status for an executed workfloo.
Important Points
Path Parameters
workflooId
Is necessary to send the workflooId to recover the specific request data.
Responses
This API will return the following structure in the response
Field | Description |
---|---|
name | The name of the workfloo |
status | The estatus of the workfloo, the possible values are: - SUCCESS, the execution ended successfully - PROGRESS, The execution is in progress and you must take actions to complete it - ERROR, An error occurred during execution |
currentNodeType | Indicates the current node type, values are: - LINK - FORM |
currentNodeName | indicates the name of the node (current step) |
currentNodeId | current node identifier |
link | If LINK is present in currentNodeType, the structure of the link service will be reported in this field. This structure may vary depending on the link service consumed. |
form | If the currentNodeType has FORM, this field will report the structure of the form that must be sent to continue with the execution. This structure may vary depending on the link service consumed. |
Not found
If you provide an Id that does not exist, as a wrong response you will receive an HTTP code 404 without a body.
{}
Unauthorized
It means that the provided API KEY is incorrect and you are not authorized to access it. You will not receive a body, only a 401 HTTP code.