openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PCY_READ_TEXT:
    post:
      tags:
      - LXE_PCY
      operationId: /rfc/LXE_PCY_READ_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUSTMNR:
                  type: string
                  maxLength: 6
                OBJNAME:
                  type: string
                  maxLength: 70
                OBJTYPE:
                  type: string
                  maxLength: 4
                TEXTKEY:
                  type: string
                  maxLength: 32
                EX_PCY_S3:
                  type: array
                  items:
                    type: object
                    properties:
                      LANG:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      TEXT:
                        type: string
                        maxLength: 16384
                        description: Text with 16384 Characters
              required:
              - CUSTMNR
              - OBJNAME
              - OBJTYPE
              - TEXTKEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PSTATUS:
                    type: string
                    maxLength: 1
                  EX_PCY_S3:
                    type: array
                    items:
                      type: object
                      properties:
                        LANG:
                          type: string
                          maxLength: 4
                          description: ISO Language ID
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        TEXT:
                          type: string
                          maxLength: 16384
                          description: Text with 16384 Characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
