openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPI_CONDENSE_ATTRIBUTE_SELECT:
    post:
      tags:
      - SPIATTRCONDENSE
      operationId: /rfc/SPI_CONDENSE_ATTRIBUTE_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_AGGR_FROM:
                  type: integer
                  format: int64
                  description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                IP_AGGR_TO:
                  type: integer
                  format: int64
                  description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                IP_PROCTYPE:
                  type: string
                  maxLength: 32
                  description: 'SPI: Process Type ID'
                IT_ATTRIBUTE_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Technical Name of Attribute
                      TOOL:
                        type: string
                        maxLength: 8
                        description: 'SPI: Tool ID'
              required:
              - IP_AGGR_FROM
              - IP_AGGR_TO
              - IP_PROCTYPE
              - IT_ATTRIBUTE_IDS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EP_SUCCESS:
                    type: integer
                    format: int32
                    description: 'Global SPI: Boolean Value'
                  ET_NV_PROCESS:
                    type: array
                    items:
                      type: object
                      properties:
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        VALUE:
                          type: string
                          maxLength: 70
                          description: 'SPI Global: Value for a Field Name'
                  ET_NV_STEPS:
                    type: array
                    items:
                      type: object
                      properties:
                        STEPID:
                          type: string
                          maxLength: 32
                          description: 'SPI: Process Step ID'
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        VALUE:
                          type: string
                          maxLength: 70
                          description: 'SPI Global: Value for a Field Name'
                  ET_NV_TRANSITIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        PRSTEPID1:
                          type: string
                          maxLength: 32
                          description: 'SPI: Process Step ID'
                        PRSTEPID2:
                          type: string
                          maxLength: 32
                          description: 'SPI: Process Step ID'
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        VALUE:
                          type: string
                          maxLength: 70
                          description: 'SPI Global: Value for a Field Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
