{ "opencollection": "1.0.0", "info": { "name": "COR Attachments Contract Positions API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Contract Positions", "type": "folder" }, "items": [ { "info": { "name": "Get contract positions", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectcor.com/v1/contracts/:contract_id/positions", "params": [ { "name": "contract_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "Page number (default: 1). Set to `false` to disable pagination." }, { "name": "perPage", "value": "", "type": "query", "description": "Number of items per page (default: 20)." } ] }, "docs": "Retrieves all positions associated with a contract." }, { "info": { "name": "Create contract position", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectcor.com/v1/contracts/:contract_id/positions", "params": [ { "name": "contract_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new position rate for the specified contract." }, { "info": { "name": "Update contract position", "type": "http" }, "http": { "method": "PUT", "url": "https://api.projectcor.com/v1/contracts/:contract_id/positions/:contract_position_rate_id", "params": [ { "name": "contract_id", "value": "", "type": "path" }, { "name": "contract_position_rate_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates rate and/or hours for a contract position." } ] } ], "bundled": true }