openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IQAPI_QUERY_CONTENT:
    post:
      tags:
      - IQAPI_QUERY
      operationId: /rfc/IQAPI_QUERY_CONTENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                QUERY:
                  type: string
                  maxLength: 30
                  description: 'InfoSet Query: Query Name'
              required:
              - QUERY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CODELIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CODETYPE:
                          type: string
                          maxLength: 4
                          description: 'InfoSet Query: Code Type'
                        NAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        LINENR:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        LINE:
                          type: string
                          maxLength: 72
                          description: 'InfoSet Query: Row'
                  CONNLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        FTYPE:
                          type: string
                          maxLength: 4
                          description: 'InfoSet Query: Field Type'
                        DDICNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        LDBNODE:
                          type: string
                          maxLength: 14
                          description: Logical node name
                  FIELDDEFLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        FTYPE:
                          type: string
                          maxLength: 4
                          description: 'InfoSet Query: Field Type'
                        FGROUP:
                          type: string
                          maxLength: 2
                          description: 'InfoSet Query: Field Group'
                        FTEXT:
                          type: string
                          maxLength: 60
                          description: 'InfoSet Query: Long Text for Objects'
                        LIKETAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        LIKEFIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        DOMNAME:
                          type: string
                          maxLength: 30
                          description: Domain name
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: 'ABAP/4 Dictionary: Screen data type for Screen Painter'
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: ABAP data type (C,D,N,...)
                        REFTABLE:
                          type: string
                          maxLength: 30
                          description: Table for reference field
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: Reference field for currency and qty fields
                        MEMORYID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        TEXTFIELD:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        ROUND:
                          type: string
                          maxLength: 4
                          description: 'InfoSet Query: Rounding Factor'
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        NOSUMM:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        CURRYPOS:
                          type: string
                          maxLength: 6
                          description: 'InfoSet Query API: Postion of the currency/unit'
                        SELOPT:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        NOINTERVAL:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NOEXTENS:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NODISPLAY:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        ORDERNR:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        SELTEXT:
                          type: string
                          maxLength: 60
                          description: 'InfoSet Query: Long Text for Objects'
                  FIELDLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        TEXTFIELD:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        POS:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        LINENR:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        LOGNR:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        ROUND:
                          type: string
                          maxLength: 4
                          description: 'InfoSet Query: Rounding Factor'
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        NOSUMM:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        CURRYPOS:
                          type: string
                          maxLength: 6
                          description: 'InfoSet Query API: Postion of the currency/unit'
                        TOTAL:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        CNT:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        SORTNR:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        DESCENDING:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        SUBTOTAL:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        SUBCNT:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        SOTEXT:
                          type: string
                          maxLength: 60
                          description: 'InfoSet Query: Long Text for Objects'
                        SELOPT:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        NOINTERVAL:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NOEXTENS:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NODISPLAY:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        ORDERNR:
                          type: integer
                          format: int64
                          description: 'InfoSet Query: Sequence Number'
                        SELTEXT:
                          type: string
                          maxLength: 60
                          description: 'InfoSet Query: Long Text for Objects'
                        EXCEPTFLAG:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        STAT_CNT:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        STAT_AVG:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        STAT_PER:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        RL_CRIT:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        UNIT:
                          type: string
                          maxLength: 5
                          description: 'SAP Query (S): Currency/unit'
                  FILDESC:
                    type: array
                    items:
                      type: object
                      properties:
                        TAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        TEXTFIELD:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Selection field type'
                        LENGTH:
                          type: integer
                          format: int32
                          description: 'ABAP/4: Length of selection field'
                        CHE_RAD:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        ID:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        NODI:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                  HEADER:
                    type: object
                    properties:
                      QNAME:
                        type: string
                        maxLength: 30
                        description: 'InfoSet Query: Query Name'
                      OLDQNAME:
                        type: string
                        maxLength: 14
                        description: 'SAP Query (S): Query name'
                      OLDUNAME:
                        type: string
                        maxLength: 12
                        description: 'SAP Query (S): Name of a user group'
                      OLDWS:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Work Area ID'
                      LTYPE:
                        type: string
                        maxLength: 5
                        description: 'InfoSet Query: Query List Type  enumValues: RANK=Ranked List,BASIC=Basic List,STAT=Statistics'
                        enum:
                        - RANK
                        - BASIC
                        - STAT
                      STRUC:
                        type: string
                        maxLength: 30
                        description: Table Name
                      STDFILTER:
                        type: string
                        maxLength: 14
                        description: 'ABAP: Name of variant (without program name)'
                      ISNAME:
                        type: string
                        maxLength: 30
                        description: 'InfoSet Query: InfoSet Name'
                      OLDQ:
                        type: string
                        maxLength: 1
                        description: 'InfoSet Query: Boolean Value  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      OLDDEVC:
                        type: string
                        maxLength: 30
                        description: Package
                      OLDISNAME:
                        type: string
                        maxLength: 24
                        description: 'SAP Query (S): InfoSet'
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CRDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CRTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      CHANGEDBY:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CHTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      RANKPOS:
                        type: string
                        maxLength: 3
                        description: 'SAP Query (S): Line number in ranked list'
                      QTEXT:
                        type: string
                        maxLength: 60
                        description: 'InfoSet Query: Long Text for Objects'
                  STDFILTER:
                    type: array
                    items:
                      type: object
                      properties:
                        TAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        TEXTFIELD:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTI:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 132
                          description: 'Selection variants: Field content (LOW/HIGH)'
                        HIGH:
                          type: string
                          maxLength: 132
                          description: 'Selection variants: Field content (LOW/HIGH)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
