Shyft Compact > RequstTimeOff API

The Compact > RequstTimeOff API from Shyft — 2 operation(s) for compact > requsttimeoff.

Operations 2

GET /api/compact/request_time_offs/can_admin get manageable request time offs #
GET /api/compact/request_time_offs/mine get my request time offs #

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/shyft-compact-requsttimeoff-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

shyft-compact-requsttimeoff-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shyft Customer Compact > RequstTimeOff API
  description: Welcome to the Shyft Customer App API.
  version: 1.0.0
servers:
- url: http://{{host}}
- url: http://{{local-host}}
- url: http://{{sp3-host}}
- url: http://test-service.myshyft.com
- url: http://localhost:4001
- url: http://localhost:3000
- url: http://{{local-host}}api
- url: https://test-unfurl.myshyft.com
tags:
- name: Compact > RequstTimeOff
paths:
  /api/compact/request_time_offs/can_admin:
    get:
      tags:
      - Compact > RequstTimeOff
      summary: get manageable request time offs
      description: 'Description

        - - -


        Params

        - - -

        Param | Values | R |Description

        --- | --- | --- | ---


        Headers

        - - -

        Header | Values | R |Description

        --- | --- | --- | ---


        Input

        - - -


        Attribute | Values | R |Description

        --- | --- | --- | ---


        Output

        - - -'
      security:
      - noauthAuth: []
      parameters:
      - name: Session-Uukey
        in: header
        schema:
          type: string
        example: '{{session_uukey}}'
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      - name: location_id
        in: query
        schema:
          type: string
        example: '{{location_id}}'
      responses:
        '200':
          description: OK
          headers:
            Server:
              schema:
                type: string
                example: nginx/1.19.3
            Date:
              schema:
                type: string
                example: Wed, 01 Sep 2021 17:41:24 GMT
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Connection:
              schema:
                type: string
                example: keep-alive
            X-Frame-Options:
              schema:
                type: string
                example: SAMEORIGIN
            X-XSS-Protection:
              schema:
                type: string
                example: 1; mode=block
            X-Content-Type-Options:
              schema:
                type: string
                example: nosniff
            X-Download-Options:
              schema:
                type: string
                example: noopen
            X-Permitted-Cross-Domain-Policies:
              schema:
                type: string
                example: none
            Referrer-Policy:
              schema:
                type: string
                example: strict-origin-when-cross-origin
            X-LS-License:
              schema:
                type: string
                example: All Rights Reserved © Coffee Enterprise
            X-LS-Application:
              schema:
                type: string
                example: Coffee Mobile
            X-Request-Method:
              schema:
                type: string
                example: none
            ETag:
              schema:
                type: string
                example: W/"f4186736d52ba106f554066f69c28dd3"
            Cache-Control:
              schema:
                type: string
                example: max-age=0, private, must-revalidate
            Set-Cookie:
              schema:
                type: string
                example: _shyft_api_server_session=dzNaOVRkcStkNHpyUXRGWGg2RXhNV1FmRy8ybkhPNXFOcUV2M2tlMnJpTENOdXdQM2o3b0RKWjE2N3lmL1hJZTM0WnVqVm8xdTBQOVU1L09iTUtTZ2c9PS0tUVZRYTJRelZrVzErUzBjTzV6YXI3QT09--88b937e685dd3e588af16b99ead75f4a19e49e39; path=/; HttpOnly
            X-Rack-Dev-Mark-Env:
              schema:
                type: string
                example: BinLocalServer
            X-Request-Id:
              schema:
                type: string
                example: 74b94381-0a27-4d62-ac02-a1590c50a512
            X-Runtime:
              schema:
                type: number
                example: '3.060987'
            Vary:
              schema:
                type: string
                example: Origin
          content:
            application/json:
              schema:
                type: object
              example:
                request_time_offs:
                - _parent_object_id: null
                  id: 2
                  user_id: 11284
                  approver_id: null
                  managed_at: null
                  location_id: 2622
                  days: 5
                  day_hours: 8
                  total_hours: 40
                  latest_balance: null
                  start_date: '2021-09-01'
                  start_time: '2021-09-01T09:00:00.000Z'
                  end_date: '2021-09-05'
                  end_time: '2021-09-01T17:00:00.000Z'
                  category: '1'
                  status: requested
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed: null
                - _parent_object_id: null
                  id: 27
                  user_id: 14601
                  approver_id: null
                  managed_at: null
                  location_id: 2622
                  days: 5
                  day_hours: 8
                  total_hours: 40
                  latest_balance: null
                  start_date: '2021-09-01'
                  start_time: '2021-09-01T09:00:00.000Z'
                  end_date: '2021-09-05'
                  end_time: '2021-09-01T17:00:00.000Z'
                  category: pto
                  status: requested
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed: null
                - _parent_object_id: null
                  id: 1
                  user_id: 11284
                  approver_id: null
                  managed_at: null
                  location_id: 2622
                  days: 5
                  day_hours: 8
                  total_hours: 40
                  latest_balance: null
                  start_date: '2021-09-01'
                  start_time: '2021-09-01T09:00:00.000Z'
                  end_date: '2021-09-05'
                  end_time: '2021-09-01T17:00:00.000Z'
                  category: pto
                  status: requested
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed: null
                meta:
                  pagination:
                    current_page: 1
                    per_page: 500
      operationId: getApiCompactRequestTimeOffsCanAdmin
      x-operation-id-source: derived
  /api/compact/request_time_offs/mine:
    get:
      tags:
      - Compact > RequstTimeOff
      summary: get my request time offs
      description: 'Description

        - - -


        Params

        - - -

        Param | Values | R |Description

        --- | --- | --- | ---


        Headers

        - - -

        Header | Values | R |Description

        --- | --- | --- | ---


        Input

        - - -


        Attribute | Values | R |Description

        --- | --- | --- | ---


        Output

        - - -'
      security:
      - noauthAuth: []
      parameters:
      - name: Session-Uukey
        in: header
        schema:
          type: string
        example: '{{session_uukey}}'
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      responses:
        '200':
          description: OK
          headers:
            Server:
              schema:
                type: string
                example: nginx/1.19.3
            Date:
              schema:
                type: string
                example: Wed, 01 Sep 2021 17:41:36 GMT
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Connection:
              schema:
                type: string
                example: keep-alive
            X-Frame-Options:
              schema:
                type: string
                example: SAMEORIGIN
            X-XSS-Protection:
              schema:
                type: string
                example: 1; mode=block
            X-Content-Type-Options:
              schema:
                type: string
                example: nosniff
            X-Download-Options:
              schema:
                type: string
                example: noopen
            X-Permitted-Cross-Domain-Policies:
              schema:
                type: string
                example: none
            Referrer-Policy:
              schema:
                type: string
                example: strict-origin-when-cross-origin
            X-LS-License:
              schema:
                type: string
                example: All Rights Reserved © Coffee Enterprise
            X-LS-Application:
              schema:
                type: string
                example: Coffee Mobile
            X-Request-Method:
              schema:
                type: string
                example: none
            ETag:
              schema:
                type: string
                example: W/"a9784c8b5cb818f65efaced83c1bd52b"
            Cache-Control:
              schema:
                type: string
                example: max-age=0, private, must-revalidate
            Set-Cookie:
              schema:
                type: string
                example: _shyft_api_server_session=Wk9YazZqWHp5UGplekVySVlWQkl0cDdWQ3dYc0dRQTRDaTZzZi9kZi9YandYc1ZKcWdmMTlCakMwTWVPTSthTjl0WW9TT1FpU296K0NQdnpjZDR4UHc9PS0tblBzVEpkOUdHaHM2YXptVWtDM1BLQT09--d25ce5ce4e3572caf65b2673cbde6f76feaa3979; path=/; HttpOnly
            X-Rack-Dev-Mark-Env:
              schema:
                type: string
                example: BinLocalServer
            X-Request-Id:
              schema:
                type: string
                example: 265f8492-2fa8-49b6-b3b9-56261ccdfd0c
            X-Runtime:
              schema:
                type: number
                example: '0.279662'
            Vary:
              schema:
                type: string
                example: Origin
          content:
            application/json:
              schema:
                type: object
              example:
                request_time_offs:
                - _parent_object_id: null
                  id: 149
                  user_id: 11284
                  approver_id: 11284
                  managed_at: '2021-08-27T18:24:06.666Z'
                  location_id: 8421
                  days: 1
                  day_hours: 1
                  total_hours: 1
                  latest_balance: null
                  start_date: '2021-09-07'
                  start_time: '2021-09-07T13:00:00.000Z'
                  end_date: '2021-09-07'
                  end_time: '2021-09-07T14:00:00.000Z'
                  category: rto_category_pto
                  status: approved
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed:
                    rto_balances:
                      rto_category_pto: 15
                      rto_category_floating: 0
                      rto_category_diversity: 0
                    rto_in_queue:
                      rto_category_pto: 3
                - _parent_object_id: null
                  id: 148
                  user_id: 11284
                  approver_id: 11284
                  managed_at: '2021-08-27T18:26:29.250Z'
                  location_id: 8421
                  days: 1
                  day_hours: 1
                  total_hours: 1
                  latest_balance: null
                  start_date: '2021-09-08'
                  start_time: '2021-09-08T14:00:00.000Z'
                  end_date: '2021-09-08'
                  end_time: '2021-09-08T15:00:00.000Z'
                  category: rto_category_pto
                  status: approved
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed:
                    rto_balances:
                      rto_category_pto: 15
                      rto_category_floating: 0
                      rto_category_diversity: 0
                    rto_in_queue:
                      rto_category_pto: 3
                - _parent_object_id: null
                  id: 138
                  user_id: 11284
                  approver_id: 11284
                  managed_at: '2021-08-27T00:50:44.810Z'
                  location_id: 8421
                  days: 1
                  day_hours: 1
                  total_hours: 1
                  latest_balance: null
                  start_date: '2021-08-31'
                  start_time: '2021-08-31T10:00:00.000Z'
                  end_date: '2021-08-31'
                  end_time: '2021-08-31T11:00:00.000Z'
                  category: rto_category_pto
                  status: approved
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed:
                    rto_balances:
                      rto_category_pto: 15
                      rto_category_floating: 0
                      rto_category_diversity: 0
                    rto_in_queue:
                      rto_category_pto: 1
                - _parent_object_id: null
                  id: 2
                  user_id: 11284
                  approver_id: null
                  managed_at: null
                  location_id: 2622
                  days: 5
                  day_hours: 8
                  total_hours: 40
                  latest_balance: null
                  start_date: '2021-09-01'
                  start_time: '2021-09-01T09:00:00.000Z'
                  end_date: '2021-09-05'
                  end_time: '2021-09-01T17:00:00.000Z'
                  category: '1'
                  status: requested
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed: null
                - _parent_object_id: null
                  id: 1
                  user_id: 11284
                  approver_id: null
                  managed_at: null
                  location_id: 2622
                  days: 5
                  day_hours: 8
                  total_hours: 40
                  latest_balance: null
                  start_date: '2021-09-01'
                  start_time: '2021-09-01T09:00:00.000Z'
                  end_date: '2021-09-05'
                  end_time: '2021-09-01T17:00:00.000Z'
                  category: pto
                  status: requested
                  time_off_reason: null
                  managed_reason: null
                  balances_at_closed: null
                meta:
                  pagination:
                    current_page: 1
                    per_page: 500
      operationId: getApiCompactRequestTimeOffsMine
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    noauthAuth:
      type: http
      scheme: noauth