{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cintoo Open Account Measurement API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://aec.cintoo.com/oauth/authorize",
      "accessTokenUrl": "https://aec.cintoo.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Measurement",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Measurements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aec.cintoo.com/api/2/accounts/:accountRef/projects/:projectRef/measurements",
            "params": [
              {
                "name": "accountRef",
                "value": "",
                "type": "path",
                "description": "The Id or Urn of the account"
              },
              {
                "name": "projectRef",
                "value": "",
                "type": "path",
                "description": "The Id or Urn of the project"
              }
            ]
          },
          "docs": "<span class='tag beta'>BETA</span>Get all Measurements related to a project.\n\nRequires the permission `workzone:measurements:read` on at least one work zone of the project.\nThe measurements returned are all measurements on work zones the user has this permission.\n"
        }
      ]
    }
  ],
  "bundled": true
}