openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_READ_HRS1002:
    post:
      tags:
      - RHWR
      operationId: /rfc/RH_READ_HRS1002
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_LANGU:
                  type: string
                  maxLength: 1
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                ACT_SUBTY:
                  type: string
                  maxLength: 4
                AUTOFORMAT:
                  type: string
                  default: ' '
                  maxLength: 1
                BYPASSING_BUFFER:
                  type: string
                  maxLength: 1
                USE_CUSTOMER_EXT:
                  type: string
                  default: X
                  maxLength: 1
                ACT_HRS1002:
                  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
                      SUBTY:
                        type: string
                        maxLength: 4
                        description: Subtype
                      TABSEQNR:
                        type: integer
                        format: int64
                        description: Sequence Number in Table Part of Table Infotype
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      TFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
              required:
              - ACT_OBJID
              - ACT_OTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_HRS1002:
                    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
                        SUBTY:
                          type: string
                          maxLength: 4
                          description: Subtype
                        TABSEQNR:
                          type: integer
                          format: int64
                          description: Sequence Number in Table Part of Table Infotype
                        AEDTM:
                          type: string
                          format: date
                          description: Changed on
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        TLINE:
                          type: string
                          maxLength: 79
                          description: Line With Length 79 for Infotype 1002
                        TFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
