openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCQADB_APPROVAL_DATA:
    post:
      tags:
      - SCQADB01
      operationId: /rfc/SCQADB_APPROVAL_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APP_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      QNAIRE_ID:
                        type: string
                        maxLength: 32
                        description: Questionnaire ID
                      ANSID:
                        type: string
                        maxLength: 32
                        description: Answer (32 byte GUID)
                      APPROVED:
                        type: string
                        maxLength: 1
                        description: Flag if answer is approved
                      APPCOMMENT:
                        type: string
                        maxLength: 1000
                        description: Text of length 1000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APP_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        QNAIRE_ID:
                          type: string
                          maxLength: 32
                          description: Questionnaire ID
                        ANSID:
                          type: string
                          maxLength: 32
                          description: Answer (32 byte GUID)
                        APPROVED:
                          type: string
                          maxLength: 1
                          description: Flag if answer is approved
                        APPCOMMENT:
                          type: string
                          maxLength: 1000
                          description: Text of length 1000
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
