openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PC1_READ_HEADER:
    post:
      tags:
      - LXE_PC1
      operationId: /rfc/LXE_PC1_READ_HEADER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUSTMNR:
                  type: string
                  maxLength: 6
                  description: Customer Number
                OBJNAME:
                  type: string
                  maxLength: 70
                  description: Name of Translation Object
                LT_PC_AP:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTMNR:
                        type: string
                        maxLength: 6
                        description: Translation Area
                      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)
              required:
              - CUSTMNR
              - OBJNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LS_PC_HD:
                    type: object
                    properties:
                      CUSTMNR:
                        type: string
                        maxLength: 6
                        description: Translation Area
                      OBJNAME:
                        type: string
                        maxLength: 70
                        description: Name of Translation Object
                      DEV_FLAG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ORIG_LANG:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      COLLTYP:
                        type: string
                        maxLength: 1
                        description: 'Collection Type  enumValues: X=External,R=Package (Local System)'
                        enum:
                        - X
                        - R
                      COLLNAM:
                        type: string
                        maxLength: 32
                        description: Collection Name
                      DOMATYP:
                        type: string
                        maxLength: 1
                        description: 'Domain Type  enumValues: R=Application Area (Local System),X=External'
                        enum:
                        - R
                        - X
                      DOMANAM:
                        type: string
                        maxLength: 2
                        description: Domain Name
                      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
                      DEVELOPER:
                        type: string
                        maxLength: 255
                        description: Translation Unit for Short Text (Line)
                      DESCRIPT:
                        type: string
                        maxLength: 255
                        description: Translation Unit for Short Text (Line)
                      X_LIST:
                        type: string
                        maxLength: 20
                        description: Text Line with 20 Characters
                      Y_LIST:
                        type: string
                        maxLength: 20
                        description: Text Line with 20 Characters
                      Z_LIST:
                        type: string
                        maxLength: 20
                        description: Text Line with 20 Characters
                  PSTATUS:
                    type: string
                    maxLength: 1
                    description: Process Status
                  LT_PC_AP:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTMNR:
                          type: string
                          maxLength: 6
                          description: Translation Area
                        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)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
