openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_SAF_GET_FEEDBACK:
    post:
      tags:
      - CRM_SAF_RFC_FB
      summary: API for java to save feedback for one transaction
      operationId: /rfc/RFC_SAF_GET_FEEDBACK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_KB_NAME:
                  type: string
                  default: SDB
                  maxLength: 30
                  description: 'SAF: knowledge base name'
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language according to ISO 639
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_FEEDBACKS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        KB_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Knowledge Base
                        FEEDBACK:
                          type: integer
                          format: int64
                          description: 'SAF: Feedback Value'
                        ACTIVE_FLAG:
                          type: string
                          maxLength: 1
                          description: 'SAF: Feedback Option Active'
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPTION:
                          type: string
                          maxLength: 80
                          description: 'SAF: Feedback Description'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
