openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FDT_RFC_GET_CHILD_LIST:
    post:
      tags:
      - FDT_RFC_QUERY
      summary: 'FDT: return a list of objects belonging to a parent object'
      operationId: /rfc/FDT_RFC_GET_CHILD_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CREATION_USER:
                  type: string
                  maxLength: 12
                  description: User Names
                IV_PARENT_UUID:
                  type: string
                  maxLength: 32
                  description: 'FDT: Universal Unique Identifier'
                ET_CHILD_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: 'FDT: Universal Unique Identifier'
                      APPLICATION_ID:
                        type: string
                        maxLength: 32
                        description: 'FDT: Universal Unique Identifier'
                      NAME:
                        type: string
                        maxLength: 30
                        description: 'FDT: Name'
                      OBJECT_TYPE:
                        type: string
                        maxLength: 2
                        description: 'FDT: Object Type  enumValues: DO=Data Object,FU=Function,RS=Ruleset,EX=Expression,FI=Filter,AP=Application,CA=Catalog,ET=Expression Type'
                        enum:
                        - DO
                        - FU
                        - RS
                        - EX
                        - FI
                        - AP
                        - CA
                        - ET
                      ACCESS_LEVEL:
                        type: string
                        maxLength: 6
                        description: 'FDT: Access Level  enumValues: COMP=Top Component,SUP=Superior Component,SAP=SAP,""=Application (OBSOLETE),APPL=Application,GLOBAL=Global'
                        enum:
                        - COMP
                        - SUP
                        - SAP
                        - ''
                        - APPL
                        - GLOBAL
                      DISPLAY_NAME:
                        type: string
                        maxLength: 80
                        description: 'FDT: Display Name for RFC'
                      DISPLAY_TEXT:
                        type: string
                        maxLength: 80
                        description: 'FDT: Elementary Data Type Text'
                      HAS_REF_OBJECTS:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      IS_DELETED:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      NAMED_PARENT_ID:
                        type: string
                        maxLength: 32
                        description: 'FDT: Universal Unique Identifier'
                      IS_CURRENT_VERSION:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: 'FDT: Universal Unique Identifier'
                      DISPLAY_NAME:
                        type: string
                        maxLength: 80
                        description: 'FDT: Display Name for RFC'
                      OBJECT_TYPE:
                        type: string
                        maxLength: 2
                        description: 'FDT: Object Type  enumValues: DO=Data Object,FU=Function,RS=Ruleset,EX=Expression,FI=Filter,AP=Application,CA=Catalog,ET=Expression Type'
                        enum:
                        - DO
                        - FU
                        - RS
                        - EX
                        - FI
                        - AP
                        - CA
                        - ET
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGTEXT:
                        type: string
                        maxLength: 250
                        description: 'FDT RFC: Message text'
                      SOURCE:
                        type: string
                        maxLength: 100
                        description: 'FDT RFC: Source(Code) of an error'
              required:
              - IV_PARENT_UUID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CHILD_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: 'FDT: Universal Unique Identifier'
                        APPLICATION_ID:
                          type: string
                          maxLength: 32
                          description: 'FDT: Universal Unique Identifier'
                        NAME:
                          type: string
                          maxLength: 30
                          description: 'FDT: Name'
                        OBJECT_TYPE:
                          type: string
                          maxLength: 2
                          description: 'FDT: Object Type  enumValues: DO=Data Object,FU=Function,RS=Ruleset,EX=Expression,FI=Filter,AP=Application,CA=Catalog,ET=Expression Type'
                          enum:
                          - DO
                          - FU
                          - RS
                          - EX
                          - FI
                          - AP
                          - CA
                          - ET
                        ACCESS_LEVEL:
                          type: string
                          maxLength: 6
                          description: 'FDT: Access Level  enumValues: COMP=Top Component,SUP=Superior Component,SAP=SAP,""=Application (OBSOLETE),APPL=Application,GLOBAL=Global'
                          enum:
                          - COMP
                          - SUP
                          - SAP
                          - ''
                          - APPL
                          - GLOBAL
                        DISPLAY_NAME:
                          type: string
                          maxLength: 80
                          description: 'FDT: Display Name for RFC'
                        DISPLAY_TEXT:
                          type: string
                          maxLength: 80
                          description: 'FDT: Elementary Data Type Text'
                        HAS_REF_OBJECTS:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        IS_DELETED:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        NAMED_PARENT_ID:
                          type: string
                          maxLength: 32
                          description: 'FDT: Universal Unique Identifier'
                        IS_CURRENT_VERSION:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: 'FDT: Universal Unique Identifier'
                        DISPLAY_NAME:
                          type: string
                          maxLength: 80
                          description: 'FDT: Display Name for RFC'
                        OBJECT_TYPE:
                          type: string
                          maxLength: 2
                          description: 'FDT: Object Type  enumValues: DO=Data Object,FU=Function,RS=Ruleset,EX=Expression,FI=Filter,AP=Application,CA=Catalog,ET=Expression Type'
                          enum:
                          - DO
                          - FU
                          - RS
                          - EX
                          - FI
                          - AP
                          - CA
                          - ET
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGTEXT:
                          type: string
                          maxLength: 250
                          description: 'FDT RFC: Message text'
                        SOURCE:
                          type: string
                          maxLength: 100
                          description: 'FDT RFC: Source(Code) of an error'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
