{ "opencollection": "1.0.0", "info": { "name": "Argyle Accounts Shifts API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Shifts", "type": "folder" }, "items": [ { "info": { "name": "Retrieve a shift", "type": "http" }, "http": { "method": "GET", "url": "https://api.argyle.com/v2/shifts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the shift object to be retrieved." } ] }, "docs": "Retrieves a shift object." }, { "info": { "name": "List all shifts", "type": "http" }, "http": { "method": "GET", "url": "https://api.argyle.com/v2/shifts", "params": [ { "name": "account", "value": "", "type": "query", "description": "Filter by account ID." }, { "name": "user", "value": "", "type": "query", "description": "Filter by user ID." }, { "name": "from_start_datetime", "value": "", "type": "query", "description": "Filter by shifts with a `start_datetime` on or after this timestamp [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)." }, { "name": "to_start_datetime", "value": "", "type": "query", "description": "Filter by shifts with a `start_datetime` on or before this timestamp [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)." }, { "name": "limit", "value": "", "type": "query", "description": "Number of shift objects returned per page. Default: 10. Maximum: 200." }, { "name": "cursor", "value": "", "type": "query", "description": "The URL returned in `next` or `previous` used to retrieve another [page](/api-guide/overview#pagination) of results." } ] }, "docs": "Returns a paginated list of all shift objects." } ] } ], "bundled": true }