openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TESTZONE_RESULT_SAVE:
    post:
      tags:
      - TESTZONE_RESULT
      operationId: /rfc/TESTZONE_RESULT_SAVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_GRANULARITY:
                  type: string
                  maxLength: 10
                IM_RESULT_KEY:
                  type: object
                  properties:
                    RESULT_ID:
                      type: string
                      maxLength: 16
                      description: Current Operation Number
                IM_SNIPPET_MODE:
                  type: string
                  default: UPDATE
                  maxLength: 10
                IM_SNIPPET_TYPE:
                  type: string
                  maxLength: 255
                IM_XML_RESULT:
                  type: string
                  format: byte
                IS_ANNOT:
                  type: object
                  properties:
                    RESULT_ID:
                      type: string
                      maxLength: 16
                      description: Current Operation Number
                    EVENT_ID:
                      type: integer
                      format: int64
                      description: Event ID
                    ANID:
                      type: string
                      maxLength: 255
                      description: XML ID/Snippet ID
                    ANNAME:
                      type: string
                      maxLength: 255
                      description: Name
                    ANURI:
                      type: string
                      description: 'TestZone: URI'
                    ANTYPE:
                      type: string
                      maxLength: 255
                      description: Type
                    RESOLVED:
                      type: string
                      maxLength: 1
                      description: 'TestZone Switch On/Off  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_ERR_MESSAGES:
                    type: array
                    items:
                      type: string
                      maxLength: 255
                      description: Text, 255 Characters
                  EX_RESULT_KEY:
                    type: object
                    properties:
                      RESULT_ID:
                        type: string
                        maxLength: 16
                        description: Current Operation Number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
