openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HRHAP_C_IT1002_READ_SINGLE:
    post:
      tags:
      - HRHAP_C_IF_ELEMENTS_BASIC
      operationId: /rfc/HRHAP_C_IT1002_READ_SINGLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                OBJID:
                  type: integer
                  format: int64
                  description: Object ID
                OTYPE:
                  type: string
                  maxLength: 2
                  description: Object Type
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                STTAG:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date
                SUBTY:
                  type: string
                  default: '0001'
                  maxLength: 4
                LANGU_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      SPRSL:
                        type: string
                        maxLength: 1
                        description: Language Key
                      SPTXT:
                        type: string
                        maxLength: 16
                        description: Language
                PTXT1002:
                  type: array
                  items:
                    type: object
                    properties:
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      TFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
              required:
              - OBJID
              - OTYPE
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANGED_LANGU:
                    type: string
                    maxLength: 1
                  CHANGE_DATE:
                    type: string
                    format: date
                    description: Last Changed On
                  CHANGE_USER:
                    type: string
                    maxLength: 12
                  DESCR_BEGDA:
                    type: string
                    format: date
                    description: Start Date
                  DESCR_ENDDA:
                    type: string
                    format: date
                    description: To date
                  LANGU_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        SPRSL:
                          type: string
                          maxLength: 1
                          description: Language Key
                        SPTXT:
                          type: string
                          maxLength: 16
                          description: Language
                  PTXT1002:
                    type: array
                    items:
                      type: object
                      properties:
                        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.
