openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_CHECK_HRS_MACO:
    post:
      tags:
      - RHWR
      operationId: /rfc/RH_CHECK_HRS_MACO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                ACT_LANGU_MODE:
                  type: string
                  maxLength: 1
                ACT_LIMIT:
                  type: integer
                  format: int64
                  default: 0
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                ACT_SEARCH:
                  type: string
                  default: '*'
                  maxLength: 12
                ACT_HRS_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      MC_SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      MC_STEXT:
                        type: string
                        maxLength: 40
                        description: Name
              required:
              - ACT_OTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_HRS_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Standard Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AEDTM:
                          type: string
                          format: date
                          description: Changed on
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        MC_SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        MC_STEXT:
                          type: string
                          maxLength: 40
                          description: Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
