{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts WMSLocations 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": "WMSLocations", "type": "folder" }, "items": [ { "info": { "name": "Get all location areas", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/areas", "params": [ { "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": "Get all location areas" }, { "info": { "name": "Create new area for location. (All the lockers etc must be defined as areas)", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/areas", "params": [ { "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": "Create new area for location. (All the lockers etc must be defined as areas)" }, { "info": { "name": "Get location area details", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/areas/:areaId", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "LocationId" }, { "name": "areaId", "value": "", "type": "path", "description": "AreaId" }, { "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 location area details" }, { "info": { "name": "Update WMSArea", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/areas/:areaId", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "areaId", "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 WMSArea" }, { "info": { "name": "Delete an selected area", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/areas/:areaId", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "areaId", "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 an selected area" }, { "info": { "name": "Attach WMS location to cabinet", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/areas/cabinet/attach", "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": "Attach WMS location to cabinet" }, { "info": { "name": "Get location wms addresses", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/addresses", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "Location id" }, { "name": "WMSAreaId", "value": "", "type": "query" }, { "name": "Rack", "value": "", "type": "query" }, { "name": "Shelf", "value": "", "type": "query" }, { "name": "Bin", "value": "", "type": "query" }, { "name": "WithoutGravity", "value": "", "type": "query" }, { "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": "Get location wms addresses" }, { "info": { "name": "Create new wh address for area.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/addresses", "params": [ { "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": "Create new wh address for area." }, { "info": { "name": "Bulk insert of wh address for area.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/addresses/bulk", "params": [ { "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": "Bulk insert of wh address for area." }, { "info": { "name": "Delete wh address in a location by address.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/addresses/:wmsLocationId", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "wmsLocationId", "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 wh address in a location by address." }, { "info": { "name": "Generate wh aadresses on predefined parameters", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/addresses/generate", "params": [ { "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": "Generate wh aadresses on predefined parameters" }, { "info": { "name": "Delete selected or all wh aadresses in a location", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/:locationId/addresses/delete", "params": [ { "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": "Delete selected or all wh aadresses in a location" }, { "info": { "name": "Validates whether a single WMS location ID exists for a given location", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/WMSLocations/validate", "params": [ { "name": "locationId", "value": "", "type": "query" }, { "name": "wmsLocationId", "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": "Validates whether a single WMS location ID exists for a given location" }, { "info": { "name": "Validates multiple WMS location IDs for a given location. Returns only invalid IDs.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/WMSLocations/validate", "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": "Validates multiple WMS location IDs for a given location. Returns only invalid IDs." } ] } ], "bundled": true }