openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_UPDATE_PARAMETER_VALUES:
    post:
      tags:
      - SHI6
      summary: Write structure view parameters (tab. TTRE)
      operationId: /rfc/STREE_UPDATE_PARAMETER_VALUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STRUCTURE_ID:
                  type: string
                  maxLength: 32
                PARAMETER_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      EXTENSION:
                        type: string
                        maxLength: 15
                        description: Structure enhancement ID
                      COUNTER:
                        type: integer
                        format: int32
                        description: Counter (10 digits)
                      PARAM_ID:
                        type: string
                        maxLength: 10
                        description: Parameter ID
                      PARAM_VAL:
                        type: string
                        maxLength: 60
                        description: Parameter value
                      PARAM_VAL2:
                        type: string
                        maxLength: 60
                        description: Parameter value
              required:
              - STRUCTURE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PARAMETER_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        EXTENSION:
                          type: string
                          maxLength: 15
                          description: Structure enhancement ID
                        COUNTER:
                          type: integer
                          format: int32
                          description: Counter (10 digits)
                        PARAM_ID:
                          type: string
                          maxLength: 10
                          description: Parameter ID
                        PARAM_VAL:
                          type: string
                          maxLength: 60
                          description: Parameter value
                        PARAM_VAL2:
                          type: string
                          maxLength: 60
                          description: Parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
