openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PCX_WRITE:
    post:
      tags:
      - LXE_PCX
      operationId: /rfc/LXE_PCX_WRITE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LS_PCX_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
                LT_PCX_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
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Translation Unit for Short Text (Line)
                      UNITMLT:
                        type: integer
                        format: int32
                        description: Maximum Length of Translation Unit
                      UPPCASE:
                        type: string
                        maxLength: 1
                        description: 'Only Upper Case Allowed  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
              required:
              - LS_PCX_HD
      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_PCX_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
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Translation Unit for Short Text (Line)
                        UNITMLT:
                          type: integer
                          format: int32
                          description: Maximum Length of Translation Unit
                        UPPCASE:
                          type: string
                          maxLength: 1
                          description: 'Only Upper Case Allowed  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
