openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PCY_WRITE:
    post:
      tags:
      - LXE_PCY
      operationId: /rfc/LXE_PCY_WRITE
      requestBody:
        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
                SLANG:
                  type: string
                  default: ''
                  maxLength: 4
                  description: ISO Language ID
                UPDATE_ONLY:
                  type: string
                  default: ''
                  maxLength: 1
                  description: Single-Character Flag
                LT_DUMTA3:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      VERSION:
                        type: integer
                        format: int64
                        description: 'Run number for worklists: translation'
                LT_DUMTA3_EX:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTKEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      VERSION:
                        type: integer
                        format: int64
                        description: 'Run number for worklists: translation'
                LT_PCY_TX:
                  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:
              - LS_PCY_HD
              - UPDATE_ONLY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_MESS:
                    type: string
                    description: Process Status
                  PSTATUS:
                    type: string
                    maxLength: 1
                    description: Process Status
                  LT_DUMTA3:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        VERSION:
                          type: integer
                          format: int64
                          description: 'Run number for worklists: translation'
                  LT_DUMTA3_EX:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTKEY:
                          type: string
                          maxLength: 32
                          description: Text Key
                        VERSION:
                          type: integer
                          format: int64
                          description: 'Run number for worklists: translation'
                  LT_PCY_TX:
                    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.
