openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_SXOMS_I_PUSH_ROMS_LOMS:
    post:
      tags:
      - SXIOMS
      operationId: /rfc/RSPO_SXOMS_I_PUSH_ROMS_LOMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOMS:
                  type: object
                  properties:
                    NAME:
                      type: string
                      maxLength: 6
                      description: Logical output management system
                    RNAME:
                      type: string
                      maxLength: 10
                      description: Real output management system
                    DESCR:
                      type: string
                      maxLength: 60
                      description: ROMS/LOMS description
                    CMDSERVER:
                      type: string
                      maxLength: 40
                      description: Instance for executing OMS commands
                    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 configuring OMS (secs)
                    R3FLAGS:
                      type: string
                      maxLength: 60
                      description: SAP Configuration Indicator
                    OMSFLAGS:
                      type: string
                      maxLength: 60
                      description: OMS configuration flag
                    UPDATEFLG:
                      type: string
                      maxLength: 1
                      description: Reconfiguration flag
                    CHGNAME1:
                      type: string
                      maxLength: 12
                      description: 'Spool: changed by'
                    CHGTSTMP1:
                      type: string
                      maxLength: 14
                      description: 'Spool: Time stamp for modification'
                    CHGSAPREL1:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    CHGSAPSYS1:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    CHGNAME2:
                      type: string
                      maxLength: 12
                      description: 'Spool: changed by'
                    CHGTSTMP2:
                      type: string
                      maxLength: 14
                      description: 'Spool: Time stamp for modification'
                    CHGSAPREL2:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    CHGSAPSYS2:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    CHGNAME3:
                      type: string
                      maxLength: 12
                      description: 'Spool: changed by'
                    CHGTSTMP3:
                      type: string
                      maxLength: 14
                      description: 'Spool: Time stamp for modification'
                    CHGSAPREL3:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    CHGSAPSYS3:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                ROMS:
                  type: object
                  properties:
                    NAME:
                      type: string
                      maxLength: 10
                      description: Real output management system
                    DESCR:
                      type: string
                      maxLength: 60
                      description: ROMS/LOMS description
                    STARTINST:
                      type: string
                      maxLength: 40
                      description: Target for callback
                    STARTCMD:
                      type: string
                      maxLength: 132
                      description: Command line model for access method E
                    RECONFIG:
                      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
                    UPDATEFLG:
                      type: string
                      maxLength: 1
                      description: Reconfiguration flag
                    CHGNAME1:
                      type: string
                      maxLength: 12
                      description: 'Spool: changed by'
                    CHGTSTMP1:
                      type: string
                      maxLength: 14
                      description: 'Spool: Time stamp for modification'
                    CHGSAPREL1:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    CHGSAPSYS1:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    CHGNAME2:
                      type: string
                      maxLength: 12
                      description: 'Spool: changed by'
                    CHGTSTMP2:
                      type: string
                      maxLength: 14
                      description: 'Spool: Time stamp for modification'
                    CHGSAPREL2:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    CHGSAPSYS2:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    CHGNAME3:
                      type: string
                      maxLength: 12
                      description: 'Spool: changed by'
                    CHGTSTMP3:
                      type: string
                      maxLength: 14
                      description: 'Spool: Time stamp for modification'
                    CHGSAPREL3:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    CHGSAPSYS3:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                CMDS:
                  type: array
                  items:
                    type: object
                    properties:
                      LNAME:
                        type: string
                        maxLength: 6
                        description: Logical output management system
                      OPSYS:
                        type: string
                        maxLength: 10
                        description: Operating System of Application Server
                      LCMD:
                        type: string
                        maxLength: 6
                        description: Logical command of a LOMS
                      CMD:
                        type: string
                        maxLength: 132
                        description: Command line model for access method E
              required:
              - LOMS
              - ROMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: object
                    properties:
                      DEVICE_NAME:
                        type: string
                        maxLength: 30
                        description: 'Spool: Long device names'
                      ERROR_CODE:
                        type: string
                        maxLength: 3
                        description: 'Error Code for OMS Web Interface  enumValues: 0=No error,1=Not implemented'
                        enum:
                        - '0'
                        - '1'
                      ERROR_DESC:
                        type: string
                        maxLength: 255
                        description: Error Description for OMS Web Interface
                  CMDS:
                    type: array
                    items:
                      type: object
                      properties:
                        LNAME:
                          type: string
                          maxLength: 6
                          description: Logical output management system
                        OPSYS:
                          type: string
                          maxLength: 10
                          description: Operating System of Application Server
                        LCMD:
                          type: string
                          maxLength: 6
                          description: Logical command of a LOMS
                        CMD:
                          type: string
                          maxLength: 132
                          description: Command line model for access method E
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
