{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts Scans 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": "Scans", "type": "folder" }, "items": [ { "info": { "name": "Get scan events. When dateFrom is not provided, it defaults to 3 months before the\r\ncurrent date; dateTo defaults to the current date.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Scans", "params": [ { "name": "locationId", "value": "", "type": "query" }, { "name": "accountId", "value": "", "type": "query" }, { "name": "userAccountId", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "value": "", "type": "query" }, { "name": "sessionId", "value": "", "type": "query" }, { "name": "userId", "value": "", "type": "query" }, { "name": "operationName", "value": "", "type": "query" }, { "name": "searchTerm", "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 scan events. When dateFrom is not provided, it defaults to 3 months before the\r\ncurrent date; dateTo defaults to the current date." }, { "info": { "name": "Get user's scan events. When dateFrom is not provided, it defaults to 7 days before\r\nthe current date; dateTo defaults to the current date.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Scans/my", "params": [ { "name": "locationId", "value": "", "type": "query" }, { "name": "accountId", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "value": "", "type": "query" }, { "name": "sessionId", "value": "", "type": "query" }, { "name": "userId", "value": "", "type": "query" }, { "name": "operationName", "value": "", "type": "query" }, { "name": "searchTerm", "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 user's scan events. When dateFrom is not provided, it defaults to 7 days before\r\nthe current date; dateTo defaults to the current date." }, { "info": { "name": "Get anonymous scan events", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Scans/anonymous", "params": [ { "name": "locationId", "value": "", "type": "query" }, { "name": "accountId", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "value": "", "type": "query" }, { "name": "sessionId", "value": "", "type": "query" }, { "name": "userId", "value": "", "type": "query" }, { "name": "operationName", "value": "", "type": "query" }, { "name": "searchTerm", "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 anonymous scan events" }, { "info": { "name": "Returns scans count by location, operation for selected period. Max period is 30 days, defaults to 7 days.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Scans/count", "params": [ { "name": "locationId", "value": "", "type": "query" }, { "name": "operationId", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "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": "Returns scans count by location, operation for selected period. Max period is 30 days, defaults to 7 days." }, { "info": { "name": "Get bad scan events", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Scans/badscans", "params": [ { "name": "accountId", "value": "", "type": "query" }, { "name": "locationId", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "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 bad scan events" } ] } ], "bundled": true }