openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_TEXTE_TEXT_SAVE_DB:
    post:
      tags:
      - DSVAS_TEXTE
      operationId: /rfc/DSVAS_TEXTE_TEXT_SAVE_DB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILELENGTH:
                  type: integer
                  format: int32
                HEAD2:
                  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
                MODIFY:
                  type: string
                  default: ' '
                  maxLength: 1
                NEWVERSION:
                  type: string
                  default: ' '
                  maxLength: 1
                TEXTKEY:
                  type: object
                  properties:
                    KEYTYPE:
                      type: string
                      maxLength: 1
                      description: 'DSVAS: Type of key  enumValues: R=Program ID,G=Check group ID'
                      enum:
                      - R
                      - G
                    VARKEY:
                      type: string
                      maxLength: 70
                      description: 'DSVAS: Variable key'
                    TEXTID:
                      type: integer
                      format: int64
                      description: 'DSVAS: Text ID'
                    SPRAS:
                      type: string
                      maxLength: 1
                      description: Language Key
                    TVERSNR:
                      type: integer
                      format: int64
                      description: 'DSVAS: Version number (e.g session type, session group)'
                    STATUS:
                      type: string
                      maxLength: 1
                      description: 'DSVAS: Status of a text  enumValues: C=To be reviewed,T=To be translated,F=Final,K=Correction,R=To be edited'
                      enum:
                      - C
                      - T
                      - F
                      - K
                      - R
                    SHORTTEXT:
                      type: string
                      maxLength: 60
                      description: 'DSVAS: Description of length 60'
                    TXTTYPE:
                      type: string
                      maxLength: 3
                      description: 'DSVAS: Text type (TXT, DOC, or DOT)  enumValues: TEC=TextEditControl,RTF=RTF texts,DOC=Documents,TIT=Title,DOT=DOT files,ITF=SAPScript format'
                      enum:
                      - TEC
                      - RTF
                      - DOC
                      - TIT
                      - DOT
                      - ITF
                    MASTER_LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key
                    USER_CREAT:
                      type: string
                      maxLength: 12
                      description: User Name
                    USER_CHANGE:
                      type: string
                      maxLength: 12
                      description: User Name
                    DATE_CHANGE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    TIME_CHANGE:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    REDO_FLAG:
                      type: string
                      maxLength: 1
                      description: REDO Text rejected by developer -> returned for editing
                BINCONTENS:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 120
                        description: char120
                CONTRCONTENS:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 134
                        description: Character field, length 134
                ITFCONTENS:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
              required:
              - TEXTKEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BINCONTENS:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 120
                          description: char120
                  CONTRCONTENS:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 134
                          description: Character field, length 134
                  ITFCONTENS:
                    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.
