openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPI_SET_AGENT_RT_CONFIG:
    post:
      tags:
      - SPIAGRTC
      operationId: /rfc/SPI_SET_AGENT_RT_CONFIG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_RTCONF:
                  type: array
                  items:
                    type: object
                    properties:
                      AGENTID:
                        type: string
                        maxLength: 22
                        description: 'SPI Global: Agent ID'
                      SIGNOBJ:
                        type: array
                        items:
                          type: object
                          properties:
                            SIGNATURE:
                              type: string
                              maxLength: 32
                              description: 'Global SPI: Agent Signature'
                            ACTIVE:
                              type: string
                              maxLength: 1
                              description: Single-Character Flag
                            CONDITION:
                              type: array
                              items:
                                type: object
                                properties:
                                  FIELDNAME:
                                    type: string
                                    maxLength: 30
                                    description: 'SPI: Data Field Name'
                                  FLDCNT:
                                    type: integer
                                    format: int32
                                    description: 'SPI: Counter (0-255)'
                                  SIGN:
                                    type: string
                                    maxLength: 1
                                    description: Inclusion/exclusion criterion SIGN for range tables
                                  OPTION:
                                    type: string
                                    maxLength: 2
                                    description: Selection operator OPTION for range tables
                                  LOW:
                                    type: string
                                    maxLength: 70
                                    description: 'SPI Global: Value for a Field Name'
                                  HIGH:
                                    type: string
                                    maxLength: 70
                                    description: 'SPI Global: Value for a Field Name'
                            FNAME:
                              type: array
                              items:
                                type: string
                                maxLength: 30
                                description: 'SPI: Data Field Name'
              required:
              - IT_RTCONF
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
