COR

COR Working Time API

The Working Time API from COR — 2 operation(s) for working time.

Operations 2

POST /working-time Create or update working time
GET /working-time/company/with/users Get working time users

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cor-working-time-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cor-working-time-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: COR Attachments Working Time API
  description: The COR API lets you integrate with projectcor.com applications using simple HTTP methods, in either XML or JSON formats, making this an ideal API for developing integrations with other softwares, external clients or mobile applications
  version: 1.0.0
servers:
- url: https://api.projectcor.com/v1
  description: Production server
security:
- bearerAuth: []
tags:
- name: Working Time
paths:
  /working-time:
    post:
      tags:
      - Working Time
      summary: Create or update working time
      description: 'Creates or updates the user''s working time schedule.


        **Fields:**

        - `dayOfWeek` — Day of the week (1 = Sunday, 7 = Saturday)

        - `start` — Start time in HH:MM format (24-hour clock)

        - `end` — End time in HH:MM format (24-hour clock)

        - `breakTime` — Break duration in hours. Valid values: 0, 0.25, 0.5, 0.75, 1, 1.5, 2'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkingTimeInput'
            example:
              userId: 11111
              companyId: 11111
              workingTimes:
              - dayOfWeek: '1'
                start: 09:00
                end: '18:00'
                breakTime: '0'
              - dayOfWeek: '2'
                start: 09:00
                end: '18:00'
                breakTime: '1'
      responses:
        '200':
          description: Working time saved successfully
  /working-time/company/with/users:
    get:
      tags:
      - Working Time
      summary: Get working time users
      description: Gets information about working time for all users in the company. The response is an object where keys are user IDs and values are arrays of working time entries.
      responses:
        '200':
          description: Working time data grouped by user ID
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    $ref: '#/components/schemas/WorkingTime'
              example:
                '12345':
                - daily_hours: 9
                  day_of_week: 1
                  start_at: 09:00:00
                  end_at: '18:00:00'
                  user_id: 12345
                  break_time: 0
                - daily_hours: 8
                  day_of_week: 2
                  start_at: 09:00:00
                  end_at: '18:00:00'
                  user_id: 12345
                  break_time: 1
components:
  schemas:
    WorkingTimeInput:
      type: object
      required:
      - userId
      - companyId
      - workingTimes
      properties:
        userId:
          type: integer
          description: User ID
        companyId:
          type: integer
          description: Company ID
        workingTimes:
          type: array
          items:
            type: object
            properties:
              dayOfWeek:
                type: string
                description: Day of the week (1=Sunday, 7=Saturday)
              start:
                type: string
                description: Start time in HH:MM format (24-hour clock)
              end:
                type: string
                description: End time in HH:MM format (24-hour clock)
              breakTime:
                type: string
                description: Break duration in hours (0, 0.25, 0.5, 0.75, 1, 1.5, 2)
    WorkingTime:
      type: object
      properties:
        daily_hours:
          type: number
        day_of_week:
          type: integer
          description: Day of the week (1=Sunday, 7=Saturday)
        start_at:
          type: string
          description: Start time (HH:MM:SS)
        end_at:
          type: string
          description: End time (HH:MM:SS)
        user_id:
          type: integer
        break_time:
          type: number
          description: Break duration in hours
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    basicAuth:
      type: http
      scheme: basic