{
  "opencollection": "1.0.0",
  "info": {
    "name": "CMiC Construction ERP Cost Tracking Jobs API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List construction jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cmic.ca/rest/jc-rest-api/v1/JCjob",
            "params": [
              {
                "name": "companyCode",
                "value": "",
                "type": "query"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "query"
              },
              {
                "name": "jobStatus",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns all construction jobs (job cost records) accessible to the authenticated user. Jobs are the primary cost tracking unit in CMiC."
        },
        {
          "info": {
            "name": "Get job details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cmic.ca/rest/jc-rest-api/v1/JCjob/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns detailed information for a single construction job including cost summary."
        }
      ]
    }
  ],
  "bundled": true
}