openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_IDXCAT_EXT_READ:
    post:
      tags:
      - SRAD
      operationId: /rfc/SRET_IDXCAT_EXT_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CATID:
                  type: string
                  maxLength: 32
                  description: Key of index category
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                CATTATTRIBUTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 32
                        description: Index category identification
                      APPLKEY:
                        type: string
                        maxLength: 10
                        description: Application key
                      ATTRNAME:
                        type: string
                        maxLength: 25
                        description: Category attribute name
                      CATATRCNT:
                        type: integer
                        format: int64
                        description: Numerator
                      ATTRVAL:
                        type: string
                        maxLength: 64
                        description: Category attribute value
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: User who created the attribute
                      CRTIME:
                        type: integer
                        format: int64
                        description: Attribute creation time acc. to UTC
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Attribute last changed by
                      CHTIME:
                        type: integer
                        format: int64
                        description: Last time of change date - time (UTC)
                      CONTAINFLG:
                        type: string
                        maxLength: 1
                        description: Index Category Container Flag
                DOCATTRIBUTETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        maxLength: 25
                        description: Document attribute name of an index category
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: Document Attribute Type
                      CLASSREL:
                        type: string
                        maxLength: 1
                        description: 'Indicates whether Document Attribute is Class Hierarchy  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                LANGUAGETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language According to ISO 639 (2 Character)
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      HASINDEX:
                        type: string
                        maxLength: 1
                        description: Indicates Whether a Physical Index Exists
                TECHATTRTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute Name
                      VALUE1:
                        type: string
                        maxLength: 25
                        description: Attribute Value
                      VALUE2:
                        type: string
                        maxLength: 25
                        description: Attribute Value
                      OPERATOR:
                        type: string
                        maxLength: 5
                        description: Operator
              required:
              - CATID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CATINFO:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 32
                        description: Index category identification
                      CATCLTDEP:
                        type: string
                        maxLength: 1
                        description: Indicates whether application is client-specific
                      MODIFYCLS:
                        type: string
                        maxLength: 3
                        description: Modification Indicator of an Index Category
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: SAP user who created the index category
                      CRTIME:
                        type: integer
                        format: int64
                        description: Creation time - date and time acc. to UTC
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: SAP user who last changed the index category
                      CHTIME:
                        type: integer
                        format: int64
                        description: Last change - date and time (UTC)
                      SRSVRID:
                        type: string
                        maxLength: 10
                        description: Search server relation ID
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Indicates whether index category is active
                      HASINDEX:
                        type: string
                        maxLength: 1
                        description: Indicates Whether a Physical Index Exists
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Type of index category
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Index category class
                      SYINDEPEND:
                        type: string
                        maxLength: 1
                        description: Flag if an Index Category is Cross-system
                      MASTER:
                        type: string
                        maxLength: 1
                        description: Index Category is MASTER (System Independent)
                      USECLASS:
                        type: string
                        maxLength: 1
                        description: Flag if a Classfication Should Be Used
                      USETM:
                        type: string
                        maxLength: 1
                        description: Indicates if Text Mining is used
                      USEFILTER:
                        type: string
                        maxLength: 1
                        description: Indicates if filter has been set
                  DESCRIPTION:
                    type: string
                    maxLength: 50
                    description: Description
                  MODIFYCLS:
                    type: string
                    maxLength: 3
                  NEXTOP:
                    type: string
                    maxLength: 1
                    description: Single-Character Flag
                  QUEUEINFO:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 32
                        description: Index category identification
                      STATTAB:
                        type: string
                        maxLength: 30
                        description: Table for Indexing Status
                      FCT_GETDAT:
                        type: string
                        maxLength: 30
                        description: Exit for data/text collection for indexing (non-KPRO)
                      CLT_DEP:
                        type: string
                        maxLength: 1
                        description: 'Client-Dependence  enumValues: N=Cross-client,Y=Client-Specific'
                        enum:
                        - N
                        - Y
                      CREA_TIME:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: Created by
                      CHNG_TIME:
                        type: integer
                        format: int64
                        description: Time of change (UTC)
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                  SRETIDCAT:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 32
                        description: Index category identification
                      CATCLTDEP:
                        type: string
                        maxLength: 1
                        description: Indicates whether application is client-specific
                      MODIFYCLS:
                        type: string
                        maxLength: 3
                        description: Modification Indicator of an Index Category
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: SAP user who created the index category
                      CRTIME:
                        type: integer
                        format: int64
                        description: Creation time - date and time acc. to UTC
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: SAP user who last changed the index category
                      CHTIME:
                        type: integer
                        format: int64
                        description: Last change - date and time (UTC)
                      SRSVRID:
                        type: string
                        maxLength: 10
                        description: Search server relation ID
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Indicates whether index category is active
                      HASINDEX:
                        type: string
                        maxLength: 1
                        description: Indicates Whether a Physical Index Exists
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Type of index category
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Index category class
                      SYINDEPEND:
                        type: string
                        maxLength: 1
                        description: Flag if an Index Category is Cross-system
                      MASTER:
                        type: string
                        maxLength: 1
                        description: Index Category is MASTER (System Independent)
                      USECLASS:
                        type: string
                        maxLength: 1
                        description: Flag if a Classfication Should Be Used
                      USETM:
                        type: string
                        maxLength: 1
                        description: Indicates if Text Mining is used
                      USEFILTER:
                        type: string
                        maxLength: 1
                        description: Indicates if filter has been set
                  SRSVRID:
                    type: string
                    maxLength: 10
                  CATTATTRIBUTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        CATID:
                          type: string
                          maxLength: 32
                          description: Index category identification
                        APPLKEY:
                          type: string
                          maxLength: 10
                          description: Application key
                        ATTRNAME:
                          type: string
                          maxLength: 25
                          description: Category attribute name
                        CATATRCNT:
                          type: integer
                          format: int64
                          description: Numerator
                        ATTRVAL:
                          type: string
                          maxLength: 64
                          description: Category attribute value
                        CREA_USER:
                          type: string
                          maxLength: 12
                          description: User who created the attribute
                        CRTIME:
                          type: integer
                          format: int64
                          description: Attribute creation time acc. to UTC
                        CHNG_USER:
                          type: string
                          maxLength: 12
                          description: Attribute last changed by
                        CHTIME:
                          type: integer
                          format: int64
                          description: Last time of change date - time (UTC)
                        CONTAINFLG:
                          type: string
                          maxLength: 1
                          description: Index Category Container Flag
                  DOCATTRIBUTETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          maxLength: 25
                          description: Document attribute name of an index category
                        ATTRTYPE:
                          type: string
                          maxLength: 1
                          description: Document Attribute Type
                        CLASSREL:
                          type: string
                          maxLength: 1
                          description: 'Indicates whether Document Attribute is Class Hierarchy  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  LANGUAGETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language According to ISO 639 (2 Character)
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        HASINDEX:
                          type: string
                          maxLength: 1
                          description: Indicates Whether a Physical Index Exists
                  TECHATTRTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute Name
                        VALUE1:
                          type: string
                          maxLength: 25
                          description: Attribute Value
                        VALUE2:
                          type: string
                          maxLength: 25
                          description: Attribute Value
                        OPERATOR:
                          type: string
                          maxLength: 5
                          description: Operator
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
