openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IQAPI_READ_QUERY_CATALOG:
    post:
      tags:
      - IQAPI_CATALOG
      operationId: /rfc/IQAPI_READ_QUERY_CATALOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DSTATE:
                  type: object
                  properties:
                    WITHDIAG:
                      type: string
                      maxLength: 1
                      description: 'InfoSet Query: Boolean Value  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    STARTCOL:
                      type: integer
                      format: int32
                      description: Horizontal Cursor Position at PAI
                    STARTROW:
                      type: integer
                      format: int32
                      description: Vertical Cursor Position at PAI
                NEW_QUERIES:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'InfoSet Query: Boolean Value'
                OLD_GLOBAL_QUERIES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'InfoSet Query: Boolean Value'
                OLD_STD_QUERIES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'InfoSet Query: Boolean Value'
                TR_GENERIC:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        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)'
                TR_INFOSET:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        maxLength: 30
                        description: 'InfoSet Query: InfoSet Name'
                      HIGH:
                        type: string
                        maxLength: 30
                        description: 'InfoSet Query: InfoSet Name'
                TR_QUERY:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        maxLength: 30
                        description: 'InfoSet Query: Query Name'
                      HIGH:
                        type: string
                        maxLength: 30
                        description: 'InfoSet Query: Query Name'
                WITH_OLD_GENERATED_QUERIES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'InfoSet Query: Boolean Value'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  QCATALOG:
                    type: array
                    items:
                      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'
                        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'
                        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'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
