openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PC1_XML_RFC_IMPORT_FIX:
    post:
      tags:
      - LXE_PC1
      operationId: /rfc/LXE_PC1_XML_RFC_IMPORT_FIX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: ++++
                  maxLength: 4
                  description: ISO Language ID
                XML_XSTRING:
                  type: string
                  format: byte
                  description: ISO Language ID
                LT_PCZ:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: Type of Translation Object
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      XLNECNT:
                        type: integer
                        format: int64
                        description: LineCount (X)
                      BYTES:
                        type: integer
                        format: int64
                        description: 'Byte Count (X)  enumValues: 000='
                        enum:
                        - '000'
                      XLNE255:
                        type: string
                        format: byte
                        description: Line 255 (X Format)
              required:
              - XML_XSTRING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_MESS:
                    type: string
                    description: Process Status
                  IMP_LANG:
                    type: string
                    maxLength: 4
                    description: ISO Language ID
                  IMP_NAME:
                    type: string
                    maxLength: 70
                    description: Name of Translation Object
                  PSTATUS:
                    type: string
                    maxLength: 1
                    description: Process Status
                  LT_PCZ:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: Type of Translation Object
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        XLNECNT:
                          type: integer
                          format: int64
                          description: LineCount (X)
                        BYTES:
                          type: integer
                          format: int64
                          description: 'Byte Count (X)  enumValues: 000='
                          enum:
                          - '000'
                        XLNE255:
                          type: string
                          format: byte
                          description: Line 255 (X Format)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
