openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PC1_XML_RFC_EXPORT:
    post:
      tags:
      - LXE_PC1
      operationId: /rfc/LXE_PC1_XML_RFC_EXPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODING:
                  type: string
                  default: UTF-8
                  description: Name of Translation Object
                CUSTMNR:
                  type: string
                  maxLength: 6
                  description: Customer Number
                EXPORT_TYPE:
                  type: string
                  default: S
                  maxLength: 1
                  description: Single-Character Flag
                LANGUAGE:
                  type: string
                  maxLength: 4
                  description: ISO Language ID
                OBJNAME:
                  type: string
                  maxLength: 70
                  description: Name of Translation Object
                STD_OUTPUT:
                  type: string
                  default: ''
                  maxLength: 1
                  description: Single-Character Flag
                USE_SIMPLE_LANG:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-Character Flag
                EX_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:
              - CUSTMNR
              - LANGUAGE
              - OBJNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_MESS:
                    type: string
                    description: Process Status
                  EX_COLLNAM:
                    type: string
                    maxLength: 32
                    description: Process Status
                  EX_DESCRIPT:
                    type: string
                    maxLength: 255
                    description: Process Status
                  EX_DEVELOPER:
                    type: string
                    maxLength: 255
                    description: Process Status
                  EX_DOMANAM:
                    type: string
                    maxLength: 2
                    description: Process Status
                  EX_ORIG_LANG:
                    type: string
                    maxLength: 4
                    description: Process Status
                  PSTATUS:
                    type: string
                    maxLength: 1
                    description: Process Status
                  XML_XSTRING:
                    type: string
                    format: byte
                    description: Single-Character Flag
                  EX_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.
