openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSA2_SERV_HIERCATALOG_GET:
    post:
      tags:
      - RSA7
      operationId: /rfc/RSA2_SERV_HIERCATALOG_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LANGU:
                  type: object
                  properties:
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key
                I_OBJVERS:
                  type: string
                  default: A
                  maxLength: 1
                I_OSOURCE:
                  type: string
                  maxLength: 30
                I_RLOGSYS:
                  type: string
                  maxLength: 10
                I_SLOGSYS:
                  type: string
                  maxLength: 10
                E_T_HIERS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHABASNM:
                        type: string
                        maxLength: 30
                        description: Reference characteristic
                      HIENM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      HCLASS:
                        type: string
                        maxLength: 4
                        description: Hierarchy class
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      DATEFROM:
                        type: string
                        format: date
                        description: Valid-From Date
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                E_T_PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: ''
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: ''
                      MSGNO:
                        type: string
                        maxLength: 3
                        description: ''
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_HIERS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHABASNM:
                          type: string
                          maxLength: 30
                          description: Reference characteristic
                        HIENM:
                          type: string
                          maxLength: 30
                          description: Hierarchy name
                        VERSION:
                          type: string
                          maxLength: 3
                          description: Hierarchy version
                        HCLASS:
                          type: string
                          maxLength: 4
                          description: Hierarchy class
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DATETO:
                          type: string
                          format: date
                          description: Valid-to date
                        DATEFROM:
                          type: string
                          format: date
                          description: Valid-From Date
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: ''
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: ''
                        MSGNO:
                          type: string
                          maxLength: 3
                          description: ''
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: ''
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: ''
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: ''
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
