openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_READ_HRS1206:
    post:
      tags:
      - RHWR
      operationId: /rfc/RH_READ_HRS1206
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                BYPASSING_BUFFER:
                  type: string
                  maxLength: 1
                USE_CUSTOMER_EXT:
                  type: string
                  default: X
                  maxLength: 1
                ACT_HRS1206:
                  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
                      WITEXT:
                        type: string
                        maxLength: 120
                        description: Work Item Text
              required:
              - ACT_OBJID
              - ACT_OTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_WITEXT:
                    type: string
                    maxLength: 120
                  ACT_HRS1206:
                    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
                        WITEXT:
                          type: string
                          maxLength: 120
                          description: Work Item Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
