openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_KWT_PREP_OBJ_SET_TEXT:
    post:
      tags:
      - LXE_KWT_PREP
      operationId: /rfc/LXE_KWT_PREP_OBJ_SET_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTENT:
                  type: string
                  format: byte
                DESTINATION:
                  type: string
                  default: ' '
                  maxLength: 32
                KW_OBJ_TYPE:
                  type: string
                  maxLength: 10
                OBJECT_NAME:
                  type: string
                  maxLength: 70
                SOURCE_LANGU:
                  type: string
                  maxLength: 1
                SOURCE_OBJ:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                TARGET_LANGU:
                  type: string
                  maxLength: 1
                TARGET_OBJ:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
              required:
              - CONTENT
              - KW_OBJ_TYPE
              - OBJECT_NAME
              - SOURCE_LANGU
              - SOURCE_OBJ
              - TARGET_LANGU
              - TARGET_OBJ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_ID:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                  STATUS:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
