openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PFL_CHECK_EASY_PROFILE:
    post:
      tags:
      - SPFC
      operationId: /rfc/PFL_CHECK_EASY_PROFILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK_TYPE:
                  type: string
                  maxLength: 1
                DFL_PROFILE_VALUES:
                  type: object
                  properties:
                    DBHOST:
                      type: string
                      maxLength: 20
                      description: Database host name
                    MSHOST:
                      type: string
                      maxLength: 20
                      description: Name of host, on which message server is running
                    MSSERV:
                      type: string
                      maxLength: 10
                      description: TCP service name, under which message server can be reached
                    VBNAME:
                      type: string
                      maxLength: 20
                      description: Name of server, on which update takes place
                    ENQNAME:
                      type: string
                      maxLength: 20
                      description: Name of server, on which enqueue server is running
                    BTCNAME:
                      type: string
                      maxLength: 20
                      description: Name of server on which events are handled
                    SNAGWHOST:
                      type: string
                      maxLength: 20
                      description: Name of host on which SNA Gateway is running
                    SNAGWSRV:
                      type: string
                      maxLength: 10
                      description: TCP service name, under which SNA Gateway can be reached
                    DFLMNDT:
                      type: string
                      maxLength: 3
                      description: Default client for logon to SAP system
                DIR_VALUES:
                  type: object
                  properties:
                    DIR_ROLL:
                      type: string
                      maxLength: 50
                      description: Directory in which roll file is stored
                    DIR_PAGING:
                      type: string
                      maxLength: 50
                      description: Directory in which ABAP paging file is located
                    DIR_DATA:
                      type: string
                      maxLength: 50
                      description: Directory for temporary storage of operation data
                    DIR_REORG:
                      type: string
                      maxLength: 50
                      description: Directory for reorganization tasks
                    DIR_TRANS:
                      type: string
                      maxLength: 50
                      description: Directory for tasks of transport system
                    DIR_TMP:
                      type: string
                      maxLength: 50
                      description: Directory for storage of temporary data
                    DIR_SORT:
                      type: string
                      maxLength: 50
                      description: Directory for ABAP sort tasks
                LANG_N_CP:
                  type: object
                  properties:
                    DEFLOGLANG:
                      type: string
                      maxLength: 1
                      description: Language Key
                    INSTALLANG:
                      type: string
                      maxLength: 16
                      description: Language
                    CODEPAGEID:
                      type: integer
                      format: int64
                      description: Codepage
                START_VALUES:
                  type: object
                  properties:
                    SYSTEMNAME:
                      type: string
                      maxLength: 3
                      description: SAP system name
                    SYSTEMNR:
                      type: string
                      maxLength: 2
                      description: SAP System number
                    INSTANCENM:
                      type: string
                      maxLength: 20
                      description: Instance name of an SAP System
                    RSLGSEND:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                    RSLGCOLL:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                    DISPNWORK:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                    SNAGATEWAY:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                    MSGSERVER:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                    NTREPLICAT:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                    GLOBALHOST:
                      type: string
                      maxLength: 20
                      description: Parameter SAPGLOBALHOST
                    INSTPFLNAM:
                      type: string
                      maxLength: 30
                      description: 'Start profile: Instance profile used to start programs'
                    NTDBSTART:
                      type: string
                      maxLength: 1
                      description: For selection fields or radio buttons in profile screens
                STORAGE_VALUES:
                  type: object
                  properties:
                    USEPAGING:
                      type: string
                      maxLength: 1
                      description: 'Flag: Use ''old'' roll or extended memory'
                    ROLLAREA:
                      type: string
                      maxLength: 6
                      description: Size of roll area (KB)
                    ROLLMAXFS:
                      type: string
                      maxLength: 5
                      description: Max. size of roll file
                    ROLLBUFSIZ:
                      type: string
                      maxLength: 5
                      description: Size of roll buffer in KB
                    PAGEMAXFS:
                      type: string
                      maxLength: 5
                      description: Max. size of paging file
                    PAGEBUFSIZ:
                      type: string
                      maxLength: 5
                      description: Size of paging buffer in KB
                    ROLLEXTENS:
                      type: string
                      maxLength: 6
                      description: Max. exended memory / user
                    LOCALHPLM:
                      type: string
                      maxLength: 5
                      description: 'Extended memory: Restart WP from this local memory size'
                    EMINITSZMB:
                      type: string
                      maxLength: 6
                      description: Extended memory. Init. extended memory size / server
                    EMADRSPNT:
                      type: string
                      maxLength: 5
                      description: 'Ext. memory (NT only): Address area to be reserved'
                    HEAPDIA:
                      type: string
                      maxLength: 5
                      description: 'ABAP: Max. local memory in dialog operation / user'
                    HEAPNONDIA:
                      type: string
                      maxLength: 5
                      description: 'ABAP: Max. local memory for non-dialog operation / user'
                    SWAPRESERV:
                      type: string
                      maxLength: 5
                      description: 'Extended memory: Swap reserve for op. system'
                    HEAPTOTAL:
                      type: string
                      maxLength: 6
                      description: 'Extended memory: Max. local memory / server'
                    EMSTLGSZMB:
                      type: string
                      maxLength: 5
                      description: 'Ext. mem.: Context size / users who activate statistics'
                    EMSTLGTMO:
                      type: string
                      maxLength: 5
                      description: 'Extended memory: Interval for statistics backup'
                    EMBLKSZKB:
                      type: string
                      maxLength: 5
                      description: 'Extended memory: Block size (KB)'
                    ROLLPGSZ:
                      type: integer
                      format: int64
                      description: Size of page of roll (Bytes)
                    STOALL:
                      type: integer
                      format: int64
                      description: Total memory requirements of application server (approx.)
                    ROLLFIRST:
                      type: string
                      maxLength: 6
                      description: Size of roll first area in KB
                    MAXSWAPSP:
                      type: integer
                      format: int64
                      description: Total memory requirements of application server (approx.)
                WP_AND_BUF_VALUES:
                  type: object
                  properties:
                    STOALL:
                      type: integer
                      format: int64
                      description: Total memory requirements of application server (approx.)
                    STOWP:
                      type: integer
                      format: int64
                      description: Total memory required for work processes in MB (approx.)
                    STOBUF:
                      type: integer
                      format: int64
                      description: Total memory requirements for buffer in MB (approx.)
                    STOPXA:
                      type: string
                      maxLength: 6
                      description: Size of ABAP program buffer in KB
                    STONTAB:
                      type: string
                      maxLength: 6
                      description: Size of database nametab buffer in KB
                    STOTB100:
                      type: string
                      maxLength: 6
                      description: Size of 100% table buffer in KB
                    STOTBLRU:
                      type: string
                      maxLength: 6
                      description: Size of LRU table buffer in KB
                    STOCUA:
                      type: string
                      maxLength: 6
                      description: Size of CUA buffer in KB
                    STOPRES:
                      type: string
                      maxLength: 6
                      description: Size of screen buffer in KB
                    WPNODIA:
                      type: string
                      maxLength: 2
                      description: No. of dialog work procsesses
                    WPNOVB:
                      type: string
                      maxLength: 2
                      description: No. of update work processes
                    WPNOENQ:
                      type: string
                      maxLength: 2
                      description: No. of enqueue work processes
                    WPNOBTC:
                      type: string
                      maxLength: 2
                      description: No. of background work processes
                    WPNOSPO:
                      type: string
                      maxLength: 2
                      description: No. of spool work processes
                    WPNOALL:
                      type: integer
                      format: int64
                      description: Total no. of work processes
                    WPCANO:
                      type: integer
                      format: int64
                      description: No. of data blocks for work process communication
                    APCANO:
                      type: integer
                      format: int64
                      description: No. of data blocks for CPIC communication
                    SYSTEMNAME:
                      type: string
                      maxLength: 3
                      description: SAP system name
                    SYSTEMNR:
                      type: string
                      maxLength: 2
                      description: SAP System number
                    INSTANCENM:
                      type: string
                      maxLength: 20
                      description: Instance name of an SAP System
                    WPNOV2B:
                      type: string
                      maxLength: 2
                      description: No. of update work processes (V2)
                    SHORTAREA:
                      type: integer
                      format: int64
                      description: Size of short area
                    OLDENTRYCT:
                      type: integer
                      format: int64
                      description: Nametab entry count
                    OLDFTABSIZ:
                      type: integer
                      format: int64
                      description: Nametab Ftab size
                    OLDIRBDSIZ:
                      type: integer
                      format: int64
                      description: Nametab Irdbsize
                    OLDSNTABSZ:
                      type: integer
                      format: int64
                      description: Nametab Sntabsize
                    OLDNTABSZ:
                      type: string
                      maxLength: 6
                      description: Size of database nametab buffer in KB
                    MAXSWAPSP:
                      type: integer
                      format: int64
                      description: Total memory requirements of application server (approx.)
                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
                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:
              - CHECK_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
                  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.
