{
  "algorithm": {
    "parameters": [
      {
        "name": "salesTeamId",
        "type": "string"
      },
      {
        "name": "channel",
        "type": "Reference"
      }
    ],
    "statements": [],
    "typeReturn": "SalesTeamChannel",
    "variables": []
  },
  "routing": {
    "method": "POST",
    "parameters": [
      {
        "bind": "salesTeamId",
        "in": "Path",
        "name": "salesTeamId",
        "remarks": "salesTeamId"
      },
      {
        "bind": "channel",
        "in": "Body",
        "name": "channel",
        "remarks": "channel"
      }
    ],
    "path": "/salesTeams/{salesTeamId}/channels",
    "remarks": "Associate new channel to sales team",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "Ok"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      },
      {
        "errorName": "NotAcceptable",
        "httpStatus": "406",
        "remarks": "Not Acceptable"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "500 message"
      }
    ]
  }
}