openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWE_EVENT_DEQUEUE:
    post:
      tags:
      - SWEQ
      operationId: /rfc/SWE_EVENT_DEQUEUE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADMIN_DATA:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    SWITCH_ON:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Event Queue is Activated  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DEL_EVENT:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Delete Events After Delivery  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    QUEUE_KIND:
                      type: integer
                      format: int32
                      description: 'Event Queue: Type of Queueing (Selective, etc.)  enumValues: 0=Selective queueing,1=General queueing (with excluded events)'
                      enum:
                      - '0'
                      - '1'
                    REC_ERROR:
                      type: integer
                      format: int32
                      description: 'Event Queue: Behavior Upon Error Feedback  enumValues: 1=Deactivation of linkage,2=Mark linkage as having errors,3=Do not change linkage'
                      enum:
                      - '1'
                      - '2'
                      - '3'
                    OTYPE:
                      type: string
                      maxLength: 2
                      description: 'Organizational Assignment of Administrator  enumValues: AG=Role,O=Organizational unit,US=User,S=Position,A=Work center,C=Job'
                      enum:
                      - AG
                      - O
                      - US
                      - S
                      - A
                      - C
                    OBJID:
                      type: string
                      maxLength: 132
                      description: Identification of Administrator
                    ADMINUSER:
                      type: string
                      maxLength: 12
                      description: User Name in User Master Record
                    RETRY_ERR:
                      type: integer
                      format: int64
                      description: Number of Retries After Temporaray Errors
                JOBNAME:
                  type: string
                  default: SWEQSRV
                  maxLength: 32
                JOB_DATA:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    JOBNAME:
                      type: string
                      maxLength: 32
                      description: Background job name
                    PROGNAME:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    JOBKIND:
                      type: integer
                      format: int32
                      description: 'Operation Mode of Background Job  enumValues: 0=Periodic,1=Depending on load (dynamic)'
                      enum:
                      - '0'
                      - '1'
                    CHUNK_SZ:
                      type: integer
                      format: int32
                      description: Number of events to be read per read access
                    DEQUE_DL:
                      type: integer
                      format: int64
                      description: Time interval between read accesses
                    WATCH_DL:
                      type: integer
                      format: int64
                      description: Interval until event queue next checked
                    DELIVER:
                      type: string
                      maxLength: 1
                      description: 'Event Queue: Type of Event Delivery  enumValues: T=Sequential determination / Asynchronous delivery,A=Parallel determination / Synchronous delivery,""=Sequential determination / Synchronous delivery'
                      enum:
                      - T
                      - A
                      - ''
                    SRVGRP:
                      type: string
                      maxLength: 20
                      description: Server group
                RESPECT_DELIVER_TIME:
                  type: string
                  default: ' '
                  maxLength: 1
                SINGLE_EVENT:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    EVT_GUID:
                      type: string
                      maxLength: 32
                      description: Event GUID
                    EVENT_ID:
                      type: integer
                      format: int64
                      description: ID of an event instance
                    TSTAMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    EVENT:
                      type: string
                      maxLength: 32
                      description: Event
                    OBJTYPE:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Object key
                    RECTYPE:
                      type: string
                      maxLength: 32
                      description: Name of Receiver Type
                    RECID:
                      type: string
                      maxLength: 90
                      description: Receiver ID
                    RECFB:
                      type: string
                      maxLength: 30
                      description: Name of Receiver Function Module
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Name of logical RFC destination
                    URGENCY:
                      type: integer
                      format: int64
                      description: 'Urgency of event  enumValues: 2=High,4=Low,3=Medium,1=Highest - Express,0=Default'
                      enum:
                      - '2'
                      - '4'
                      - '3'
                      - '1'
                      - '0'
                    TESTING:
                      type: string
                      maxLength: 1
                      description: 'Test event  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    CONT_EXIST:
                      type: string
                      maxLength: 1
                      description: Event container contains individually entered elements
                    DELIVERED:
                      type: string
                      maxLength: 1
                      description: 'Flag showing whether event already delivered  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    STATUS:
                      type: integer
                      format: int32
                      description: 'Event Queue: Status of an Event in the Queue  enumValues: 0=Ready,5=Delivered,10=Waiting because of error,3=In process'
                      enum:
                      - '0'
                      - '5'
                      - '10'
                      - '3'
                    RETRIED:
                      type: integer
                      format: int64
                      description: Number of unsuccessful delivery attempts
                    CREA_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    CREA_TIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    CREA_STMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    OTYPE:
                      type: string
                      maxLength: 2
                      description: Object Type
                    OBJID:
                      type: string
                      maxLength: 12
                      description: Agent ID in Organizational Management
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                    COBJTYPE:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    REQUESTER:
                      type: string
                      maxLength: 104
                      description: 'Event Queue: Identification of Requester'
                    RETRY_ERR:
                      type: integer
                      format: int64
                      description: Number of Delivery Attempts After Temporary Errors
                    OBJCATEG:
                      type: string
                      maxLength: 2
                      description: 'Object Type Category  enumValues: BO=BOR Object Type,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                      enum:
                      - BO
                      - BC
                      - XC
                      - CL
                    RECMODE:
                      type: string
                      maxLength: 1
                      description: 'Indicator for Event Handler  enumValues: ""=Function Module,M=Method'
                      enum:
                      - ''
                      - M
                    RECCLASS:
                      type: string
                      maxLength: 30
                      description: Class Name of Handler
                    RECINTERF:
                      type: string
                      maxLength: 30
                      description: Interface Name of Handler
                    RECMETH:
                      type: string
                      maxLength: 30
                      description: Name of Handler Method
                    RECMETYP:
                      type: string
                      maxLength: 1
                      description: 'Method Type  enumValues: I=Generic Instance Method,""=Generic Static Method'
                      enum:
                      - I
                      - ''
                    RECFBTYP:
                      type: string
                      maxLength: 1
                      description: 'Type of Receiver Function Module  enumValues: ""=Standard (BOR) Receiver Module,1=Receiver with References'
                      enum:
                      - ''
                      - '1'
                    DESTTYP:
                      type: string
                      maxLength: 1
                      description: 'Type for Call Destination  enumValues: ""=RFC destination'
                      enum:
                      - ''
                    RECCATEG:
                      type: string
                      maxLength: 2
                      description: 'Object Category  enumValues: BO=BOR Object Type,NN=Not Defined,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                      enum:
                      - BO
                      - NN
                      - BC
                      - XC
                      - CL
                    RECTYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    DELIV_STMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                SINGLE_IS_VALID:
                  type: string
                  default: ' '
                  maxLength: 1
                TABLE_IS_VALID:
                  type: string
                  default: ' '
                  maxLength: 1
                IT_EVENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      EVT_GUID:
                        type: string
                        maxLength: 32
                        description: Event GUID
                      EVENT_ID:
                        type: integer
                        format: int64
                        description: ID of an event instance
                      TSTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      EVENT:
                        type: string
                        maxLength: 32
                        description: Event
                      OBJTYPE:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      RECTYPE:
                        type: string
                        maxLength: 32
                        description: Name of Receiver Type
                      RECID:
                        type: string
                        maxLength: 90
                        description: Receiver ID
                      RECFB:
                        type: string
                        maxLength: 30
                        description: Name of Receiver Function Module
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Name of logical RFC destination
                      URGENCY:
                        type: integer
                        format: int64
                        description: 'Urgency of event  enumValues: 2=High,4=Low,3=Medium,1=Highest - Express,0=Default'
                        enum:
                        - '2'
                        - '4'
                        - '3'
                        - '1'
                        - '0'
                      TESTING:
                        type: string
                        maxLength: 1
                        description: 'Test event  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CONT_EXIST:
                        type: string
                        maxLength: 1
                        description: Event container contains individually entered elements
                      DELIVERED:
                        type: string
                        maxLength: 1
                        description: 'Flag showing whether event already delivered  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      STATUS:
                        type: integer
                        format: int32
                        description: 'Event Queue: Status of an Event in the Queue  enumValues: 0=Ready,5=Delivered,10=Waiting because of error,3=In process'
                        enum:
                        - '0'
                        - '5'
                        - '10'
                        - '3'
                      RETRIED:
                        type: integer
                        format: int64
                        description: Number of unsuccessful delivery attempts
                      CREA_DATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CREA_TIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      CREA_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 12
                        description: Agent ID in Organizational Management
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      COBJTYPE:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      REQUESTER:
                        type: string
                        maxLength: 104
                        description: 'Event Queue: Identification of Requester'
                      RETRY_ERR:
                        type: integer
                        format: int64
                        description: Number of Delivery Attempts After Temporary Errors
                      OBJCATEG:
                        type: string
                        maxLength: 2
                        description: 'Object Type Category  enumValues: BO=BOR Object Type,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                        enum:
                        - BO
                        - BC
                        - XC
                        - CL
                      RECMODE:
                        type: string
                        maxLength: 1
                        description: 'Indicator for Event Handler  enumValues: ""=Function Module,M=Method'
                        enum:
                        - ''
                        - M
                      RECCLASS:
                        type: string
                        maxLength: 30
                        description: Class Name of Handler
                      RECINTERF:
                        type: string
                        maxLength: 30
                        description: Interface Name of Handler
                      RECMETH:
                        type: string
                        maxLength: 30
                        description: Name of Handler Method
                      RECMETYP:
                        type: string
                        maxLength: 1
                        description: 'Method Type  enumValues: I=Generic Instance Method,""=Generic Static Method'
                        enum:
                        - I
                        - ''
                      RECFBTYP:
                        type: string
                        maxLength: 1
                        description: 'Type of Receiver Function Module  enumValues: ""=Standard (BOR) Receiver Module,1=Receiver with References'
                        enum:
                        - ''
                        - '1'
                      DESTTYP:
                        type: string
                        maxLength: 1
                        description: 'Type for Call Destination  enumValues: ""=RFC destination'
                        enum:
                        - ''
                      RECCATEG:
                        type: string
                        maxLength: 2
                        description: 'Object Category  enumValues: BO=BOR Object Type,NN=Not Defined,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                        enum:
                        - BO
                        - NN
                        - BC
                        - XC
                        - CL
                      RECTYPEID:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      DELIV_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_EVENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        EVT_GUID:
                          type: string
                          maxLength: 32
                          description: Event GUID
                        EVENT_ID:
                          type: integer
                          format: int64
                          description: ID of an event instance
                        TSTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        EVENT:
                          type: string
                          maxLength: 32
                          description: Event
                        OBJTYPE:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        RECTYPE:
                          type: string
                          maxLength: 32
                          description: Name of Receiver Type
                        RECID:
                          type: string
                          maxLength: 90
                          description: Receiver ID
                        RECFB:
                          type: string
                          maxLength: 30
                          description: Name of Receiver Function Module
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Name of logical RFC destination
                        URGENCY:
                          type: integer
                          format: int64
                          description: 'Urgency of event  enumValues: 2=High,4=Low,3=Medium,1=Highest - Express,0=Default'
                          enum:
                          - '2'
                          - '4'
                          - '3'
                          - '1'
                          - '0'
                        TESTING:
                          type: string
                          maxLength: 1
                          description: 'Test event  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CONT_EXIST:
                          type: string
                          maxLength: 1
                          description: Event container contains individually entered elements
                        DELIVERED:
                          type: string
                          maxLength: 1
                          description: 'Flag showing whether event already delivered  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        STATUS:
                          type: integer
                          format: int32
                          description: 'Event Queue: Status of an Event in the Queue  enumValues: 0=Ready,5=Delivered,10=Waiting because of error,3=In process'
                          enum:
                          - '0'
                          - '5'
                          - '10'
                          - '3'
                        RETRIED:
                          type: integer
                          format: int64
                          description: Number of unsuccessful delivery attempts
                        CREA_DATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        CREA_TIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        CREA_STMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 12
                          description: Agent ID in Organizational Management
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        COBJTYPE:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        REQUESTER:
                          type: string
                          maxLength: 104
                          description: 'Event Queue: Identification of Requester'
                        RETRY_ERR:
                          type: integer
                          format: int64
                          description: Number of Delivery Attempts After Temporary Errors
                        OBJCATEG:
                          type: string
                          maxLength: 2
                          description: 'Object Type Category  enumValues: BO=BOR Object Type,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                          enum:
                          - BO
                          - BC
                          - XC
                          - CL
                        RECMODE:
                          type: string
                          maxLength: 1
                          description: 'Indicator for Event Handler  enumValues: ""=Function Module,M=Method'
                          enum:
                          - ''
                          - M
                        RECCLASS:
                          type: string
                          maxLength: 30
                          description: Class Name of Handler
                        RECINTERF:
                          type: string
                          maxLength: 30
                          description: Interface Name of Handler
                        RECMETH:
                          type: string
                          maxLength: 30
                          description: Name of Handler Method
                        RECMETYP:
                          type: string
                          maxLength: 1
                          description: 'Method Type  enumValues: I=Generic Instance Method,""=Generic Static Method'
                          enum:
                          - I
                          - ''
                        RECFBTYP:
                          type: string
                          maxLength: 1
                          description: 'Type of Receiver Function Module  enumValues: ""=Standard (BOR) Receiver Module,1=Receiver with References'
                          enum:
                          - ''
                          - '1'
                        DESTTYP:
                          type: string
                          maxLength: 1
                          description: 'Type for Call Destination  enumValues: ""=RFC destination'
                          enum:
                          - ''
                        RECCATEG:
                          type: string
                          maxLength: 2
                          description: 'Object Category  enumValues: BO=BOR Object Type,NN=Not Defined,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                          enum:
                          - BO
                          - NN
                          - BC
                          - XC
                          - CL
                        RECTYPEID:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        DELIV_STMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
