openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HRHAP_C_TRANSLATE_OBJECT_DESCR:
    post:
      tags:
      - HRHAP_C_A_GLOBAL
      operationId: /rfc/HRHAP_C_TRANSLATE_OBJECT_DESCR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: '19000101'
                DUTY:
                  type: string
                  default: ' '
                  maxLength: 1
                ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                OBJID:
                  type: integer
                  format: int64
                OTYPE:
                  type: string
                  maxLength: 2
                PLVAR:
                  type: string
                  maxLength: 2
                SUBTY:
                  type: string
                  default: '0001'
                  maxLength: 4
                VTASK:
                  type: string
                  default: D
                  maxLength: 1
                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:
                  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.
