openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ICM_GET_INFO2:
    post:
      tags:
      - SICM
      operationId: /rfc/ICM_GET_INFO2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SERVLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Displays If the Service is Active
                      PROTOCOL:
                        type: integer
                        format: int32
                        description: Internet Protocol ID
                      KEEPALIVE:
                        type: integer
                        format: int32
                        description: Time Period for Keepalive
                      PROC_TIMEOUT:
                        type: integer
                        format: int32
                        description: Maximum Processing Time in Backend
                      VCLIENT:
                        type: integer
                        format: int32
                        description: SSL Client Verification
                      VIRT_HOST_IDX:
                        type: integer
                        format: int32
                        description: Virtual Host Index
                      SERVICE:
                        type: string
                        maxLength: 32
                        description: ICM Service Name or Port Number
                      HOSTNAME:
                        type: string
                        maxLength: 128
                        description: Host Name
                      EXTBIND:
                        type: string
                        maxLength: 1
                        description: Use External Binding Program
                THRLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      THR_STAT:
                        type: string
                        format: byte
                        description: Status of thread
                      REQ_TYPE:
                        type: string
                        format: byte
                        description: Request type
                      REQ_COUNT:
                        type: integer
                        format: int32
                        description: No. of requests
                      CONN:
                        type: integer
                        format: int32
                        description: Connection Identifier
                      GUID:
                        type: integer
                        format: int32
                        description: GUID for the Connection Identifier
                      THR_ID:
                        type: string
                        maxLength: 16
                        description: System-Specific Thread ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_DATA:
                    type: object
                    properties:
                      STATUS:
                        type: integer
                        format: int32
                        description: Status of ICMN
                      TRACE_LVL:
                        type: integer
                        format: int32
                        description: Information to be counted
                      MAX_THR:
                        type: integer
                        format: int32
                        description: Information to be counted
                      PEEK_THR:
                        type: integer
                        format: int32
                        description: Information to be counted
                      CUR_THR:
                        type: integer
                        format: int32
                        description: Information to be counted
                      MAX_CONN:
                        type: integer
                        format: int32
                        description: Information to be counted
                      PEEK_CONN:
                        type: integer
                        format: int32
                        description: Information to be counted
                      CUR_CONN:
                        type: integer
                        format: int32
                        description: Information to be counted
                      MAX_QUEUE:
                        type: integer
                        format: int32
                        description: Information to be counted
                      PEEK_QUEUE:
                        type: integer
                        format: int32
                        description: Information to be counted
                      CUR_QUEUE:
                        type: integer
                        format: int32
                        description: Information to be counted
                  SERVLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Displays If the Service is Active
                        PROTOCOL:
                          type: integer
                          format: int32
                          description: Internet Protocol ID
                        KEEPALIVE:
                          type: integer
                          format: int32
                          description: Time Period for Keepalive
                        PROC_TIMEOUT:
                          type: integer
                          format: int32
                          description: Maximum Processing Time in Backend
                        VCLIENT:
                          type: integer
                          format: int32
                          description: SSL Client Verification
                        VIRT_HOST_IDX:
                          type: integer
                          format: int32
                          description: Virtual Host Index
                        SERVICE:
                          type: string
                          maxLength: 32
                          description: ICM Service Name or Port Number
                        HOSTNAME:
                          type: string
                          maxLength: 128
                          description: Host Name
                        EXTBIND:
                          type: string
                          maxLength: 1
                          description: Use External Binding Program
                  THRLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        THR_STAT:
                          type: string
                          format: byte
                          description: Status of thread
                        REQ_TYPE:
                          type: string
                          format: byte
                          description: Request type
                        REQ_COUNT:
                          type: integer
                          format: int32
                          description: No. of requests
                        CONN:
                          type: integer
                          format: int32
                          description: Connection Identifier
                        GUID:
                          type: integer
                          format: int32
                          description: GUID for the Connection Identifier
                        THR_ID:
                          type: string
                          maxLength: 16
                          description: System-Specific Thread ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
