openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_TWB_REPLACE_TEXT_SYMBOLS:
    post:
      tags:
      - S_TWB_RFC
      operationId: /rfc/S_TWB_REPLACE_TEXT_SYMBOLS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DELETE_UNUSED_SYMBOLS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Flag with Values ' ' and 'X'
                HEAD:
                  type: object
                  properties:
                    TDOBJECT:
                      type: string
                      maxLength: 10
                      description: 'Texts: application object'
                    TDNAME:
                      type: string
                      maxLength: 70
                      description: Name
                    TDID:
                      type: string
                      maxLength: 4
                      description: Text ID
                    TDSPRAS:
                      type: string
                      maxLength: 1
                      description: Language Key
                    TDTITLE:
                      type: string
                      maxLength: 50
                      description: Title in dialog box
                    TDFORM:
                      type: string
                      maxLength: 16
                      description: Form name
                    TDSTYLE:
                      type: string
                      maxLength: 8
                      description: Style Name
                    TDVERSION:
                      type: integer
                      format: int64
                      description: Version
                    TDFUSER:
                      type: string
                      maxLength: 12
                      description: Created by
                    TDFRELES:
                      type: string
                      maxLength: 4
                      description: Release
                    TDFDATE:
                      type: string
                      format: date
                      description: Date created
                    TDFTIME:
                      type: string
                      maxLength: 6
                      description: Time Created
                    TDLUSER:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    TDLRELES:
                      type: string
                      maxLength: 4
                      description: Last Changed in Release
                    TDLDATE:
                      type: string
                      format: date
                      description: Changed On
                    TDLTIME:
                      type: string
                      maxLength: 6
                      description: Last Changed at
                    TDLINESIZE:
                      type: integer
                      format: int64
                      description: 'Line Width  enumValues: 040='
                      enum:
                      - '040'
                    TDTXTLINES:
                      type: integer
                      format: int64
                      description: Number of Text Lines in Line Table
                    TDHYPHENAT:
                      type: string
                      maxLength: 1
                      description: 'Hyphenation Active  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    TDOSPRAS:
                      type: string
                      maxLength: 1
                      description: Original language
                    TDTRANSTAT:
                      type: integer
                      format: int64
                      description: Translation status
                    TDMACODE1:
                      type: string
                      maxLength: 16
                      description: Short Title 1
                    TDMACODE2:
                      type: string
                      maxLength: 16
                      description: Short Title 2
                    TDREFOBJ:
                      type: string
                      maxLength: 10
                      description: Object of Referenced Text
                    TDREFNAME:
                      type: string
                      maxLength: 70
                      description: Name of Referenced Text
                    TDREFID:
                      type: string
                      maxLength: 4
                      description: ID of Referenced Text
                    TDTEXTTYPE:
                      type: string
                      maxLength: 6
                      description: 'SAPscript: Format of Text'
                    TDCOMPRESS:
                      type: string
                      maxLength: 1
                      description: 'SAPscript: Text is compressed'
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    TDOCLASS:
                      type: string
                      maxLength: 4
                      description: 'SAPscript: Object Class'
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                TEXT_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
              required:
              - HEAD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEXT_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
