openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PFL_CROSSCHECK_EXPERT_PROFILE:
    post:
      tags:
      - SPFC
      operationId: /rfc/PFL_CROSSCHECK_EXPERT_PROFILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROFILE_TYPE:
                  type: string
                  maxLength: 1
                DTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PFNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
                      VERSNR:
                        type: integer
                        format: int64
                        description: Version Number
                      PARNAME:
                        type: string
                        maxLength: 60
                        description: Profile parameter name
                      PARNR:
                        type: integer
                        format: int64
                        description: Consecutive number of parameter in profile
                      COMNR:
                        type: integer
                        format: int64
                        description: Number of comment line of profile parameter
                      DENAME:
                        type: string
                        maxLength: 10
                        description: Data element describing profile parameter
                      CHKPRG:
                        type: string
                        maxLength: 32
                        description: Check program for profile parameters, function module
                      MODPROG:
                        type: string
                        maxLength: 32
                        description: Maintenance program for profile parameters, function modules
                      CREFPF:
                        type: string
                        maxLength: 30
                        description: 'Start profile: Instance profile used to start programs'
                      PSTATE:
                        type: string
                        maxLength: 8
                        description: Profile parameter status
                      PVALUE:
                        type: string
                        maxLength: 128
                        description: Value of the profile parameter
                DTAB_INDEX:
                  type: array
                  items:
                    type: object
                    properties:
                      PFNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
                      VERSNR:
                        type: integer
                        format: int64
                        description: Version Number
                      PFFILE:
                        type: string
                        maxLength: 60
                        description: Name of profile on operating system level
                      PFTYPE:
                        type: string
                        maxLength: 1
                        description: Profile type for system parameterization
                      OPSYS:
                        type: string
                        maxLength: 10
                        description: Operating System of Application Server
                      SERVERNAME:
                        type: string
                        maxLength: 20
                        description: Server Name
                      LOWINDX:
                        type: integer
                        format: int64
                        description: Lower index of table
                      HIGHINDX:
                        type: integer
                        format: int64
                        description: Upper index of table
                PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTRYTYPE:
                        type: string
                        maxLength: 1
                        description: Type of log entry for profile check
                      PARNR:
                        type: integer
                        format: int64
                        description: Consecutive number of parameter in profile
                      ENTRY:
                        type: string
                        maxLength: 80
                        description: Line in log for profile parameter check
              required:
              - PROFILE_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_FLAG:
                    type: string
                    maxLength: 1
                  DTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PFNAME:
                          type: string
                          maxLength: 30
                          description: Name of profile for system parameterization
                        VERSNR:
                          type: integer
                          format: int64
                          description: Version Number
                        PARNAME:
                          type: string
                          maxLength: 60
                          description: Profile parameter name
                        PARNR:
                          type: integer
                          format: int64
                          description: Consecutive number of parameter in profile
                        COMNR:
                          type: integer
                          format: int64
                          description: Number of comment line of profile parameter
                        DENAME:
                          type: string
                          maxLength: 10
                          description: Data element describing profile parameter
                        CHKPRG:
                          type: string
                          maxLength: 32
                          description: Check program for profile parameters, function module
                        MODPROG:
                          type: string
                          maxLength: 32
                          description: Maintenance program for profile parameters, function modules
                        CREFPF:
                          type: string
                          maxLength: 30
                          description: 'Start profile: Instance profile used to start programs'
                        PSTATE:
                          type: string
                          maxLength: 8
                          description: Profile parameter status
                        PVALUE:
                          type: string
                          maxLength: 128
                          description: Value of the profile parameter
                  DTAB_INDEX:
                    type: array
                    items:
                      type: object
                      properties:
                        PFNAME:
                          type: string
                          maxLength: 30
                          description: Name of profile for system parameterization
                        VERSNR:
                          type: integer
                          format: int64
                          description: Version Number
                        PFFILE:
                          type: string
                          maxLength: 60
                          description: Name of profile on operating system level
                        PFTYPE:
                          type: string
                          maxLength: 1
                          description: Profile type for system parameterization
                        OPSYS:
                          type: string
                          maxLength: 10
                          description: Operating System of Application Server
                        SERVERNAME:
                          type: string
                          maxLength: 20
                          description: Server Name
                        LOWINDX:
                          type: integer
                          format: int64
                          description: Lower index of table
                        HIGHINDX:
                          type: integer
                          format: int64
                          description: Upper index of table
                  PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTRYTYPE:
                          type: string
                          maxLength: 1
                          description: Type of log entry for profile check
                        PARNR:
                          type: integer
                          format: int64
                          description: Consecutive number of parameter in profile
                        ENTRY:
                          type: string
                          maxLength: 80
                          description: Line in log for profile parameter check
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
