openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPI_GET_AGENT_CONFIG:
    post:
      tags:
      - SPIAGRTC
      operationId: /rfc/SPI_GET_AGENT_CONFIG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TSPIAGCND:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      SIGNATURE:
                        type: string
                        maxLength: 32
                        description: 'Global SPI: Agent Signature'
                      FLDNAME:
                        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  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                        enum:
                        - E
                        - I
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      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'
                TSPIAGDFLD:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      AGENTID:
                        type: string
                        maxLength: 22
                        description: 'SPI Global: Agent ID'
                      SIGNATURE:
                        type: string
                        maxLength: 32
                        description: 'Global SPI: Agent Signature'
                      FLDNAME:
                        type: string
                        maxLength: 30
                        description: 'SPI: Data Field Name'
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TSPIAGCND:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        SIGNATURE:
                          type: string
                          maxLength: 32
                          description: 'Global SPI: Agent Signature'
                        FLDNAME:
                          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  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                          enum:
                          - E
                          - I
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        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'
                  TSPIAGDFLD:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        AGENTID:
                          type: string
                          maxLength: 22
                          description: 'SPI Global: Agent ID'
                        SIGNATURE:
                          type: string
                          maxLength: 32
                          description: 'Global SPI: Agent Signature'
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
