{
  "algorithm": {
    "parameters": [
      {
        "name": "planId",
        "type": "string"
      },
      {
        "name": "args",
        "type": "ArgsExecPlanRetrieve"
      }
    ],
    "statements": [],
    "typeReturn": "PlanExecution",
    "variables": []
  },
  "routing": {
    "method": "GET",
    "parameters": [
      {
        "bind": "planId",
        "in": "Path",
        "name": "planId",
        "remarks": "planId"
      },
      {
        "bind": "args.scope",
        "in": "Query",
        "name": "scope",
        "remarks": "Filter by scope"
      },
      {
        "bind": "args.periods",
        "in": "Query",
        "name": "periods",
        "remarks": "Filter by period Ids. Ie: 1,2,5"
      }
    ],
    "path": "/plans/{planId}",
    "remarks": "Retrieve the plan",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "NotAcceptable",
        "httpStatus": "406",
        "remarks": "Not Acceptable"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "500 message"
      }
    ]
  }
}