openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_GET_EXTENSION:
    post:
      tags:
      - SHI5
      operationId: /rfc/STREE_GET_EXTENSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SYSTEM_EXTENSION:
                  type: array
                  items:
                    type: object
                    properties:
                      EXTENSION:
                        type: string
                        maxLength: 15
                        description: Structure enhancement ID
                      SEQUENCE:
                        type: integer
                        format: int32
                        description: Counter
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      ORIGINAL:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      TRANSPORT:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      SRCSYSTEM:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      ORDER_NO:
                        type: integer
                        format: int64
                        description: Enhancement Status Number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGTXT:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                  SYSTEM_EXTENSION:
                    type: array
                    items:
                      type: object
                      properties:
                        EXTENSION:
                          type: string
                          maxLength: 15
                          description: Structure enhancement ID
                        SEQUENCE:
                          type: integer
                          format: int32
                          description: Counter
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        ORIGINAL:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        TRANSPORT:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        SRCSYSTEM:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        ORDER_NO:
                          type: integer
                          format: int64
                          description: Enhancement Status Number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
