openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RZL_ACTUAL_ID_DESCR:
    post:
      tags:
      - SPF1
      operationId: /rfc/RZL_ACTUAL_ID_DESCR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SPFID_IN:
                  type: object
                  properties:
                    INSTNAME:
                      type: string
                      maxLength: 20
                      description: SAP instance name
                    HOST:
                      type: string
                      maxLength: 40
                      description: Host name
                    TYPE:
                      type: string
                      maxLength: 20
                      description: SAP instance type
                    BANAME:
                      type: string
                      maxLength: 20
                      description: Operation Mode
                    SYSNAME:
                      type: string
                      maxLength: 3
                      description: SAP System Name
                    SYSNR:
                      type: string
                      maxLength: 2
                      description: SAP system number (00 - 99)
                    APSERVER:
                      type: string
                      maxLength: 20
                      description: Application server
                    STATUS:
                      type: string
                      maxLength: 8
                      description: Status of instance description
                    CMPON:
                      type: string
                      maxLength: 16
                      description: Components of instance
                    PFINST:
                      type: string
                      maxLength: 60
                      description: Instance profile name
                    PFSTART:
                      type: string
                      maxLength: 60
                      description: Instance Startup Profile
                    HOMEDIR:
                      type: string
                      maxLength: 40
                      description: Home directory of SAP instance
                    USERNAME:
                      type: string
                      maxLength: 20
                      description: User name of instance owner
                    PASSWD:
                      type: string
                      maxLength: 20
                      description: Password of instance owner
                    WPNODIA:
                      type: string
                      maxLength: 3
                      description: No. dialog work processes of instance
                    WPNOVB:
                      type: string
                      maxLength: 3
                      description: Number of update work processes on an instance
                    WPNOBTC:
                      type: string
                      maxLength: 3
                      description: No. background work processes for instance
                    WPNOENQ:
                      type: string
                      maxLength: 3
                      description: No. of enqueue work work processes of instance
                    WPNOSPO:
                      type: string
                      maxLength: 3
                      description: No. of spool work processes of instance
                    WPNO:
                      type: string
                      maxLength: 3
                      description: Total no. of work processes for application server
                    WPNOBTCA:
                      type: string
                      maxLength: 3
                      description: No. of work processes to be kept free for backgrnd. process.
                    SRVDIA:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Online'
                    SRVVB:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Update Process'
                    SRVBTC:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Background processing'
                    SRVENQ:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Lock management'
                    SRVSPO:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Spooler'
                    SRVMSG:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Message server'
                    SRVGW:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Gateway'
                    OPSYS:
                      type: string
                      maxLength: 20
                      description: '''uname'' of an application server, corresponds to SY-OPSYS'
                    WPNOV2:
                      type: string
                      maxLength: 3
                      description: Number of V2 update workprocesses of an instance
                    WPNORES1:
                      type: string
                      maxLength: 3
                      description: No. dialog work processes of instance
                    WPNORES2:
                      type: string
                      maxLength: 3
                      description: No. dialog work processes of instance
                    SRVV2:
                      type: string
                      maxLength: 1
                      description: 'Instance service: V2 update'
                    SRVRES1:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Online'
                    SRVRES2:
                      type: string
                      maxLength: 1
                      description: 'Instance service: Online'
                    PFLINSNAME:
                      type: string
                      maxLength: 30
                      description: Name of profile for system parameterization
                    PFLSTRNAME:
                      type: string
                      maxLength: 30
                      description: Name of profile for system parameterization
              required:
              - SPFID_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CURR_BANAME:
                    type: string
                    maxLength: 20
                  SPFID_OUT:
                    type: object
                    properties:
                      INSTNAME:
                        type: string
                        maxLength: 20
                        description: SAP instance name
                      HOST:
                        type: string
                        maxLength: 40
                        description: Host name
                      TYPE:
                        type: string
                        maxLength: 20
                        description: SAP instance type
                      BANAME:
                        type: string
                        maxLength: 20
                        description: Operation Mode
                      SYSNAME:
                        type: string
                        maxLength: 3
                        description: SAP System Name
                      SYSNR:
                        type: string
                        maxLength: 2
                        description: SAP system number (00 - 99)
                      APSERVER:
                        type: string
                        maxLength: 20
                        description: Application server
                      STATUS:
                        type: string
                        maxLength: 8
                        description: Status of instance description
                      CMPON:
                        type: string
                        maxLength: 16
                        description: Components of instance
                      PFINST:
                        type: string
                        maxLength: 60
                        description: Instance profile name
                      PFSTART:
                        type: string
                        maxLength: 60
                        description: Instance Startup Profile
                      HOMEDIR:
                        type: string
                        maxLength: 40
                        description: Home directory of SAP instance
                      USERNAME:
                        type: string
                        maxLength: 20
                        description: User name of instance owner
                      PASSWD:
                        type: string
                        maxLength: 20
                        description: Password of instance owner
                      WPNODIA:
                        type: string
                        maxLength: 3
                        description: No. dialog work processes of instance
                      WPNOVB:
                        type: string
                        maxLength: 3
                        description: Number of update work processes on an instance
                      WPNOBTC:
                        type: string
                        maxLength: 3
                        description: No. background work processes for instance
                      WPNOENQ:
                        type: string
                        maxLength: 3
                        description: No. of enqueue work work processes of instance
                      WPNOSPO:
                        type: string
                        maxLength: 3
                        description: No. of spool work processes of instance
                      WPNO:
                        type: string
                        maxLength: 3
                        description: Total no. of work processes for application server
                      WPNOBTCA:
                        type: string
                        maxLength: 3
                        description: No. of work processes to be kept free for backgrnd. process.
                      SRVDIA:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Online'
                      SRVVB:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Update Process'
                      SRVBTC:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Background processing'
                      SRVENQ:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Lock management'
                      SRVSPO:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Spooler'
                      SRVMSG:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Message server'
                      SRVGW:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Gateway'
                      OPSYS:
                        type: string
                        maxLength: 20
                        description: '''uname'' of an application server, corresponds to SY-OPSYS'
                      WPNOV2:
                        type: string
                        maxLength: 3
                        description: Number of V2 update workprocesses of an instance
                      WPNORES1:
                        type: string
                        maxLength: 3
                        description: No. dialog work processes of instance
                      WPNORES2:
                        type: string
                        maxLength: 3
                        description: No. dialog work processes of instance
                      SRVV2:
                        type: string
                        maxLength: 1
                        description: 'Instance service: V2 update'
                      SRVRES1:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Online'
                      SRVRES2:
                        type: string
                        maxLength: 1
                        description: 'Instance service: Online'
                      PFLINSNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
                      PFLSTRNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
