{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts Questions 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": "Questions", "type": "folder" }, "items": [ { "info": { "name": "Get tools status by barcode", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Questions/tools/status", "params": [ { "name": "barcode", "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 tools status by barcode" }, { "info": { "name": "Get all tools that are in statuses provided", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Questions/user/tools", "params": [ { "name": "statuses", "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 tools that are in statuses provided" }, { "info": { "name": "Get item consumption by barcode in location", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Questions/items/consumption", "params": [ { "name": "barcode", "value": "", "type": "query" }, { "name": "locationId", "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 item consumption by barcode in location" } ] } ], "bundled": true }