openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_SERVER_GROUP_RESOURCES:
    post:
      tags:
      - SRFC_SERVER_RESOURCES
      operationId: /rfc/RFC_SERVER_GROUP_RESOURCES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SERVER_GROUP_NAME:
                  type: string
                  maxLength: 20
                SERVER_GROUP_TRACE:
                  type: integer
                  format: int32
                  default: 0
                SERVER_GROUP_TYPE:
                  type: string
                  maxLength: 1
                SYSTEM_IDENTITY_REQUESTED:
                  type: string
                  default: X
                  maxLength: 1
                SERVER_GROUP_RESOURCES:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_NAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      HOST_NAME:
                        type: string
                        maxLength: 32
                        description: Name of Application Server
                      IP_ADDRESS:
                        type: string
                        maxLength: 15
                        description: IPv4 Address
                      IPV6_ADDRESS:
                        type: string
                        maxLength: 45
                        description: IP Address
                      SERVICE:
                        type: string
                        maxLength: 20
                        description: Service
                      REQUEST_NUMBER:
                        type: integer
                        format: int32
                        description: Number of Possible Asynchronous RFC Requests
                      MAX_REQUEST_NUMBER:
                        type: integer
                        format: int32
                        description: Number of Possible Asynchronous RFC Requests
                      REASON:
                        type: integer
                        format: int32
                        description: Natural number
                      REASON_EXPLANATION:
                        type: string
                        maxLength: 120
                        description: Reason for Non-Availability of Resources
                      GWADM_VERSION:
                        type: integer
                        format: int32
                        description: Version of Gateway Administration Structure
                      GWADM_STATE:
                        type: integer
                        format: int32
                        description: Gateway Status
                      GWADM_STATESTR:
                        type: string
                        maxLength: 20
                        description: Gateway Status
                      GWADM_START:
                        type: integer
                        format: int32
                        description: Number of Gateway Starts
                      GWADM_OVERFLOW_SIZE:
                        type: integer
                        format: int32
                        description: Gateway Buffer
                      GWADM_ACT_OVERFLOW_SIZE:
                        type: integer
                        format: int32
                        description: Current Usage of Gateway Buffer
                      GWADM_SYNC_OVERFLOW_SIZE:
                        type: integer
                        format: int32
                        description: Synchronization Limit of the Gateway Buffer
                      GWADM_MAX_SYS:
                        type: integer
                        format: int32
                        description: Maximum Number of Gateway Clients
                      GWADM_ACT_SYS:
                        type: integer
                        format: int32
                        description: Current Number of Gateway Clients
                      GWADM_MAX_GATEWAYS:
                        type: integer
                        format: int32
                        description: Maximum Number of Gateway-to-Gateway Connections
                      GWADM_ACT_GATEWAYS:
                        type: integer
                        format: int32
                        description: Current Number of Gateway-to-Gateway Connections
                      GWADM_MAX_CONN:
                        type: integer
                        format: int32
                        description: Maximum Number of RFC Connections
                      GWADM_ACT_CONN:
                        type: integer
                        format: int32
                        description: Current Number of RFC Connections
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SYSTEM_IDENTITY:
                    type: object
                    properties:
                      SYSTEM_NAME:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SYSTEM_UUID:
                        type: string
                        maxLength: 32
                        description: System ID (e.g. Installation Number)
                  SERVER_GROUP_RESOURCES:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_NAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        HOST_NAME:
                          type: string
                          maxLength: 32
                          description: Name of Application Server
                        IP_ADDRESS:
                          type: string
                          maxLength: 15
                          description: IPv4 Address
                        IPV6_ADDRESS:
                          type: string
                          maxLength: 45
                          description: IP Address
                        SERVICE:
                          type: string
                          maxLength: 20
                          description: Service
                        REQUEST_NUMBER:
                          type: integer
                          format: int32
                          description: Number of Possible Asynchronous RFC Requests
                        MAX_REQUEST_NUMBER:
                          type: integer
                          format: int32
                          description: Number of Possible Asynchronous RFC Requests
                        REASON:
                          type: integer
                          format: int32
                          description: Natural number
                        REASON_EXPLANATION:
                          type: string
                          maxLength: 120
                          description: Reason for Non-Availability of Resources
                        GWADM_VERSION:
                          type: integer
                          format: int32
                          description: Version of Gateway Administration Structure
                        GWADM_STATE:
                          type: integer
                          format: int32
                          description: Gateway Status
                        GWADM_STATESTR:
                          type: string
                          maxLength: 20
                          description: Gateway Status
                        GWADM_START:
                          type: integer
                          format: int32
                          description: Number of Gateway Starts
                        GWADM_OVERFLOW_SIZE:
                          type: integer
                          format: int32
                          description: Gateway Buffer
                        GWADM_ACT_OVERFLOW_SIZE:
                          type: integer
                          format: int32
                          description: Current Usage of Gateway Buffer
                        GWADM_SYNC_OVERFLOW_SIZE:
                          type: integer
                          format: int32
                          description: Synchronization Limit of the Gateway Buffer
                        GWADM_MAX_SYS:
                          type: integer
                          format: int32
                          description: Maximum Number of Gateway Clients
                        GWADM_ACT_SYS:
                          type: integer
                          format: int32
                          description: Current Number of Gateway Clients
                        GWADM_MAX_GATEWAYS:
                          type: integer
                          format: int32
                          description: Maximum Number of Gateway-to-Gateway Connections
                        GWADM_ACT_GATEWAYS:
                          type: integer
                          format: int32
                          description: Current Number of Gateway-to-Gateway Connections
                        GWADM_MAX_CONN:
                          type: integer
                          format: int32
                          description: Maximum Number of RFC Connections
                        GWADM_ACT_CONN:
                          type: integer
                          format: int32
                          description: Current Number of RFC Connections
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
