Get Hit Rate (v2)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developers.smartpm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "SmartPM Public API MCP server": {
    "url": "https://developers.smartpm.com/mcp"
  }
}

Close
GET /public/v2/projects/{projectId}/scenarios/{scenarioId}/should-start-finish-hit-rate

Headers

  • X-COMPANY-ID string Required

    The company's unique ID

Path parameters

  • projectId integer(int64) Required
  • scenarioId integer(int64) Required

Query parameters

  • dataDate string
  • filterId array[integer(int64)]
  • activityCodeFilter array[integer(int64)]
  • startStatus string

    Values are DELETED, DID_NOT, LATE, ON_TIME, or SHOULD_NOT.

  • finishStatus string

    Values are DELETED, DID_NOT, LATE, ON_TIME, or SHOULD_NOT.

  • overallStatus string

    Values are DELETED, DID_NOT, LATE, ON_TIME, or SHOULD_NOT.

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • start object
      Hide start attributes Show start attributes object
      • total integer(int64)
      • hitRate number(double)
      • late integer(int64)
      • onTime integer(int64)
      • missed integer(int64)
    • dataDate string(date-time)
    • finish object
      Hide finish attributes Show finish attributes object
      • total integer(int64)
      • hitRate number(double)
      • late integer(int64)
      • onTime integer(int64)
      • missed integer(int64)
    • overall object
      Hide overall attributes Show overall attributes object
      • total integer(int64)
      • hitRate number(double)
      • late integer(int64)
      • onTime integer(int64)
      • missed integer(int64)
GET /public/v2/projects/{projectId}/scenarios/{scenarioId}/should-start-finish-hit-rate
curl \
 --request GET 'https://live.smartpmtech.com/public/v2/projects/{projectId}/scenarios/{scenarioId}/should-start-finish-hit-rate' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-COMPANY-ID: string"
Response examples (200)
[
  {
    "start": {
      "total": 42,
      "hitRate": 42.0,
      "late": 42,
      "onTime": 42,
      "missed": 42
    },
    "dataDate": "2026-05-04T09:42:00Z",
    "finish": {
      "total": 42,
      "hitRate": 42.0,
      "late": 42,
      "onTime": 42,
      "missed": 42
    },
    "overall": {
      "total": 42,
      "hitRate": 42.0,
      "late": 42,
      "onTime": 42,
      "missed": 42
    }
  }
]