openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_OS390_LPAR_INFO:
    post:
      tags:
      - SMON
      operationId: /rfc/GET_OS390_LPAR_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOCAL_REMOTE:
                  type: string
                  default: LOCAL
                  maxLength: 6
                LOGICAL_DESTINATION:
                  type: string
                  maxLength: 32
                SYSTEM_ID:
                  type: integer
                  format: int32
                  default: 0
                TF_LPAR_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 10
                        description: Name of LPAR
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: LPAR Active Flag (Active/Deactivated)
                      CPUS:
                        type: string
                        maxLength: 4
                        description: Number of Processors Assigned to the LPAR
                      WEIGHT:
                        type: string
                        maxLength: 4
                        description: LPAR Processor Resource Weight Factor or Dedicated (DED)
                      CAPPING:
                        type: string
                        maxLength: 3
                        description: LPAR Capping Is Enabled (YES/NO)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CPU_MODEL:
                    type: string
                    maxLength: 52
                  NUM_OF_LOG_PARTITIONS:
                    type: integer
                    format: int32
                  NUM_OF_PROCESSORS:
                    type: integer
                    format: int32
                  TF_LPAR_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 10
                          description: Name of LPAR
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: LPAR Active Flag (Active/Deactivated)
                        CPUS:
                          type: string
                          maxLength: 4
                          description: Number of Processors Assigned to the LPAR
                        WEIGHT:
                          type: string
                          maxLength: 4
                          description: LPAR Processor Resource Weight Factor or Dedicated (DED)
                        CAPPING:
                          type: string
                          maxLength: 3
                          description: LPAR Capping Is Enabled (YES/NO)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
