openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWE_TASK_TERM_EVENT_LINKS_GET:
    post:
      tags:
      - SWEH
      operationId: /rfc/SWE_TASK_TERM_EVENT_LINKS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_CLIENTS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: All Clients
                TASK:
                  type: string
                  maxLength: 14
                WI_LINKS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      RECINSTNUM:
                        type: integer
                        format: int64
                        description: Sequence Number of Instance Linkage
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      EVENT:
                        type: string
                        maxLength: 32
                        description: Event
                      RECTYPE:
                        type: string
                        maxLength: 14
                        description: Name of Receiver Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      RECID:
                        type: string
                        maxLength: 90
                        description: Receiver ID
                      RECINDEX:
                        type: integer
                        format: int64
                        description: Field for free index over RECID (uses WI_ID, for example)
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
              required:
              - TASK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WI_LINKS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        RECINSTNUM:
                          type: integer
                          format: int64
                          description: Sequence Number of Instance Linkage
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        EVENT:
                          type: string
                          maxLength: 32
                          description: Event
                        RECTYPE:
                          type: string
                          maxLength: 14
                          description: Name of Receiver Type
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        RECID:
                          type: string
                          maxLength: 90
                          description: Receiver ID
                        RECINDEX:
                          type: integer
                          format: int64
                          description: Field for free index over RECID (uses WI_ID, for example)
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
