{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts UnitConversions 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": "UnitConversions", "type": "folder" }, "items": [ { "info": { "name": "Get all unit conversions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UnitConversions", "params": [ { "name": "ItemCode", "value": "", "type": "query" }, { "name": "FromUnitId", "value": "", "type": "query" }, { "name": "ToUnitId", "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 all unit conversions" }, { "info": { "name": "Create unit conversions", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/UnitConversions", "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 unit conversions" }, { "info": { "name": "Get item missing unit conversions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UnitConversions/missing/:itemId", "params": [ { "name": "itemId", "value": "", "type": "path" }, { "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 item missing unit conversions" }, { "info": { "name": "Get unit conversion details by id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/UnitConversions/:unitConversionId", "params": [ { "name": "unitConversionId", "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 unit conversion details by id" }, { "info": { "name": "Update unit conversions", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/UnitConversions/:unitConversionId", "params": [ { "name": "unitConversionId", "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 unit conversions" }, { "info": { "name": "Delete unit conversions", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/UnitConversions/:unitConversionId", "params": [ { "name": "unitConversionId", "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 unit conversions" } ] } ], "bundled": true }