openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_S2X_IMPORT:
    post:
      tags:
      - LXE_S2X
      operationId: /rfc/LXE_S2X_IMPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COLLECTION:
                  type: string
                  maxLength: 32
                  description: Collection Name
                CUSTMNR:
                  type: string
                  maxLength: 6
                  description: Customer Number
                DATATYPE:
                  type: string
                  maxLength: 255
                  description: Translation Unit for Short Text (Line)
                DEVELCONTACT:
                  type: string
                  maxLength: 255
                  description: Translation Unit for Short Text (Line)
                DOMAIN:
                  type: string
                  maxLength: 2
                  description: Domain Name
                ORIGINAL:
                  type: string
                  maxLength: 70
                  description: Name of Translation Object
                ORIGINALLOCALE:
                  type: string
                  maxLength: 4
                  description: ISO Language ID
                PRODUCTNAME:
                  type: string
                  maxLength: 255
                  description: Translation Unit for Short Text (Line)
                SOURCELANGUAGE:
                  type: string
                  maxLength: 4
                  description: ISO Language ID
                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:
              - COLLECTION
              - CUSTMNR
              - DATATYPE
              - DEVELCONTACT
              - DOMAIN
              - ORIGINAL
              - ORIGINALLOCALE
              - PRODUCTNAME
              - SOURCELANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRMSG:
                    type: string
                    description: Error message
                  STATPRC:
                    type: string
                    maxLength: 1
                    description: Process Status
                  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.
