Harri Deprecated Franchisee TroncAmounts API

The Deprecated Franchisee TroncAmounts API from Harri — 2 operation(s) for deprecated franchisee troncamounts.

OpenAPI Specification

harri-deprecated-franchisee-troncamounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harri Employee Open Deprecated Franchisee TroncAmounts API
  description: 'API for managing and retrieving employee data in the Harri system. - Notice: Harri''s API enforces a rate limit of 400 requests per minute. Once you exceed this limit, an HTTP 403 error is returned with a body that informs you that the limit has been exceeded. Please examine the API returns for this error so your software can respond appropriately. After 4 June, 2026, the rate limiting error will change from 403 to 429.'
  termsOfService: https://harri.com/terms
  version: 1.0.0
servers:
- url: https://gateway.harri.com/open-api-hub
tags:
- name: Deprecated Franchisee TroncAmounts
paths:
  /api/v1/franchisees/{franchiseeId}/employees/{employeeId}/pay_types/{payTypeId}/tronc_amounts:
    post:
      deprecated: true
      tags:
      - Deprecated Franchisee TroncAmounts
      summary: Define new employee tronc amount API
      description: 'use this api when u want to define new employee tronc amount

        '
      operationId: DeprecatedFranshiseesCreateEmployeeTroncAmount
      parameters:
      - name: franchiseeId
        in: path
        required: true
        schema:
          type: number
      - name: employeeId
        in: path
        description: employee id
        required: true
        schema:
          type: string
      - name: payTypeId
        in: path
        description: pay type id
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: Employee tronc amount
        content:
          application/json:
            schema:
              type: object
              properties:
                tronc_amount:
                  type: object
                  properties:
                    value:
                      type: number
                    start_date:
                      type: string
                      format: date
              required:
              - value
              - start_date
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  tronc_amount:
                    $ref: '#/components/schemas/DeprecatedTroncAmount'
  /api/v1/franchisees/{franchiseeId}/employees/{employeeId}/pay_types/{payTypeId}/tronc_amounts/{troncAmountId}:
    put:
      deprecated: true
      tags:
      - Deprecated Franchisee TroncAmounts
      summary: Update employee tronc amount API
      description: Update employee tronc amount by id
      operationId: DeprecatedFranshiseesUpdateEmployeeTroncAmount
      parameters:
      - name: franchiseeId
        in: path
        required: true
        schema:
          type: number
      - name: employeeId
        in: path
        description: employee id
        required: true
        schema:
          type: string
      - name: payTypeId
        in: path
        description: pay type id
        required: true
        schema:
          type: integer
          format: int64
      - name: troncAmountId
        in: path
        description: tronc amount id
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: Employee tronc amount
        content:
          application/json:
            schema:
              type: object
              properties:
                tronc_amount:
                  type: object
                  properties:
                    value:
                      type: number
                    start_date:
                      type: string
                      format: date
      responses:
        '200':
          description: successful operation
    delete:
      deprecated: true
      tags:
      - Deprecated Franchisee TroncAmounts
      summary: Delete employee tronc amount API
      description: Delete employee tronc amount by id
      operationId: DeprecatedFranshiseesDeleteEmployeeTroncAmount
      parameters:
      - name: franchiseeId
        in: path
        required: true
        schema:
          type: number
      - name: employeeId
        in: path
        description: employee id
        required: true
        schema:
          type: string
      - name: payTypeId
        in: path
        description: pay type id
        required: true
        schema:
          type: integer
          format: int64
      - name: troncAmountId
        in: path
        description: tronc amount id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: successful operation
components:
  schemas:
    DeprecatedTroncAmount:
      type: object
      properties:
        id:
          type: number
        value:
          type: number
        start_date:
          type: string
          format: date
  securitySchemes:
    oAuth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://oauth.harri.com/oauth2/token
          scopes: {}