openapi: 3.2.0 info: description: '# Introduction Welcome to the IntelyCare API documentation, your gateway to seamless integration with the IntelyCare Staffing platform.' version: 1.0.0 title: IntelyCare API Documentation Timecard API contact: name: API Support email: apisupport@intelycare.com x-logo: url: https://www.intelycare.com/wp-content/uploads/2023/08/ic-logo-2-1.svg altText: IntelyCare Logo license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html servers: - url: //api.intelycare.com/external-scheduling/v1/ description: Default server - url: //api.pre.prod01.platform.intelycare.com/external-scheduling/v1/ description: Sandbox server security: - ApiKeyAuth: [] - HMACSignature: [] tags: - name: Time Card description: Simplify billing reconciliation by exchanging timecard information seamlessly. Our API supports the exchange of accurate timekeeping data, ensuring a smooth and efficient process for both you and the IntelyCare platform. paths: /api/timecards: post: tags: - Time Card operationId: timecard_create_api_v1 summary: Create security: - ApiKeyAuth: [] parameters: - name: X-API-KEY in: header description: API key issued to a specific client. This can only be used to access data within the client scope. example: d1015a83-9f5f-4a4d-b5fd-4e756ed1d282 required: true schema: type: string - name: X-CLIENT-ID in: header description: Intelycare's Unique identifier of the client. example: '1234' required: true schema: type: string requestBody: content: application/json: schema: type: object required: - externalShiftId - checkIn - checkOut - breakDuration properties: externalShiftId: description: Unique identifier for the shift type: string checkIn: description: Shift check-in timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T07:00:00' checkOut: description: Shift check-out timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T15:00:00' breakDuration: description: Duration (in minutes) of shift break type: integer example: 30 example: externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 responses: '200': description: 200 OK content: application/json: example: clientId: 1234 externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 errors: null createdAt: '2024-01-17T15:01:00' '401': $ref: '#/components/responses/UnauthorizedError' put: tags: - Time Card operationId: update_timecard_api_v1 summary: Update security: - ApiKeyAuth: [] parameters: - name: X-API-KEY in: header description: API key issued to a specific client. This can only be used to access data within the client scope. example: d1015a83-9f5f-4a4d-b5fd-4e756ed1d282 required: true schema: type: string - name: X-CLIENT-ID in: header description: Intelycare's Unique identifier of the client. example: '1234' required: true schema: type: string requestBody: content: application/json: schema: type: object required: - externalShiftId - checkIn - checkOut - breakDuration properties: externalShiftId: description: Unique identifier for the shift type: integer checkIn: description: Shift check-in timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T07:00:00' checkOut: description: Shift check-out timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T15:00:00' breakDuration: description: Duration (in minutes) of shift break type: integer example: 30 example: externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 responses: '200': description: 200 OK content: application/json: example: clientId: 1234 externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 errors: null updatedAt: '2024-01-17T15:01:00' '401': $ref: '#/components/responses/UnauthorizedError' components: responses: UnauthorizedError: description: Unauthorized headers: WWW_Authenticate: schema: type: string content: application/json: examples: foo: value: message: Unauthorized securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-KEY HMACSignature: type: apiKey in: header name: X-Signature-IC x-tagGroups: - name: APIs tags: - Shift - Timecard - Webhook Events - Check In / Check Out