openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_ABAP_CLASS_EVENTS:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: Get All ABAP classes events according to the given class
      operationId: /rfc/SWFMOD_GET_ABAP_CLASS_EVENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CLASSNAME:
                  type: string
                  maxLength: 30
                  description: Object Type Name
                ET_EVENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLSNAME:
                        type: string
                        maxLength: 30
                        description: Object Type Name
                      CPDNAME:
                        type: string
                        maxLength: 61
                        description: Full Component Name
                      VERSION:
                        type: integer
                        format: int64
                        description: 'Version indicator (active/inactive)  enumValues: 1=Active,0=Inactive'
                        enum:
                        - '1'
                        - '0'
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 60
                        description: Short description
                      EXPOSURE:
                        type: integer
                        format: int64
                        description: 'Visibility of a class or component  enumValues: 1=Protected,0=Private,2=Public'
                        enum:
                        - '1'
                        - '0'
                        - '2'
                      STATE:
                        type: integer
                        format: int64
                        description: 'Status of a class or component  enumValues: 0=Only modeled,1=Implemented,2=Implemented                 *** obsolete ***'
                        enum:
                        - '0'
                        - '1'
                        - '2'
                      EVTDECLTYP:
                        type: integer
                        format: int64
                        description: 'Event declaration level  enumValues: 0=Instance Event,1=Static Event'
                        enum:
                        - '0'
                        - '1'
                      REFCLSNAME:
                        type: string
                        maxLength: 30
                        description: Object Type Name
                      REFCMPNAME:
                        type: string
                        maxLength: 30
                        description: Component name
                      ORICLSNAME:
                        type: string
                        maxLength: 30
                        description: Object Type Name
                      ORICMPNAME:
                        type: string
                        maxLength: 30
                        description: Component name
                ET_MESSAGE_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
                ET_MESSAGE_STRUCT:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - IV_CLASSNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_HAS_CHANGED:
                    type: string
                    maxLength: 1
                    description: New input values
                  EV_RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ET_EVENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLSNAME:
                          type: string
                          maxLength: 30
                          description: Object Type Name
                        CPDNAME:
                          type: string
                          maxLength: 61
                          description: Full Component Name
                        VERSION:
                          type: integer
                          format: int64
                          description: 'Version indicator (active/inactive)  enumValues: 1=Active,0=Inactive'
                          enum:
                          - '1'
                          - '0'
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 60
                          description: Short description
                        EXPOSURE:
                          type: integer
                          format: int64
                          description: 'Visibility of a class or component  enumValues: 1=Protected,0=Private,2=Public'
                          enum:
                          - '1'
                          - '0'
                          - '2'
                        STATE:
                          type: integer
                          format: int64
                          description: 'Status of a class or component  enumValues: 0=Only modeled,1=Implemented,2=Implemented                 *** obsolete ***'
                          enum:
                          - '0'
                          - '1'
                          - '2'
                        EVTDECLTYP:
                          type: integer
                          format: int64
                          description: 'Event declaration level  enumValues: 0=Instance Event,1=Static Event'
                          enum:
                          - '0'
                          - '1'
                        REFCLSNAME:
                          type: string
                          maxLength: 30
                          description: Object Type Name
                        REFCMPNAME:
                          type: string
                          maxLength: 30
                          description: Component name
                        ORICLSNAME:
                          type: string
                          maxLength: 30
                          description: Object Type Name
                        ORICMPNAME:
                          type: string
                          maxLength: 30
                          description: Component name
                  ET_MESSAGE_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
                  ET_MESSAGE_STRUCT:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
