{ "opencollection": "1.0.0", "info": { "name": "Simpro REST Companies API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://your-build.simprosuite.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Companies", "type": "folder" }, "items": [ { "info": { "name": "List all companies", "type": "http" }, "http": { "method": "GET", "url": "https://{build}.simprosuite.com/api/v1.0/companies/", "params": [ { "name": "search", "value": "", "type": "query", "description": "Search filter. With search=all the result must match all provided fields; with search=any it may match any of them." }, { "name": "columns", "value": "", "type": "query", "description": "When listing or searching a resource, specify which columns to display." }, { "name": "orderby", "value": "", "type": "query", "description": "Order of the requested records. Prefix a column name with '-' for descending order. A comma-separated list may be provided." } ] }, "docs": "Lists the companies available on this build." }, { "info": { "name": "Retrieve a company", "type": "http" }, "http": { "method": "GET", "url": "https://{build}.simprosuite.com/api/v1.0/companies/:companyID", "params": [ { "name": "companyID", "value": "", "type": "path", "description": "The company ID. A build with Multi-company setup may have companyID >= 0; other builds use 0 by default." } ] }, "docs": "Retrieves detailed information for a single company." } ] } ], "bundled": true }