{ "opencollection": "1.0.0", "info": { "name": "Capmo REST Organisation Companies Project Companies API", "version": "1.0" }, "items": [ { "info": { "name": "Project Companies", "type": "folder" }, "items": [ { "info": { "name": "getProjectCompanies", "type": "http" }, "http": { "method": "GET", "url": "https://api.capmo.de/api/v1/projects/:projectId/companies", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "order_by", "value": "", "type": "query", "description": "Field to order by." }, { "name": "order_direction", "value": "", "type": "query", "description": "Order direction of the `order_by` field. It can be `asc` or `desc`." }, { "name": "after", "value": "", "type": "query", "description": "The last element from the previous page. This is a cursor. It will be returned in the output to be used in the next request. When it is not present, the first page is returned. When it is `null`, there are no more pages." }, { "name": "limit", "value": "", "type": "query", "description": "How many items should be in the output." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to list all project contact book companies in a paginated response." }, { "info": { "name": "createProjectCompany", "type": "http" }, "http": { "method": "POST", "url": "https://api.capmo.de/api/v1/projects/:projectId/companies", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to add a new project contact book company." }, { "info": { "name": "getProjectCompany", "type": "http" }, "http": { "method": "GET", "url": "https://api.capmo.de/api/v1/projects/:projectId/companies/:companyId", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "companyId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to retrieve a specific project company by its ID." }, { "info": { "name": "updateProjectCompany", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.capmo.de/api/v1/projects/:projectId/companies/:companyId", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "companyId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to update a project contact book company." }, { "info": { "name": "deleteCompany", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.capmo.de/api/v1/projects/:projectId/companies/:companyId", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "companyId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to delete a project contact book company, the contacts assigned to the company will remain." }, { "info": { "name": "createProjectCompanyFromOrganisation", "type": "http" }, "http": { "method": "POST", "url": "https://api.capmo.de/api/v1/projects/:projectId/companies-from-organisation", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to add an organisation contact book company to a project." } ] } ], "bundled": true }