openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_DEFINE_ATTRIBUTE:
    post:
      tags:
      - TREX_ARW_ADMINISTRATION
      summary: define attribute
      operationId: /rfc/TREX_ARW_DEFINE_ATTRIBUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                ATTRIBUTE_DEFINITIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        format: byte
                        description: ''
                      ATTRTYPE:
                        type: string
                        format: byte
                        description: ''
                      IMPLFLAGS:
                        type: integer
                        format: int64
                        description: ''
                      TMRELEVANT:
                        type: string
                        format: byte
                        description: ''
                      GROUP:
                        type: string
                        format: byte
                        description: ''
              required:
              - INDEX_ID
              - RFC_DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
                  ATTRIBUTE_DEFINITIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          format: byte
                          description: ''
                        ATTRTYPE:
                          type: string
                          format: byte
                          description: ''
                        IMPLFLAGS:
                          type: integer
                          format: int64
                          description: ''
                        TMRELEVANT:
                          type: string
                          format: byte
                          description: ''
                        GROUP:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
