{
 "openapi": "3.1.0",
 "info": {
  "title": "Forecast Board (CRM)",
  "version": "20261030b",
  "description": "Quota, closed, commit, best case and pipeline for you and the people who report to you: attainment, weighted pipeline and coverage, your call for the period, and how past calls compared with what closed."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/crm/forecast-board": {
   "get": {
    "summary": "Read forecast board",
    "operationId": "action_forecast_board_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/crm/forecast-board/deals": {
   "get": {
    "summary": "Deals",
    "operationId": "action_forecast_board_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/crm/forecast-board/submit": {
   "post": {
    "summary": "Submit",
    "operationId": "action_forecast_board_0_5",
    "description": "Body keys: periodId*, forecastCommit, forecastBestCase, notes",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/crm/forecast-board/roll-up": {
   "post": {
    "summary": "Roll up",
    "operationId": "action_forecast_board_0_5",
    "description": "Body keys: periodId*, forecastCommit, forecastBestCase, notes",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/crm/forecast-board/{id}/adjust": {
   "post": {
    "summary": "Adjust",
    "operationId": "action_forecast_board_0_6",
    "description": "Body keys: adjustedCommit, adjustedBestCase, note",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/crm/forecast-board/snapshot": {
   "post": {
    "summary": "Snapshot",
    "operationId": "action_forecast_board_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/crm/forecast-board/history": {
   "get": {
    "summary": "History",
    "operationId": "action_forecast_board_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}