openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWP_GET_TCODE_UI_CLASS:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWP_GET_TCODE_UI_CLASS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TCODE_DEVICES:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Long transaction code (as in Release 4.0 and higher)
                      DEVTYPE:
                        type: string
                        maxLength: 30
                        description: Description of Output Device for the mySAP.com Workplace
                      VALUE:
                        type: string
                        maxLength: 120
                        description: char120
                TCODE_UI_CLASS:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Long transaction code (as in Release 4.0 and higher)
                      UI_CLASS:
                        type: string
                        maxLength: 1
                        description: 'UI class for transaction or task  enumValues: O=Others,""=Supports SAPGUI for HTML,I=Internet application (IAC),P=Supports GUI plug-in'
                        enum:
                        - O
                        - ''
                        - I
                        - P
                      SRV_FILE:
                        type: string
                        maxLength: 64
                        description: ITS service file name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TCODE_DEVICES:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Long transaction code (as in Release 4.0 and higher)
                        DEVTYPE:
                          type: string
                          maxLength: 30
                          description: Description of Output Device for the mySAP.com Workplace
                        VALUE:
                          type: string
                          maxLength: 120
                          description: char120
                  TCODE_UI_CLASS:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Long transaction code (as in Release 4.0 and higher)
                        UI_CLASS:
                          type: string
                          maxLength: 1
                          description: 'UI class for transaction or task  enumValues: O=Others,""=Supports SAPGUI for HTML,I=Internet application (IAC),P=Supports GUI plug-in'
                          enum:
                          - O
                          - ''
                          - I
                          - P
                        SRV_FILE:
                          type: string
                          maxLength: 64
                          description: ITS service file name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
