{
  "opencollection": "1.0.0",
  "info": {
    "name": "IO.Common Accounts QuestionDefinitions API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://identity.scanbro.com/connect/authorize",
      "accessTokenUrl": "https://identity.scanbro.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "QuestionDefinitions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all question definitions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/QuestionDefinitions",
            "params": [
              {
                "name": "Account",
                "value": "",
                "type": "query",
                "description": "Account"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://identity.scanbro.com/connect/authorize",
              "accessTokenUrl": "https://identity.scanbro.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get all question definitions"
        },
        {
          "info": {
            "name": "Create new question definition",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/QuestionDefinitions",
            "params": [
              {
                "name": "Account",
                "value": "",
                "type": "query",
                "description": "Account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://identity.scanbro.com/connect/authorize",
              "accessTokenUrl": "https://identity.scanbro.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create new question definition"
        },
        {
          "info": {
            "name": "Get question definition by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/QuestionDefinitions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "Account",
                "value": "",
                "type": "query",
                "description": "Account"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://identity.scanbro.com/connect/authorize",
              "accessTokenUrl": "https://identity.scanbro.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get question definition by id"
        },
        {
          "info": {
            "name": "Update question definition",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v1/QuestionDefinitions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "Account",
                "value": "",
                "type": "query",
                "description": "Account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://identity.scanbro.com/connect/authorize",
              "accessTokenUrl": "https://identity.scanbro.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update question definition"
        },
        {
          "info": {
            "name": "Delete question definition",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/QuestionDefinitions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "Account",
                "value": "",
                "type": "query",
                "description": "Account"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://identity.scanbro.com/connect/authorize",
              "accessTokenUrl": "https://identity.scanbro.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete question definition"
        }
      ]
    }
  ],
  "bundled": true
}