{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts UserProfiles 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": "UserProfiles", "type": "folder" }, "items": [ { "info": { "name": "Returns all user groups", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UserProfiles", "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": "Returns all user groups" }, { "info": { "name": "Create new user group", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/UserProfiles", "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 user group" }, { "info": { "name": "Retruns selected user group details", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UserProfiles/:profileId", "params": [ { "name": "profileId", "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": "Retruns selected user group details" }, { "info": { "name": "Update selected user group details", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/UserProfiles/:profileId", "params": [ { "name": "profileId", "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 selected user group details" }, { "info": { "name": "Delete selected user group", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/UserProfiles/:profileId", "params": [ { "name": "profileId", "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 selected user group" }, { "info": { "name": "Get the list of all the properties added to user groups", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UserProfiles/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 user groups" }, { "info": { "name": "Returns users list assigned to selected user group", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/users", "params": [ { "name": "profileId", "value": "", "type": "path" }, { "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": "Returns users list assigned to selected user group" }, { "info": { "name": "Add users to selected user group", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/users", "params": [ { "name": "profileId", "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": "Add users to selected user group" }, { "info": { "name": "Returns locations available to assign to a user group (not yet assigned)", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/locations/available", "params": [ { "name": "profileId", "value": "", "type": "path" }, { "name": "account", "value": "", "type": "query", "description": "Account 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" } ], "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 locations available to assign to a user group (not yet assigned)" }, { "info": { "name": "Returns user group locations list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/locations", "params": [ { "name": "profileId", "value": "", "type": "path" }, { "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": "Returns user group locations list" }, { "info": { "name": "Save user group locations and operations", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/locations", "params": [ { "name": "profileId", "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": "Save user group locations and operations" }, { "info": { "name": "Delete user group location", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/locations/:locationId", "params": [ { "name": "profileId", "value": "", "type": "path" }, { "name": "locationId", "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 user group location" }, { "info": { "name": "Add a single operation to user group location", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/locations/:locationId/operations", "params": [ { "name": "profileId", "value": "", "type": "path" }, { "name": "locationId", "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": "Add a single operation to user group location" }, { "info": { "name": "Delete selected operation from user group location", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/UserProfiles/:profileId/locations/:locationId/operations/:operationId", "params": [ { "name": "profileId", "value": "", "type": "path" }, { "name": "locationId", "value": "", "type": "path" }, { "name": "operationId", "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 selected operation from user group location" } ] } ], "bundled": true }