openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPI_AGENT_DB_TABLES:
    post:
      tags:
      - SPIMD
      operationId: /rfc/SPI_AGENT_DB_TABLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_AGENT_ID:
                  type: string
                  maxLength: 22
                SSPIAGD_T:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AGENTID:
                        type: string
                        maxLength: 22
                        description: 'SPI Global: Agent ID'
                      AGENTXT:
                        type: string
                        maxLength: 128
                        description: 'SPI: Agent Description'
                SSPIAGFLD:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      AGENTID:
                        type: string
                        maxLength: 22
                        description: 'SPI Global: Agent ID'
                      FLDNAME:
                        type: string
                        maxLength: 30
                        description: 'SPI: Data Field Name'
                      ISPAYLOAD:
                        type: integer
                        format: int32
                        description: 'SPI: Belongs to Payload Flag  enumValues: 1=True,0=False'
                        enum:
                        - '1'
                        - '0'
                      ISCONDITION:
                        type: integer
                        format: int32
                        description: 'SPI: Belongs to Condition Record  enumValues: 1=True,0=False'
                        enum:
                        - '1'
                        - '0'
                      ISPATTERN:
                        type: integer
                        format: int32
                        description: 'SPI: Indicator Template for Field Names  enumValues: 1=True,0=False'
                        enum:
                        - '1'
                        - '0'
                SSPIAGFLD_T:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AGENTID:
                        type: string
                        maxLength: 22
                        description: 'SPI Global: Agent ID'
                      FLDNAME:
                        type: string
                        maxLength: 30
                        description: 'SPI: Data Field Name'
                      FIELDTXT:
                        type: string
                        maxLength: 70
                        description: 'SPI: Description of Payload Attribute'
              required:
              - IP_AGENT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_SSPIAGD:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      AGENTID:
                        type: string
                        maxLength: 22
                        description: 'SPI Global: Agent ID'
                      COMPNAME:
                        type: string
                        maxLength: 8
                        description: 'SPI: Tool ID'
                  SSPIAGD_T:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AGENTID:
                          type: string
                          maxLength: 22
                          description: 'SPI Global: Agent ID'
                        AGENTXT:
                          type: string
                          maxLength: 128
                          description: 'SPI: Agent Description'
                  SSPIAGFLD:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        AGENTID:
                          type: string
                          maxLength: 22
                          description: 'SPI Global: Agent ID'
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        ISPAYLOAD:
                          type: integer
                          format: int32
                          description: 'SPI: Belongs to Payload Flag  enumValues: 1=True,0=False'
                          enum:
                          - '1'
                          - '0'
                        ISCONDITION:
                          type: integer
                          format: int32
                          description: 'SPI: Belongs to Condition Record  enumValues: 1=True,0=False'
                          enum:
                          - '1'
                          - '0'
                        ISPATTERN:
                          type: integer
                          format: int32
                          description: 'SPI: Indicator Template for Field Names  enumValues: 1=True,0=False'
                          enum:
                          - '1'
                          - '0'
                  SSPIAGFLD_T:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AGENTID:
                          type: string
                          maxLength: 22
                          description: 'SPI Global: Agent ID'
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        FIELDTXT:
                          type: string
                          maxLength: 70
                          description: 'SPI: Description of Payload Attribute'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
