openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PCY_READ_TEXT_PAIR:
    post:
      tags:
      - LXE_PCY
      operationId: /rfc/LXE_PCY_READ_TEXT_PAIR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUSTMNR:
                  type: string
                  maxLength: 6
                OBJNAME:
                  type: string
                  maxLength: 70
                OBJTYPE:
                  type: string
                  maxLength: 4
                S_LANG:
                  type: string
                  maxLength: 4
                T_LANG:
                  type: string
                  maxLength: 4
                EX_PCY_S1:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      S_TEXT:
                        type: string
                        maxLength: 16384
                        description: Text with 16384 Characters
                      T_TEXT:
                        type: string
                        maxLength: 16384
                        description: Text with 16384 Characters
              required:
              - CUSTMNR
              - OBJNAME
              - OBJTYPE
              - S_LANG
              - T_LANG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LS_PCY_HD:
                    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
                      CH_DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      CH_TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      CH_USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                  PSTATUS:
                    type: string
                    maxLength: 1
                  EX_PCY_S1:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        S_TEXT:
                          type: string
                          maxLength: 16384
                          description: Text with 16384 Characters
                        T_TEXT:
                          type: string
                          maxLength: 16384
                          description: Text with 16384 Characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
