openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_XOM_RMGS_QUERY:
    post:
      tags:
      - SXOM
      summary: Query Callback Group
      operationId: /rfc/SXMI_XOM_RMGS_QUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ROMS:
                  type: string
                  maxLength: 10
                REPLY_GROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      RMGID:
                        type: string
                        maxLength: 20
                        description: Callback group ID for external OMS
                      CALLBTRGT:
                        type: string
                        maxLength: 40
                        description: Target for callback
                      JCALLBIV:
                        type: integer
                        format: int64
                        description: Time interval for configuring OMS (secs)
                      JCALLBAMNT:
                        type: integer
                        format: int64
                        description: Number of events to be collected
                      DCALLBIV:
                        type: integer
                        format: int64
                        description: Time interval for configuring OMS (secs)
                      DCALLBAMNT:
                        type: integer
                        format: int64
                        description: Number of events to be collected
                      RETRYIV:
                        type: integer
                        format: int64
                        description: Time interval for a reconnect
                      R3FLAGS:
                        type: string
                        maxLength: 60
                        description: SAP Configuration Indicator
                      OMSFLAGS:
                        type: string
                        maxLength: 60
                        description: OMS configuration flag
              required:
              - ROMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OMSFLAGS:
                    type: string
                    maxLength: 60
                  R3FLAGS:
                    type: string
                    maxLength: 60
                  RECONFIG:
                    type: integer
                    format: int64
                  REPLY_GROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        RMGID:
                          type: string
                          maxLength: 20
                          description: Callback group ID for external OMS
                        CALLBTRGT:
                          type: string
                          maxLength: 40
                          description: Target for callback
                        JCALLBIV:
                          type: integer
                          format: int64
                          description: Time interval for configuring OMS (secs)
                        JCALLBAMNT:
                          type: integer
                          format: int64
                          description: Number of events to be collected
                        DCALLBIV:
                          type: integer
                          format: int64
                          description: Time interval for configuring OMS (secs)
                        DCALLBAMNT:
                          type: integer
                          format: int64
                          description: Number of events to be collected
                        RETRYIV:
                          type: integer
                          format: int64
                          description: Time interval for a reconnect
                        R3FLAGS:
                          type: string
                          maxLength: 60
                          description: SAP Configuration Indicator
                        OMSFLAGS:
                          type: string
                          maxLength: 60
                          description: OMS configuration flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
