openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_SAF_KB_GET_ATTR_VALUES:
    post:
      tags:
      - EI_SAF_RFC_KB
      summary: 'SAF: API to get attributes and their values of a knowledge base'
      operationId: /rfc/RFC_SAF_KB_GET_ATTR_VALUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_KB_NAME:
                  type: string
                  maxLength: 30
                  description: KB name
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language Key
              required:
              - IV_KB_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_ATTR_VALUE:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 255
                          description: 'SAF: Attribute name for knowledge repository'
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: SAF - 2 character lang_iso for rfc
                        MULTIPLE_SELECTION:
                          type: string
                          maxLength: 1
                          description: Flag in Software Agent Framework
                        NAME_DESC:
                          type: string
                          maxLength: 255
                          description: 'SAF: Attribute value for knowledge repository'
                        VALUE:
                          type: string
                          maxLength: 255
                          description: 'SAF: Attribute description for knowledge repository'
                        VALUE_DESC:
                          type: string
                          maxLength: 255
                          description: 'SAF: Attribute value for knowledge repository'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
