The Quiqup WhenIWork API client is a golang client implemented using oapi-codegen, it supports only a subset of the overall spec provided by wheniwork as their spec is broken, it uses an approach where openapi spec is still at the core primarily to be able to adopt the full spec if the main open api spec can be cleaned and fixed.
Package is in active development
| Endpoint | Description | Supported |
|---|---|---|
| /2/shifts | List Shifts | ✓ |
| /2/shifts/{id} | Get, Update, or Delete a single shift by ID | ✓ |
| /2/times | List or Create Times | ✓ |
| /2/times/{id} | Get, Update, or Delete a single time by ID | ✓ |
| /2/sites | List or Create Sites | ✓ |
| /2/sites/{id} | Get, Update, or Delete Site | ✓ |
| /2/shifts/bulk | Bulk Update Shifts | ✓ |
| /2/shifts/eligible | List eligible users for OpenShift | ✓ |
| /2/shifts/notify | Notify shifts | ✓ |
| /2/shifts/notify/{id} | Notify single shift | ✓ |
| /2/shifts/publish | Publish Shifts | ✓ |
| /2/shifts/unassign | Unassign/Release Shifts | ✓ |
| /2/shifts/unpublish | Unpublish Shifts | |
| /2/shifts/{id}/assign | Assign multiple users to an OpenShift | ✓ |
| /2/shifts/{id}/history | Fetch shift history | ✓ |
| /2/shifts/{id}/swapusers | Swap users on a shift | |
| /2/users | List or Create Users | ✓ |
| /2/users/{id} | Get User | |
| /2/users/avatar/{id} | Get User Avatar | ✓ |
| /2/users/bulkupdate | Bulk Update Users | ✓ |
| /2/users/invite | Invite Users | |
| /2/users/invite/{id} | Invite single user | |
| /2/users/profile | Get User Profile | ✓ |
| /2/locations | List or Create Locations | ✓ |
| /2/locations/{id} | Get, Update, or Delete a single location by ID | ✓ |
| /2/account | Get Account | |
| /2/account/{id} | Get Account by ID | |
| /2/account/{id}/admins | List Admins | |
| /2/account/settings | Update Account Settings | |
| /2/annotations | List or Create Annotations | |
| /2/annotations/{id} | Get or Update Annotation | |
| /2/availabilityevents | List or Create Availability Events | |
| /2/availabilityevents/{id} | Get or Update Availability Event | |
| /2/availabilityevents/{id}/exceptions | Get or Update Availability Event Exceptions | |
| /2/blocks | List or Create Shift Templates (Blocks) | |
| /2/blocks/{id} | Get or Update a Shift Template (Block) | |
| /2/import | Create Import | |
| /2/import/{id} | Get Import | |
| /2/import/{id}/finalize | Finalize Import | |
| /2/import/{id}/preview | Preview Import | |
| /2/payrolls | List Payrolls | |
| /2/payrolls/{id} | Get Payroll | |
| /2/payrolls/{id}/stats | Get Payroll Statistics | |
| /2/payrolls/notices | Payroll Notices | |
| /2/positions | List or Create Positions | |
| /2/positions/{id} | Get, Update, or Delete a Position | |
| /2/positions/bulk | Bulk Update Positions | |
| /2/punch/state | Get Punch State | |
| /2/requests | List or Create Time Off Requests | |
| /2/requests/{request_id} | Get, Update, or Delete Time Off Request | |
| /2/requesttypes | List Of Time Off Request Types | |
| /2/requesttypes/{id} | Get or Delete Time Off Request Type | |
| /2/swaps | List or Create Shift Swaps | |
| /2/swaps/{swap_id} | Get or Delete a specific shift request | |
| /2/times/clockin | Clock In | |
| /2/times/clockout | Clock Out | |
| /2/templates | List or Create Schedule Templates | |
| /2/templates/{id} | Get Schedule Template | |
| /2/timezones | List Timezones | |
| /2/timezones/{id} | Get Timezone | |
| /2/users/alerts | Get User Alerts |
/2/shifts/{id}/history is now supported in the OpenAPI 3.0.0 spec and available for use.
This project is licensed under the MIT License. See the LICENSE file for details.
All notable changes are documented in CHANGELOG.md. This project follows Keep a Changelog and Semantic Versioning.
We use Gitflow for managing releases and tracking changes in the changelog. Please follow the Gitflow workflow for all contributions and releases.