{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts Sessions 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": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "Get all the sessions in defined period", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Sessions", "params": [ { "name": "accountId", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "value": "", "type": "query" }, { "name": "userId", "value": "", "type": "query" }, { "name": "locationId", "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 all the sessions in defined period" }, { "info": { "name": "Get all the empty sessions in defined period. Empty sessions are sessions without any scans.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Sessions/empty", "params": [ { "name": "accountId", "value": "", "type": "query" }, { "name": "dateFrom", "value": "", "type": "query" }, { "name": "dateTo", "value": "", "type": "query" }, { "name": "userId", "value": "", "type": "query" }, { "name": "locationId", "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 all the empty sessions in defined period. Empty sessions are sessions without any scans." } ] } ], "bundled": true }