{ "opencollection": "1.0.0", "info": { "name": "Shareworks Admin REST Authentication Token Grant API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Grant", "type": "folder" }, "items": [ { "info": { "name": "GET Grant (All)", "type": "http" }, "http": { "method": "GET", "url": "https://shareworks.solium.com/rest/admin/v1/company/:companyId/stakeholder/:stakeholderId/grant", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "stakeholderId", "value": "", "type": "path" }, { "name": "pageSize", "value": "", "type": "query", "description": "Number of items to return per page. Default is 50. Maximum is 250" }, { "name": "pageNumber", "value": "", "type": "query", "description": "Which page of the data set to fetch. Default is 1." } ] }, "docs": "Retrieve the details of all grants belonging to the specified stakeholder" }, { "info": { "name": "POST Grant (Create)", "type": "http" }, "http": { "method": "POST", "url": "https://shareworks.solium.com/rest/admin/v1/company/:companyId/stakeholder/:stakeholderId/grant", "headers": [ { "name": "Shareworks-Request-Id", "value": "" } ], "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "stakeholderId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a grant for the specified stakeholder" }, { "info": { "name": "GET Grant (Single)", "type": "http" }, "http": { "method": "GET", "url": "https://shareworks.solium.com/rest/admin/v1/company/:companyId/stakeholder/grant/:grantId", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "grantId", "value": "", "type": "path" } ] }, "docs": "Retrieve the details of the specified grant" }, { "info": { "name": "PUT Grant (Update)", "type": "http" }, "http": { "method": "PUT", "url": "https://shareworks.solium.com/rest/admin/v1/company/:companyId/stakeholder/grant/:grantId", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "grantId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the details of the specified grant" } ] } ], "bundled": true }