{
  "algorithm": {
    "parameters": [
      {
        "name": "instanceId",
        "type": "string"
      },
      {
        "name": "stepId",
        "type": "string"
      },
      {
        "name": "stepInstanceId",
        "type": "string"
      },
      {
        "name": "completeInfo",
        "type": "StepCompleteDescriptor"
      }
    ],
    "statements": [],
    "typeReturn": "StepInstance",
    "variables": []
  },
  "routing": {
    "method": "POST",
    "parameters": [
      {
        "bind": "instanceId",
        "in": "Path",
        "name": "instanceId",
        "remarks": "instance Id"
      },
      {
        "bind": "stepId",
        "in": "Path",
        "name": "stepId"
      },
      {
        "bind": "stepInstanceId",
        "in": "Path",
        "name": "stepInstanceId"
      },
      {
        "bind": "completeInfo",
        "in": "Body",
        "name": "completeInfo"
      }
    ],
    "path": "/instances/{instanceId}/steps/{stepId}/instances/{stepInstanceId}/complete",
    "remarks": "Complete the Execution Instance step instance",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "BadRequest",
        "httpStatus": "400",
        "remarks": "Bad Request"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "Error"
      }
    ]
  }
}