openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_EXPORT_LSX:
    post:
      tags:
      - LXE_S2X
      operationId: /rfc/LXE_EXPORT_LSX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUSTMNR:
                  type: string
                  maxLength: 6
                LANGUAGE:
                  type: string
                  maxLength: 4
                OBJNAME:
                  type: string
                  maxLength: 70
                XTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      CUSTMNR:
                        type: string
                        maxLength: 6
                        description: Translation Area
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: Type of Translation Object
                      OBJNAME:
                        type: string
                        maxLength: 70
                        description: Name of Translation Object
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Translation Unit for Short Text (Line)
                      UNITMLT:
                        type: integer
                        format: int32
                        description: Maximum Length of Translation Unit
                      UPPCASE:
                        type: string
                        maxLength: 1
                        description: 'Only Upper Case Allowed  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                YTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      CUSTMNR:
                        type: string
                        maxLength: 6
                        description: Translation Area
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: Type of Translation Object
                      OBJNAME:
                        type: string
                        maxLength: 70
                        description: Name of Translation Object
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      LINE:
                        type: integer
                        format: int64
                        description: LineCount (X)
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Translation Unit for Short Text (Line)
              required:
              - CUSTMNR
              - LANGUAGE
              - OBJNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRMSG:
                    type: string
                  STATPRC:
                    type: string
                    maxLength: 1
                  XTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 4
                          description: ISO Language ID
                        CUSTMNR:
                          type: string
                          maxLength: 6
                          description: Translation Area
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: Type of Translation Object
                        OBJNAME:
                          type: string
                          maxLength: 70
                          description: Name of Translation Object
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Translation Unit for Short Text (Line)
                        UNITMLT:
                          type: integer
                          format: int32
                          description: Maximum Length of Translation Unit
                        UPPCASE:
                          type: string
                          maxLength: 1
                          description: 'Only Upper Case Allowed  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  YTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 4
                          description: ISO Language ID
                        CUSTMNR:
                          type: string
                          maxLength: 6
                          description: Translation Area
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: Type of Translation Object
                        OBJNAME:
                          type: string
                          maxLength: 70
                          description: Name of Translation Object
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        LINE:
                          type: integer
                          format: int64
                          description: LineCount (X)
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Translation Unit for Short Text (Line)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
