The import command is used to import a Flow-fx object from YAML code.

JSON Input Data Format
{
    "id": string,
    "yaml": string
}
id * Specifies the ID of the Flow-fx object.
yaml * Specifies the YAML code that will be imported as Flow-fx object.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}