{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts Dimensions 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": "Dimensions", "type": "folder" }, "items": [ { "info": { "name": "Get dimensions list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/Dimensions", "params": [ { "name": "Filter", "value": "", "type": "query" }, { "name": "Page", "value": "", "type": "query" }, { "name": "PageSize", "value": "", "type": "query" }, { "name": "SortColumn", "value": "", "type": "query" }, { "name": "SortOrder", "value": "", "type": "query" }, { "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 dimensions list" }, { "info": { "name": "Create new dimenson", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/Dimensions", "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 dimenson" }, { "info": { "name": "Get dimension details", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/Dimensions/: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 dimension details" }, { "info": { "name": "Update dimension", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/Dimensions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Dimension Id" }, { "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 dimension" }, { "info": { "name": "Delete dimension", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/Dimensions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Dimension Id" }, { "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 dimension" }, { "info": { "name": "Get dimensions operations", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/Dimensions/:id/operations", "params": [ { "name": "id", "value": "", "type": "path", "description": "Dimension Id" }, { "name": "Filter", "value": "", "type": "query" }, { "name": "Page", "value": "", "type": "query" }, { "name": "PageSize", "value": "", "type": "query" }, { "name": "SortColumn", "value": "", "type": "query" }, { "name": "SortOrder", "value": "", "type": "query" }, { "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 dimensions operations" }, { "info": { "name": "Get the list of all the properties added to dimensions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/Dimensions/properties", "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 the list of all the properties added to dimensions" }, { "info": { "name": "Get the list of all the properties added to dimensions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/Dimensions/values/properties", "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 the list of all the properties added to dimensions" }, { "info": { "name": "Get dimensions' parameters", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/Dimensions/params", "params": [ { "name": "dimensionId", "value": "", "type": "query" }, { "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 dimensions' parameters" }, { "info": { "name": "Create or update dimension parameters", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/Dimensions/params", "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 or update dimension parameters" }, { "info": { "name": "Get all the values for user dimensions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Dimensions/Users", "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 the values for user dimensions" }, { "info": { "name": "Get all the values for location dimensions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Dimensions/Locations", "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 the values for location dimensions" }, { "info": { "name": "Get all the values for operation dimensions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Dimensions/Operations", "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 the values for operation dimensions" }, { "info": { "name": "Get all the values of items public properties", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Dimensions/Items/properties", "params": [ { "name": "accountId", "value": "", "type": "query" } ], "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 the values of items public properties" }, { "info": { "name": "Get all the values of users public properties", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Dimensions/Users/properties", "params": [ { "name": "accountId", "value": "", "type": "query" } ], "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 the values of users public properties" }, { "info": { "name": "Get all active accounts (companies) the user has access to", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Dimensions/Accounts", "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 active accounts (companies) the user has access to" } ] } ], "bundled": true }