{
  "algorithm": {
    "parameters": [
      {
        "name": "instanceId",
        "type": "string"
      },
      {
        "name": "eventName",
        "type": "string"
      },
      {
        "name": "data",
        "type": "RaiseEventInfo"
      }
    ],
    "statements": [],
    "typeReturn": "ExecutionInstance",
    "variables": []
  },
  "routing": {
    "method": "POST",
    "parameters": [
      {
        "bind": "instanceId",
        "in": "Path",
        "name": "instanceId",
        "remarks": ""
      },
      {
        "bind": "eventName",
        "in": "Path",
        "name": "eventName",
        "remarks": ""
      },
      {
        "bind": "data",
        "in": "Body",
        "name": "data",
        "remarks": ""
      }
    ],
    "path": "/instances/{instanceId}/events/{eventName}",
    "remarks": "Raise event by Instance",
    "responses": [
      {
        "httpStatus": "201",
        "remarks": "OK"
      },
      {
        "errorName": "BadRequest",
        "httpStatus": "400",
        "remarks": "Bad request"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "Error"
      }
    ]
  }
}