openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RZL_START_INSTANCE:
    post:
      tags:
      - SPF1
      operationId: /rfc/RZL_START_INSTANCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_TBL:
                  type: array
                  items:
                    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
                      STATE:
                        type: string
                        maxLength: 16
                        description: Run-time status of instance
                      SYSNR:
                        type: string
                        maxLength: 2
                        description: SAP system number (00 - 99)
                      SYSNAME:
                        type: string
                        maxLength: 3
                        description: SAP System Name
                      APSERVER:
                        type: string
                        maxLength: 20
                        description: Application server
                      CMPON:
                        type: string
                        maxLength: 16
                        description: Components of instance
                      CMPONAPS:
                        type: string
                        maxLength: 16
                        description: Application server services
                      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
                      STARTTIME:
                        type: string
                        maxLength: 6
                        description: Start time of instance
                      STARTDATE:
                        type: string
                        format: date
                        description: Start time/date of instance
                      STOPTIME:
                        type: string
                        maxLength: 6
                        description: Stop time of instance
                      STOPDATE:
                        type: string
                        format: date
                        description: Stop time/date of instance
                      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
                      WPNOV2:
                        type: string
                        maxLength: 3
                        description: Number of V2 update workprocesses of 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.
                      CURBANAME:
                        type: string
                        maxLength: 20
                        description: Operation Mode
                      OPSYS:
                        type: string
                        maxLength: 20
                        description: '''uname'' of an application server, corresponds to SY-OPSYS'
                      ANSWTM1:
                        type: integer
                        format: int32
                        description: Response time for an instance query
                      ANSWTM2:
                        type: integer
                        format: int32
                        description: Response time for an instance query
                      USERNO:
                        type: integer
                        format: int32
                        description: Number of registered users
                      PFLINSNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
                      PFLSTRNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUBRC:
                    type: integer
                    format: int32
                  IS_TBL:
                    type: array
                    items:
                      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
                        STATE:
                          type: string
                          maxLength: 16
                          description: Run-time status of instance
                        SYSNR:
                          type: string
                          maxLength: 2
                          description: SAP system number (00 - 99)
                        SYSNAME:
                          type: string
                          maxLength: 3
                          description: SAP System Name
                        APSERVER:
                          type: string
                          maxLength: 20
                          description: Application server
                        CMPON:
                          type: string
                          maxLength: 16
                          description: Components of instance
                        CMPONAPS:
                          type: string
                          maxLength: 16
                          description: Application server services
                        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
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: Start time of instance
                        STARTDATE:
                          type: string
                          format: date
                          description: Start time/date of instance
                        STOPTIME:
                          type: string
                          maxLength: 6
                          description: Stop time of instance
                        STOPDATE:
                          type: string
                          format: date
                          description: Stop time/date of instance
                        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
                        WPNOV2:
                          type: string
                          maxLength: 3
                          description: Number of V2 update workprocesses of 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.
                        CURBANAME:
                          type: string
                          maxLength: 20
                          description: Operation Mode
                        OPSYS:
                          type: string
                          maxLength: 20
                          description: '''uname'' of an application server, corresponds to SY-OPSYS'
                        ANSWTM1:
                          type: integer
                          format: int32
                          description: Response time for an instance query
                        ANSWTM2:
                          type: integer
                          format: int32
                          description: Response time for an instance query
                        USERNO:
                          type: integer
                          format: int32
                          description: Number of registered users
                        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.
